Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test gcc versions 11 and 12 and llvm version 17 and 18 #541

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
302 changes: 230 additions & 72 deletions .github/workflows/build_and_test.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion toolchains/aarch64-gcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "aarch64")

SET(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu /usr/include/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu /lib/aarch64-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES aarch64-linux-gnu-gcc-11 aarch64-linux-gnu-gcc-8 aarch64-linux-gnu-gcc-7 aarch64-linux-gnu-gcc-6 aarch64-linux-gnu-gcc-5 aarch64-linux-gnu-gcc)
find_program(CMAKE_C_COMPILER NAMES aarch64-linux-gnu-gcc-12 aarch64-linux-gnu-gcc-11 aarch64-linux-gnu-gcc-8 aarch64-linux-gnu-gcc-7 aarch64-linux-gnu-gcc-6 aarch64-linux-gnu-gcc-5 aarch64-linux-gnu-gcc)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/aarch64-llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "aarch64")

SET(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu /usr/include/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu /lib/aarch64-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES clang-17 clang-16 clang-15 clang-14 clang-13 clang)
find_program(CMAKE_C_COMPILER NAMES clang-18 clang-17 clang-16 clang-15 clang-14 clang-13 clang)
set(CMAKE_C_COMPILER_TARGET aarch64-linux-gnu)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/armhf-gcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "armhf")

SET(CMAKE_FIND_ROOT_PATH /usr/arm-linux-gnueabihf /usr/include/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf)

find_program(CMAKE_C_COMPILER NAMES arm-linux-gnueabihf-gcc-11 arm-linux-gnueabihf-gcc-8 arm-linux-gnueabihf-gcc-7 arm-linux-gnueabihf-gcc-6 arm-linux-gnueabihf-gcc-5 arm-linux-gnueabihf-gcc)
find_program(CMAKE_C_COMPILER NAMES arm-linux-gnueabihf-gcc-12 arm-linux-gnueabihf-gcc-11 arm-linux-gnueabihf-gcc-8 arm-linux-gnueabihf-gcc-7 arm-linux-gnueabihf-gcc-6 arm-linux-gnueabihf-gcc-5 arm-linux-gnueabihf-gcc)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/armhf-llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "armhf")

SET(CMAKE_FIND_ROOT_PATH /usr/arm-linux-gnueabihf /usr/include/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf)

find_program(CMAKE_C_COMPILER NAMES clang-17 clang-16 clang-15 clang-14 clang-13 clang)
find_program(CMAKE_C_COMPILER NAMES clang-18 clang-17 clang-16 clang-15 clang-14 clang-13 clang)
set(CMAKE_C_COMPILER_TARGET arm-linux-gnueabihf)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/native-llvm.cmake
Original file line number Diff line number Diff line change
@@ -1 +1 @@
find_program(CMAKE_C_COMPILER NAMES clang-17 clang-16 clang-15 clang-14 clang-13 clang)
find_program(CMAKE_C_COMPILER NAMES clang-18 clang-17 clang-16 clang-15 clang-14 clang-13 clang)
2 changes: 1 addition & 1 deletion toolchains/ppc64el-gcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "ppc64")

SET(CMAKE_FIND_ROOT_PATH /usr/powerpc64le-linux-gnu /usr/include/powerpc64le-linux-gnu /usr/lib/powerpc64le-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES powerpc64le-linux-gnu-gcc-11 powerpc64le-linux-gnu-gcc ppc64el-cc)
find_program(CMAKE_C_COMPILER NAMES powerpc64le-linux-gnu-gcc-12 powerpc64le-linux-gnu-gcc-11 powerpc64le-linux-gnu-gcc ppc64el-cc)

SET(CMAKE_AR /usr/powerpc64le-linux-gnu/bin/ar)

Expand Down
2 changes: 1 addition & 1 deletion toolchains/ppc64el-llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "ppc64")

SET(CMAKE_FIND_ROOT_PATH /usr/powerpc64le-linux-gnu /usr/include/powerpc64le-linux-gnu /usr/lib/powerpc64le-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES clang-17 clang-16 clang-15 clang-14 clang-13 clang)
find_program(CMAKE_C_COMPILER NAMES clang-18 clang-17 clang-16 clang-15 clang-14 clang-13 clang)
set(CMAKE_C_COMPILER_TARGET powerpc64le-linux-gnu)

SET(CMAKE_AR /usr/powerpc64le-linux-gnu/bin/ar)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/riscv64-llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "riscv64")

SET(CMAKE_FIND_ROOT_PATH /usr/riscv64-linux-gnu /usr/include/riscv64-linux-gnu /usr/lib/riscv64-linux-gnu /lib/riscv64-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES clang-17 clang)
find_program(CMAKE_C_COMPILER NAMES clang-18 clang-17 clang)
set(CMAKE_C_COMPILER_TARGET riscv64-linux-gnu)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/s390x-gcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "s390x")

SET(CMAKE_FIND_ROOT_PATH /usr/s390x-linux-gnu /usr/include/s390x-linux-gnu /usr/lib/s390x-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES s390x-linux-gnu-gcc-11 s390x-linux-gnu-gcc)
find_program(CMAKE_C_COMPILER NAMES s390x-linux-gnu-gcc-12 s390x-linux-gnu-gcc-11 s390x-linux-gnu-gcc)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/s390x-llvm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SET (CMAKE_SYSTEM_PROCESSOR "s390x")

SET(CMAKE_FIND_ROOT_PATH /usr/s390x-linux-gnu /usr/include/s390x-linux-gnu /usr/lib/s390x-linux-gnu)

find_program(CMAKE_C_COMPILER NAMES clang-17 clang-16 clang-15 clang-14 clang-13 clang)
find_program(CMAKE_C_COMPILER NAMES clang-18 clang-17 clang-16 clang-15 clang-14 clang-13 clang)
set(CMAKE_C_COMPILER_TARGET s390x-linux-gnu)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
Expand Down
Loading