diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-09-16 14:40:44 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-16 23:04:58 -0700 |
commit | f4c3f32a1031a1b2a313cc17eaa7c192ac6be979 (patch) | |
tree | 29445e0cb7950d7e0f045c5f33c291ac953311b6 | |
parent | 173a269579169974849bf773f009c21134e3a7ab (diff) | |
download | meta-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.bb | 3 |
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" | |||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | 13 | ||
14 | EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release" | 14 | EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release" |
15 | # RVV is enabled by default and highway cmake system assumes that RISCV64 = RISCV | ||
16 | EXTRA_OECMAKE:append:riscv32 = " -DHWY_CMAKE_RVV=OFF" | ||
17 | |||
15 | CXXFLAGS:append:arm = " -mfp16-format=ieee" | 18 | CXXFLAGS: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 |
17 | CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee" | 20 | CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee" |