summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-12 21:06:09 -0700
committerKhem Raj <raj.khem@gmail.com>2025-03-21 21:30:56 -0700
commitfa7be0c92684401ea143457e96a6c9b520838fcb (patch)
tree4c294eb88ee0454b70b9e9e4e29629a93009ed68
parentfc8703b03ef00f4bf006fb1db650efdc4d270c65 (diff)
downloadmeta-clang-fa7be0c92684401ea143457e96a6c9b520838fcb.tar.gz
python3-numpy: Enable vector extentions since highway pkg needs it
Fixes | ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e32mf2' | ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e32mf2' | ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvlmax_e64m1' | ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e64m1' | ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e64m1' | ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e64m1' | fatal error: too many errors emitted, stopping now [-ferror-limit=] Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index f88e633..7f3bea0 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -545,6 +545,11 @@ CFLAGS:append:pn-pixman:arm:toolchain-clang = " -no-integrated-as"
545# vsetvli zero, zero, e16, m1 545# vsetvli zero, zero, e16, m1
546CFLAGS:append:pn-dav1d:riscv64:toolchain-clang = " -no-integrated-as" 546CFLAGS:append:pn-dav1d:riscv64:toolchain-clang = " -no-integrated-as"
547 547
548# ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e8mf8'
549# This only happens with clang with rv64gc
550TOOLCHAIN_OPTIONS:append:pn-python3-numpy:riscv64:toolchain-clang = " -march=rv64gcv"
551TOOLCHAIN_OPTIONS:append:pn-python3-numpy:riscv32:toolchain-clang = " -march=rv32gcv"
552
548# test_connectx segfaults with this option set to -fstack-protector-strong 553# test_connectx segfaults with this option set to -fstack-protector-strong
549SECURITY_STACK_PROTECTOR:pn-lksctp-tools:toolchain-clang = "" 554SECURITY_STACK_PROTECTOR:pn-lksctp-tools:toolchain-clang = ""
550 555