mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 21:24:41 +02:00
commit
0a93beaa29
3
.github/workflows/deb.yml
vendored
3
.github/workflows/deb.yml
vendored
@ -24,6 +24,9 @@ jobs:
|
|||||||
- name: debian
|
- name: debian
|
||||||
codename: stretch
|
codename: stretch
|
||||||
has32bit: true
|
has32bit: true
|
||||||
|
- name: ubuntu
|
||||||
|
codename: impish
|
||||||
|
has32bit: false
|
||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
codename: hirsute
|
codename: hirsute
|
||||||
has32bit: false
|
has32bit: false
|
||||||
|
5
.github/workflows/raspbian.yml
vendored
5
.github/workflows/raspbian.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
codename:
|
codename:
|
||||||
- buster
|
- buster
|
||||||
|
- bullseye
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -33,6 +34,10 @@ jobs:
|
|||||||
- name: qemu-user-static
|
- name: qemu-user-static
|
||||||
run: |
|
run: |
|
||||||
set -exo pipefail
|
set -exo pipefail
|
||||||
|
. /etc/os-release
|
||||||
|
if [ "$VERSION_ID" = 20.04 ]; then
|
||||||
|
sudo perl -pi -e s/focal/impish/g /etc/apt/sources.list
|
||||||
|
fi
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y qemu-user-static
|
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y qemu-user-static
|
||||||
|
|
||||||
|
8
.github/workflows/rpm.yml
vendored
8
.github/workflows/rpm.yml
vendored
@ -20,15 +20,15 @@ jobs:
|
|||||||
- name: centos
|
- name: centos
|
||||||
release: 7
|
release: 7
|
||||||
- name: fedora
|
- name: fedora
|
||||||
release: 34
|
release: 35
|
||||||
- name: fedora
|
- name: fedora
|
||||||
release: 33
|
release: 34
|
||||||
- name: sles
|
- name: sles
|
||||||
release: '15.2'
|
release: '15.3'
|
||||||
- name: sles
|
- name: sles
|
||||||
release: '12.5'
|
release: '12.5'
|
||||||
- name: opensuse
|
- name: opensuse
|
||||||
release: '15.2'
|
release: '15.3'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -432,10 +432,7 @@ if(NOT MSVC)
|
|||||||
# ARM settings
|
# ARM settings
|
||||||
if("${ARCH}" STREQUAL "arm")
|
if("${ARCH}" STREQUAL "arm")
|
||||||
check_cxx_source_compiles( "include <atomic>; int main(){ std::atomic<uint_fast64_t> x; x.fetch_add(1); x.sub_add(1); }" CXX_ATOMIC)
|
check_cxx_source_compiles( "include <atomic>; int main(){ std::atomic<uint_fast64_t> x; x.fetch_add(1); x.sub_add(1); }" CXX_ATOMIC)
|
||||||
|
link_libraries(atomic)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -latomic")
|
|
||||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -latomic")
|
|
||||||
set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} -latomic")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user