From acff97cef12ba1e9521ab155736cfe61609b7eea Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 9 Oct 2025 12:04:14 +0200 Subject: [PATCH 1/4] Ensure qemu is installed for running the tests --- .github/workflows/riscv64_vector.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/riscv64_vector.yml b/.github/workflows/riscv64_vector.yml index 5dd74b9dcc..939f3685ff 100644 --- a/.github/workflows/riscv64_vector.yml +++ b/.github/workflows/riscv64_vector.yml @@ -40,7 +40,7 @@ jobs: run: | sudo apt-get update sudo apt-get install autoconf automake autotools-dev ninja-build make \ - libgomp1-riscv64-cross ccache + libgomp1-riscv64-cross ccache qemu wget ${riscv_gnu_toolchain}/${riscv_gnu_toolchain_nightly_download_path} tar -xvf $(basename ${riscv_gnu_toolchain_nightly_download_path}) -C /opt From de004136cd48aae6c759a60a5e01496dfc2f4ba2 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 9 Oct 2025 12:27:07 +0200 Subject: [PATCH 2/4] Update riscv64_vector.yml --- .github/workflows/riscv64_vector.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/riscv64_vector.yml b/.github/workflows/riscv64_vector.yml index 939f3685ff..d22f70d0cc 100644 --- a/.github/workflows/riscv64_vector.yml +++ b/.github/workflows/riscv64_vector.yml @@ -40,7 +40,7 @@ jobs: run: | sudo apt-get update sudo apt-get install autoconf automake autotools-dev ninja-build make \ - libgomp1-riscv64-cross ccache qemu + libgomp1-riscv64-cross ccache qemu-kvm wget ${riscv_gnu_toolchain}/${riscv_gnu_toolchain_nightly_download_path} tar -xvf $(basename ${riscv_gnu_toolchain_nightly_download_path}) -C /opt From f6b0d48a39582a15ffbd7a742f4ee96d9226e67e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 9 Oct 2025 12:42:36 +0200 Subject: [PATCH 3/4] Add BUILD_BFLOAT16/HFLOAT16 for RISCV_ZVL256B target --- .github/workflows/riscv64_vector.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/riscv64_vector.yml b/.github/workflows/riscv64_vector.yml index d22f70d0cc..d83d786c66 100644 --- a/.github/workflows/riscv64_vector.yml +++ b/.github/workflows/riscv64_vector.yml @@ -26,7 +26,7 @@ jobs: opts: TARGET=RISCV64_ZVL128B BINARY=64 ARCH=riscv64 qemu_cpu: rv64,g=true,c=true,v=true,vext_spec=v1.0,vlen=128,elen=64 - target: RISCV64_ZVL256B - opts: TARGET=RISCV64_ZVL256B BINARY=64 ARCH=riscv64 + opts: TARGET=RISCV64_ZVL256B BINARY=64 ARCH=riscv64 BUILD_BFLOAT16=1 BUILD_HFLOAT16=1 qemu_cpu: rv64,g=true,c=true,v=true,vext_spec=v1.0,vlen=256,elen=64 - target: DYNAMIC_ARCH=1 opts: TARGET=RISCV64_GENERIC BINARY=64 ARCH=riscv64 DYNAMIC_ARCH=1 From 5c89e4c77011f04841106398ffa8e77710c4d463 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 10 Oct 2025 11:09:56 +0200 Subject: [PATCH 4/4] remove the stricted build flags --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index f29bd35471..15e45302cb 100644 --- a/test/Makefile +++ b/test/Makefile @@ -34,7 +34,7 @@ ifneq (, $(filter $(CORE),LOONGSON3R3 LOONGSON3R4)) endif override FFLAGS += -fno-tree-vectorize endif -override CFLAGS += -std=c11 -Wall -Werror +# override CFLAGS += -std=c11 -Wall -Werror SUPPORT_GEMM3M = 0