Skip to content

Commit 032c633

Browse files
committed
ci: TEMPORARY try clang 20 riscv job
1 parent 2ab3b74 commit 032c633

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Ubuntu rvv VLEN=1024 (clang 20)
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Install packages
17+
run: |
18+
sudo apt-get update -q -y
19+
sudo apt-get install -y cmake make g++-riscv64-linux-gnu qemu-user-static clang-20
20+
- name: Build
21+
run: |
22+
CXX=clang++-20 \
23+
CC=clang-20 \
24+
CXXFLAGS="--target=riscv64-linux-gnu -march=rv64gcv_zvbb" \
25+
cmake --toolchain=cmake/toolchains-ci/riscv64-linux-gnu.cmake \
26+
-DCMAKE_BUILD_TYPE=Release \
27+
-B build \
28+
-DSIMDUTF_FAST_TESTS=On
29+
cmake --build build/ -j$(nproc)
30+
- name: Test VLEN=1024
31+
run: |
32+
export QEMU_LD_PREFIX="/usr/riscv64-linux-gnu"
33+
export QEMU_CPU="rv64,v=on,zvbb=on,vlen=1024,rvv_ta_all_1s=on,rvv_ma_all_1s=on"
34+
ctest --timeout 1800 --output-on-failure --test-dir build -j $(nproc)

0 commit comments

Comments
 (0)