Skip to content

Commit fedb022

Browse files
committed
gh-actions clang-qemu: test versions 21 & 22 for loong64 with -ffast-math
1 parent aaa9784 commit fedb022

File tree

4 files changed

+76
-0
lines changed

4 files changed

+76
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,19 @@ jobs:
687687
distro: ubuntu-24.04
688688
- version: 21
689689
cross: loongarch64
690+
extra: -fastmath
691+
arch_deb: loong64
692+
arch_gnu: loongarch64
693+
distro: ubuntu-24.04
694+
- version: 21
695+
cross: loongarch64
696+
extra: -fastmath
697+
arch_deb: loong64
698+
arch_gnu: loongarch64
699+
distro: ubuntu-24.04
700+
- version: 22
701+
cross: loongarch64
702+
extra: -fastmath
690703
arch_deb: loong64
691704
arch_gnu: loongarch64
692705
distro: ubuntu-24.04
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[binaries]
2+
c = ['ccache', 'clang-20']
3+
cpp = ['ccache', 'clang++-20']
4+
ar = 'llvm-ar-20'
5+
strip = 'llvm-strip-20'
6+
objcopy = 'llvm-objcopy-20'
7+
c_ld = 'lld'
8+
cpp_ld = 'lld'
9+
exe_wrapper = ['qemu-loongarch64-static', '-L', '/usr/loongarch64-linux-gnu/', '-cpu', 'la464']
10+
11+
[properties]
12+
c_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx', '-O3', '-ffast-math', '-Wno-nan-infinity-disabled']
13+
cpp_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx', '-O3', '-ffast-math', '-Wno-nan-infinity-disabled']
14+
c_link_args = ['--target=loongarch64-linux-gnu']
15+
cpp_link_args = ['--target=loongarch64-linux-gnu']
16+
17+
[host_machine]
18+
system = 'linux'
19+
cpu_family = 'loongarch64'
20+
cpu = 'la464'
21+
endian = 'little'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[binaries]
2+
c = ['ccache', 'clang-21']
3+
cpp = ['ccache', 'clang++-21']
4+
ar = 'llvm-ar-21'
5+
strip = 'llvm-strip-21'
6+
objcopy = 'llvm-objcopy-21'
7+
c_ld = 'lld'
8+
cpp_ld = 'lld'
9+
exe_wrapper = ['qemu-loongarch64-static', '-L', '/usr/loongarch64-linux-gnu/', '-cpu', 'la464']
10+
11+
[properties]
12+
c_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx', '-O3', '-ffast-math', '-Wno-nan-infinity-disabled']
13+
cpp_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx', '-O3', '-ffast-math', '-Wno-nan-infinity-disabled']
14+
c_link_args = ['--target=loongarch64-linux-gnu']
15+
cpp_link_args = ['--target=loongarch64-linux-gnu']
16+
17+
[host_machine]
18+
system = 'linux'
19+
cpu_family = 'loongarch64'
20+
cpu = 'la464'
21+
endian = 'little'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[binaries]
2+
c = ['ccache', 'clang-22']
3+
cpp = ['ccache', 'clang++-22']
4+
ar = 'llvm-ar-22'
5+
strip = 'llvm-strip-22'
6+
objcopy = 'llvm-objcopy-22'
7+
c_ld = 'lld'
8+
cpp_ld = 'lld'
9+
exe_wrapper = ['qemu-loongarch64-static', '-L', '/usr/loongarch64-linux-gnu/', '-cpu', 'la464']
10+
11+
[properties]
12+
c_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx', '-O3', '-ffast-math', '-Wno-nan-infinity-disabled']
13+
cpp_args = ['--target=loongarch64-linux-gnu', '-march=la464', '-isystem=/usr/loongarch64-linux-gnu/include', '-Wextra', '-Werror', '-mlsx', '-mlasx', '-O3', '-ffast-math', '-Wno-nan-infinity-disabled']
14+
c_link_args = ['--target=loongarch64-linux-gnu']
15+
cpp_link_args = ['--target=loongarch64-linux-gnu']
16+
17+
[host_machine]
18+
system = 'linux'
19+
cpu_family = 'loongarch64'
20+
cpu = 'la464'
21+
endian = 'little'

0 commit comments

Comments
 (0)