mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-15 17:45:20 +00:00
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>
This commit is contained in:
parent
173a269579
commit
f4c3f32a10
@ -12,6 +12,9 @@ SRCREV = "457c891775a7397bdb0376bb1031e6e027af1c48"
|
|||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
|
EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
|
||||||
|
# RVV is enabled by default and highway cmake system assumes that RISCV64 = RISCV
|
||||||
|
EXTRA_OECMAKE:append:riscv32 = " -DHWY_CMAKE_RVV=OFF"
|
||||||
|
|
||||||
CXXFLAGS:append:arm = " -mfp16-format=ieee"
|
CXXFLAGS:append:arm = " -mfp16-format=ieee"
|
||||||
# Option not supported with clang and its default format for __fp16 anyway with clang
|
# Option not supported with clang and its default format for __fp16 anyway with clang
|
||||||
CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
|
CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user