From da301d7c6627a5a1ee541a646aba22dc993109d9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 7 Jul 2022 07:12:45 -0700 Subject: ltp: Remove -mfpmath=sse option when using clang Signed-off-by: Khem Raj --- conf/nonclangable.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index a71347f..3d6cf8e 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -304,6 +304,10 @@ TUNE_CCARGS:remove:pn-pipewire:toolchain-clang = "-Qunused-arguments" TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" +# Clang on qemux86 errors out with +# error: the 'sse' unit is not supported with this instruction set +TUNE_CCARGS:remove:pn-ltp:toolchain-clang:x86 = "-mfpmath=sse" + # Disable altivec on ppc32 #/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? # BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); -- cgit v1.2.3-54-g00ecf