diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-07-07 07:12:45 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-18 23:06:36 -0400 |
commit | da301d7c6627a5a1ee541a646aba22dc993109d9 (patch) | |
tree | fa2617c8871283f564dcb856213b2fb548365b53 | |
parent | 6152dbdac770f7acf1b0561253f2b5fead94e63f (diff) | |
download | meta-clang-da301d7c6627a5a1ee541a646aba22dc993109d9.tar.gz |
ltp: Remove -mfpmath=sse option when using clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 4 |
1 files changed, 4 insertions, 0 deletions
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" | |||
304 | TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" | 304 | TUNE_CCARGS:remove:pn-tesseract:toolchain-clang = "-Qunused-arguments" |
305 | TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" | 305 | TUNE_CCARGS:remove:pn-pulseaudio:toolchain-clang = "-Qunused-arguments" |
306 | 306 | ||
307 | # Clang on qemux86 errors out with | ||
308 | # error: the 'sse' unit is not supported with this instruction set | ||
309 | TUNE_CCARGS:remove:pn-ltp:toolchain-clang:x86 = "-mfpmath=sse" | ||
310 | |||
307 | # Disable altivec on ppc32 | 311 | # Disable altivec on ppc32 |
308 | #/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? | 312 | #/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? |
309 | # BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); | 313 | # BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); |