|
1 | 1 | # RISC-V RVV cross-compilation build (Ubuntu apt qemu, multi-compiler matrix). |
2 | 2 | # |
3 | | -# vlen=128 is intentionally NOT covered here. Ubuntu's qemu-user-static |
4 | | -# (8.2.x in noble, 9.x in plucky) hangs on the xsimd test_xsimd binary at |
5 | | -# vlen=128 — see QEMU issue #2137 (RVV TCG slowdowns) for the underlying |
6 | | -# emulator behaviour. Until ubuntu-latest ships qemu 11+, vlen=128 coverage |
7 | | -# lives in cross-rvv-arch.yml, which runs inside an archlinux:latest |
8 | | -# container with qemu 11. Vlens >= 256 run fast enough under the apt qemu |
9 | | -# to stay within the test step's timeout. |
10 | | -# |
11 | 3 | # References: |
12 | 4 | # QEMU 11.0.0 release notes: https://www.qemu.org/2026/04/22/qemu-11-0-0/ |
13 | 5 | # QEMU RVV slowdowns issue: https://gitlab.com/qemu-project/qemu/-/issues/2137 |
|
29 | 21 | - { compiler: 'clang', version: '17', gcc_runtime: '14'} |
30 | 22 | - { compiler: 'clang', version: '18', gcc_runtime: '14'} |
31 | 23 | vector_bits: |
| 24 | + - 128 |
32 | 25 | - 256 |
33 | 26 | - 512 |
| 27 | + exclude: |
| 28 | + # Fails with a timeout, altough it works with clang. Also used to work |
| 29 | + # with a more recent version of qemu, but now it's back to failing. |
| 30 | + # See 8b8168722d1ab425186efd2cddb1e29aba8b9c02 for more details. |
| 31 | + - sys: { compiler: 'gcc', gcc_runtime: '14'} |
| 32 | + vector_bits: 128 |
34 | 33 | steps: |
35 | 34 | - name: Setup GCC |
36 | 35 | run: | |
|
81 | 80 | echo "XSIMD_TEST_CPU_ASSUME_SVE=0" >> "$GITHUB_ENV" |
82 | 81 | echo "XSIMD_TEST_CPU_ASSUME_RVV=1" >> "$GITHUB_ENV" |
83 | 82 | - name: Testing xsimd |
84 | | - timeout-minutes: 15 |
| 83 | + timeout-minutes: 10 |
85 | 84 | run: > |
86 | 85 | QEMU_CPU="rv64,zba=true,zbb=true,zbs=true,v=true,vlen=${{ matrix.vector_bits }},elen=64,vext_spec=v1.0" |
87 | 86 | QEMU_LD_PREFIX="/usr/riscv64-linux-gnu" |
|
0 commit comments