Skip to content

Commit c26e223

Browse files
authored
add local build of qemu-10.1.1
1 parent 1ef1100 commit c26e223

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/riscv64_vector.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
qemu_cpu: rv64,g=true,c=true,v=true,vext_spec=v1.0,vlen=128,elen=64
2828
- target: RISCV64_ZVL256B
2929
opts: TARGET=RISCV64_ZVL256B BINARY=64 ARCH=riscv64 BUILD_BFLOAT16=1 BUILD_HFLOAT16=1
30-
qemu_cpu: rv64,g=true,c=true,v=true,vext_spec=v1.0,vlen=256,elen=64
31-
#,zfh=true,zvfh=true,zvfbfwma=true
30+
qemu_cpu: rv64,g=true,c=true,v=true,vext_spec=v1.0,vlen=256,elen=64,zfh=true,zvfh=true,zvfbfwma=true
3231
- target: DYNAMIC_ARCH=1
3332
opts: TARGET=RISCV64_GENERIC BINARY=64 ARCH=riscv64 DYNAMIC_ARCH=1
3433
qemu_cpu: rv64,g=true,c=true,v=true,vext_spec=v1.0,vlen=256,elen=64
@@ -44,7 +43,9 @@ jobs:
4443
libgomp1-riscv64-cross ccache qemu-kvm qemu-user libc6-riscv64-cross
4544
wget ${riscv_gnu_toolchain}/${riscv_gnu_toolchain_nightly_download_path}
4645
tar -xvf $(basename ${riscv_gnu_toolchain_nightly_download_path}) -C /opt
47-
46+
wget https://gist.github.com/martin-frbg/bb630e0de34978e578eeb496b1538d4e#file-qemu-riscv64-10-1-ubuntu24 -C /opt/riscv/bin
47+
chmod +x /opt/riscv/bin/qemu-riscv64
48+
4849
- name: Compilation cache
4950
uses: actions/cache@v3
5051
with:
@@ -137,10 +138,10 @@ jobs:
137138
wait
138139
while IFS= read -r -d $'\0' LOG; do cat $LOG ; FAILURES=1 ; done < <(grep -lZ FAIL ./test_out/*)
139140
if [[ ! -z $FAILURES ]]; then echo "==========" ; echo "== FAIL ==" ; echo "==========" ; echo ; exit 1 ; fi
140-
#if [ "${{matrix.target}}" == "RISCV64_ZVL256B" ]; then
141-
#run_test test test_sbgemm &
142-
#run_test test test_shgemm
143-
#fi
141+
if [ "${{matrix.target}}" == "RISCV64_ZVL256B" ]; then
142+
run_test test test_sbgemm &
143+
run_test test test_shgemm
144+
fi
144145
145146
146147
- name: netlib tests

0 commit comments

Comments
 (0)