summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorengineerxl <[email protected]>2026-05-23 06:07:16 +0300
committerengineerxl <[email protected]>2026-05-23 06:45:00 +0300
commitbc6ab36fefe5af2abfcb6ae6b64cbc4f79adeedd (patch)
tree8a713e3d61a87df451f9921e4e95d4260beaa61e
parent88de1fde2ead7a8a664f403cf8c6a29cc3f718eb (diff)
Update contrib to allow ARM v9 SVE - step 1
Разрешил include arm_sve в contrib Это PR -- первая часть [другого](https://nda.ya.ru/t/0aVcagQk7d6NL5 pull request commit_hash:bdacbda05e2f6bfbaa313ca800c0653ab0112091
-rw-r--r--contrib/libs/xxhash/.yandex_meta/__init__.py4
-rw-r--r--contrib/libs/xxhash/xxhash.h2
-rw-r--r--contrib/python/pythran/.yandex_meta/yamaker.yaml1
-rw-r--r--contrib/python/pythran/pythran/xsimd/types/xsimd_sve_register.hpp2
4 files changed, 3 insertions, 6 deletions
diff --git a/contrib/libs/xxhash/.yandex_meta/__init__.py b/contrib/libs/xxhash/.yandex_meta/__init__.py
index ecd928d2c7c..ed8ecc2465a 100644
--- a/contrib/libs/xxhash/.yandex_meta/__init__.py
+++ b/contrib/libs/xxhash/.yandex_meta/__init__.py
@@ -4,7 +4,5 @@ xxhash = GNUMakeNixProject(
arcdir="contrib/libs/xxhash",
nixattr="xxHash",
makeflags=["libxxhash"],
- disable_includes=[
- "arm_sve.h",
- ],
+ disable_includes=[],
)
diff --git a/contrib/libs/xxhash/xxhash.h b/contrib/libs/xxhash/xxhash.h
index b3d8a618888..78fc2e8dbf6 100644
--- a/contrib/libs/xxhash/xxhash.h
+++ b/contrib/libs/xxhash/xxhash.h
@@ -3842,7 +3842,7 @@ XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(XXH_NOESCAPE const XXH64_can
#if defined(__GNUC__) || defined(__clang__)
# if defined(__ARM_FEATURE_SVE)
-# error #include <arm_sve.h>
+# include <arm_sve.h>
# endif
# if defined(__ARM_NEON__) || defined(__ARM_NEON) \
|| (defined(_M_ARM) && _M_ARM >= 7) \
diff --git a/contrib/python/pythran/.yandex_meta/yamaker.yaml b/contrib/python/pythran/.yandex_meta/yamaker.yaml
index eb09b5c93b4..c88bebaecc1 100644
--- a/contrib/python/pythran/.yandex_meta/yamaker.yaml
+++ b/contrib/python/pythran/.yandex_meta/yamaker.yaml
@@ -2,7 +2,6 @@ requirements:
- contrib/restricted/boost/format
- contrib/restricted/boost/math
disable_includes:
- - arm_sve.h
- xtl/xcomplex.hpp
- riscv_vector.h
- wasm_simd128.h
diff --git a/contrib/python/pythran/pythran/xsimd/types/xsimd_sve_register.hpp b/contrib/python/pythran/pythran/xsimd/types/xsimd_sve_register.hpp
index 3342f2fa0b2..29564d02375 100644
--- a/contrib/python/pythran/pythran/xsimd/types/xsimd_sve_register.hpp
+++ b/contrib/python/pythran/pythran/xsimd/types/xsimd_sve_register.hpp
@@ -17,7 +17,7 @@
#include "xsimd_register.hpp"
#if XSIMD_WITH_SVE
-#error #include <arm_sve.h>
+#include <arm_sve.h>
#endif
namespace xsimd