From ec89ecaa2a2f8944d031c48bded3e323062a93f8 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Tue, 18 Aug 2026 18:08:06 +0100 Subject: [PATCH] chore: re-enable riscv64 non pointer-compression GCC builds Signed-off-by: Stewart X Addison --- recipes/riscv64/run.sh | 2 ++ recipes/riscv64/should-build.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/riscv64/run.sh b/recipes/riscv64/run.sh index 8fdbeb1..f9fea00 100755 --- a/recipes/riscv64/run.sh +++ b/recipes/riscv64/run.sh @@ -23,6 +23,8 @@ export CC_host="ccache gcc-13" export CXX_host="ccache g++-13" export CC="ccache /usr/bin/riscv64-linux-gnu-gcc-14" export CXX="ccache /usr/bin/riscv64-linux-gnu-g++-14" +# Required to allow GCC to be able to build on RISC-V +export CXXFLAGS="-DHWY_BROKEN_EMU128=0 -DHWY_BROKEN_TARGETS=HWY_RVV" make -j$(getconf _NPROCESSORS_ONLN) binary V= \ DESTCPU="riscv64" \ diff --git a/recipes/riscv64/should-build.sh b/recipes/riscv64/should-build.sh index d367554..1d64c87 100755 --- a/recipes/riscv64/should-build.sh +++ b/recipes/riscv64/should-build.sh @@ -7,4 +7,4 @@ fullversion=$2 decode "$fullversion" -test "$major" -ge "17" && test "$major" -ne 26 +test "$major" -ge "17" && test "$major" -le 26