diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-12 21:06:09 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-21 21:30:56 -0700 |
| commit | fa7be0c92684401ea143457e96a6c9b520838fcb (patch) | |
| tree | 4c294eb88ee0454b70b9e9e4e29629a93009ed68 | |
| parent | fc8703b03ef00f4bf006fb1db650efdc4d270c65 (diff) | |
| download | meta-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.conf | 5 |
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 |
| 546 | CFLAGS:append:pn-dav1d:riscv64:toolchain-clang = " -no-integrated-as" | 546 | CFLAGS: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 | ||
| 550 | TOOLCHAIN_OPTIONS:append:pn-python3-numpy:riscv64:toolchain-clang = " -march=rv64gcv" | ||
| 551 | TOOLCHAIN_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 |
| 549 | SECURITY_STACK_PROTECTOR:pn-lksctp-tools:toolchain-clang = "" | 554 | SECURITY_STACK_PROTECTOR:pn-lksctp-tools:toolchain-clang = "" |
| 550 | 555 | ||
