Skip to content

Commit b3f9306

Browse files
committed
gh-actions: upgrade to clang-17, as the savoury1 ppa no longer provides clang-16
1 parent 14311d6 commit b3f9306

8 files changed

+152
-12
lines changed

.github/workflows/ci.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -401,34 +401,34 @@ jobs:
401401
fail-fast: false
402402
matrix:
403403
include:
404-
- version: 16
404+
- version: 17
405405
cross: armv7
406406
arch_deb: armhf
407407
arch_gnu_abi: eabihf
408408
arch_gnu: arm
409409
distro: ubuntu-22.04
410-
- version: 16
410+
- version: 17
411411
cross: aarch64
412412
arch_gnu: aarch64
413413
arch_deb: arm64
414414
distro: ubuntu-22.04
415-
- version: 16
415+
- version: 17
416416
cross: armel
417417
arch_gnu_abi: eabi
418418
arch_deb: armel
419419
arch_gnu: arm
420420
distro: ubuntu-22.04
421-
- version: 16
421+
- version: 17
422422
cross: riscv64
423423
arch_gnu: riscv64
424424
arch_deb: riscv64
425425
distro: ubuntu-22.04
426-
# - version: 16
427-
# cross: s390x
428-
# arch_gnu: s390x
429-
# arch_deb: s390x
430-
# distro: ubuntu-22.04
431-
- version: 16
426+
- version: 17
427+
cross: s390x
428+
arch_gnu: s390x
429+
arch_deb: s390x
430+
distro: ubuntu-22.04
431+
- version: 17
432432
cross: ppc64el
433433
arch_deb: ppc64el
434434
arch_gnu: powerpc64le
@@ -517,10 +517,10 @@ jobs:
517517
distro: ubuntu-22.04
518518
arch_flags: -ffast-math
519519
ccache: 'true'
520-
- version: "16"
520+
- version: "17"
521521
distro: ubuntu-22.04
522522
arch_flags: -march=native -Wno-unsafe-buffer-usage
523-
- version: "16"
523+
- version: "17"
524524
distro: ubuntu-22.04
525525
arch_flags: -ffast-math -Wno-unsafe-buffer-usage
526526
ccache: 'true'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-aarch64-static', '-L', '/usr/aarch64-linux-gnu']
9+
10+
[properties]
11+
c_args = ['--target=aarch64-linux-gnu', '-march=armv8-a+simd+crypto+crc+bf16', '-isystem=/usr/aarch64-linux-gnu/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=aarch64-linux-gnu', '-march=armv8-a+simd+crypto+crc+bf16', '-isystem=/usr/aarch64-linux-gnu/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=aarch64-linux-gnu']
14+
cpp_link_args = ['--target=aarch64-linux-gnu']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 'aarch64'
19+
cpu = 'arm64'
20+
endian = 'little'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-arm-static', '-L', '/usr/arm-linux-gnueabi']
9+
10+
[properties]
11+
c_args = ['--target=arm-linux-gnueabi', '-isystem=/usr/arm-linux-gnueabi/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=arm-linux-gnueabi', '-isystem=/usr/arm-linux-gnueabi/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=arm-linux-gnueabi']
14+
cpp_link_args = ['--target=arm-linux-gnueabi']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 'arm'
19+
cpu = 'generic'
20+
endian = 'little'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-arm-static', '-L', '/usr/arm-linux-gnueabihf']
9+
10+
[properties]
11+
c_args = ['--target=arm-linux-gnueabihf', '-march=armv7-a', '-mfpu=neon', '-isystem=/usr/arm-linux-gnueabihf/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=arm-linux-gnueabihf', '-march=armv7-a', '-mfpu=neon', '-isystem=/usr/arm-linux-gnueabihf/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=arm-linux-gnueabihf']
14+
cpp_link_args = ['--target=arm-linux-gnueabihf']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 'arm'
19+
cpu = 'armv8-a'
20+
endian = 'little'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-mips64el-static', '-cpu', 'Loongson-3A4000', '-L', '/usr/mips64el-linux-gnuabi64']
9+
10+
[properties]
11+
c_args = ['--target=mips64el-linux-gnuabi64', '-march=mips64r5', '-mmsa', '-isystem=/usr/mips64el-linux-gnuabi64/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=mips64el-linux-gnuabi64', '-march=mips64r5', '-mmsa', '-isystem=/usr/mips64el-linux-gnuabi64/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=mips64el-linux-gnuabi64']
14+
cpp_link_args = ['--target=mips64el-linux-gnuabi64']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 'mips64el'
19+
cpu = 'mips64el'
20+
endian = 'little'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-ppc64le-static', '-L', '/usr/powerpc64le-linux-gnu/']
9+
10+
[properties]
11+
c_args = ['--target=powerpc64le-linux-gnu', '-isystem=/usr/powerpc64le-linux-gnu/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-deprecated-altivec-src-compat', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=powerpc64le-linux-gnu', '-isystem=/usr/powerpc64le-linux-gnu/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-deprecated-altivec-src-compat', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=powerpc64le-linux-gnu']
14+
cpp_link_args = ['--target=powerpc64le-linux-gnu']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 'ppc64'
19+
cpu = 'ppc64el'
20+
endian = 'little'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-riscv64-static', '-L', '/usr/riscv64-linux-gnu/']
9+
10+
[properties]
11+
c_args = ['--target=riscv64-linux-gnu', '-isystem=/usr/riscv64-linux-gnu/include', '-Wextra', '-Werror', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=riscv64-linux-gnu', '-isystem=/usr/riscv64-linux-gnu/include', '-Wextra', '-Werror', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=riscv64-linux-gnu']
14+
cpp_link_args = ['--target=riscv64-linux-gnu']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 'riscv64'
19+
cpu = 'riscv64'
20+
endian = 'little'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[binaries]
2+
c = ['ccache', 'clang-17']
3+
cpp = ['ccache', 'clang++-17']
4+
ar = 'llvm-ar-17'
5+
strip = 'llvm-strip-17'
6+
objcopy = 'llvm-objcopy-17'
7+
ld = 'llvm-ld-17'
8+
exe_wrapper = ['qemu-s390x-static', '-L', '/usr/s390x-linux-gnu/']
9+
10+
[properties]
11+
c_args = ['--target=s390x-ibm-linux', '-mpcu=z196', '-isystem=/usr/s390x-linux-gnu/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
12+
cpp_args = ['--target=s390x-ibm-linux', '-mpcu=z196', '-isystem=/usr/s390x-linux-gnu/include', '-Weverything', '-fno-lax-vector-conversions', '-Werror', '-Wno-unsafe-buffer-usage']
13+
c_link_args = ['--target=s390x-ibm-linux']
14+
cpp_link_args = ['--target=s390x-ibm-linux']
15+
16+
[host_machine]
17+
system = 'linux'
18+
cpu_family = 's390x'
19+
cpu = 's390x'
20+
endian = 'big'

0 commit comments

Comments
 (0)