summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-09-16 14:40:44 -0700
committerKhem Raj <raj.khem@gmail.com>2024-09-16 23:04:58 -0700
commitf4c3f32a1031a1b2a313cc17eaa7c192ac6be979 (patch)
tree29445e0cb7950d7e0f045c5f33c291ac953311b6
parent173a269579169974849bf773f009c21134e3a7ab (diff)
downloadmeta-openembedded-f4c3f32a1031a1b2a313cc17eaa7c192ac6be979.tar.gz
highway: Disable RVV on RISCV-32
RISCV support in highway is assuming RVV and RISCV64 however, there is RISCV32 which perhaps does not have RVV yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/highway/highway_1.2.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/highway/highway_1.2.0.bb b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
index 5d7494124..020116d86 100644
--- a/meta-oe/recipes-extended/highway/highway_1.2.0.bb
+++ b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
@@ -12,6 +12,9 @@ SRCREV = "457c891775a7397bdb0376bb1031e6e027af1c48"
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release" 14EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
15# RVV is enabled by default and highway cmake system assumes that RISCV64 = RISCV
16EXTRA_OECMAKE:append:riscv32 = " -DHWY_CMAKE_RVV=OFF"
17
15CXXFLAGS:append:arm = " -mfp16-format=ieee" 18CXXFLAGS:append:arm = " -mfp16-format=ieee"
16# Option not supported with clang and its default format for __fp16 anyway with clang 19# Option not supported with clang and its default format for __fp16 anyway with clang
17CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee" 20CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"