diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-24 19:01:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-24 19:01:23 +0000 |
| commit | 510fe9ea61c267f0cd219e99af02d60079be30ea (patch) | |
| tree | cbbde275c3db3da7602149459f6ac390e79caf70 /dev-python/numpy | |
| parent | 93c1d6a2ff9e45036853fc29609b6c391ef2f47f (diff) | |
| download | baldeagleos-repo-510fe9ea61c267f0cd219e99af02d60079be30ea.tar.gz baldeagleos-repo-510fe9ea61c267f0cd219e99af02d60079be30ea.tar.xz baldeagleos-repo-510fe9ea61c267f0cd219e99af02d60079be30ea.zip | |
Adding metadata
Diffstat (limited to 'dev-python/numpy')
| -rw-r--r-- | dev-python/numpy/files/numpy-2.3.2-arm-asimddp.patch | 30 | ||||
| -rw-r--r-- | dev-python/numpy/numpy-2.3.2-r1.ebuild | 6 |
2 files changed, 34 insertions, 2 deletions
diff --git a/dev-python/numpy/files/numpy-2.3.2-arm-asimddp.patch b/dev-python/numpy/files/numpy-2.3.2-arm-asimddp.patch new file mode 100644 index 000000000000..ac4c77d1a25b --- /dev/null +++ b/dev-python/numpy/files/numpy-2.3.2-arm-asimddp.patch @@ -0,0 +1,30 @@ +From 111fe76ebf9e3dc528a2d808626808bd9601938d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 18 Aug 2025 20:55:31 +0200 +Subject: [PATCH] BLD: wire up `ASIMDDP` feature to `ARM_FEATURES` +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Add the `ASIMDDP` feature to the `ARM_FEATURES` dictionary, to fix +an error when it is explicitly listed in `cpu-baseline`. + +Fixes #29570 + +Signed-off-by: Michał Górny <mgorny@gentoo.org> +--- + meson_cpu/arm/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson_cpu/arm/meson.build b/meson_cpu/arm/meson.build +index 7ffa3ef58ed0..5478e52cdcea 100644 +--- a/meson_cpu/arm/meson.build ++++ b/meson_cpu/arm/meson.build +@@ -60,6 +60,6 @@ SVE = mod_features.new( + # TODO: Add support for MSVC + ARM_FEATURES = { + 'NEON': NEON, 'NEON_FP16': NEON_FP16, 'NEON_VFPV4': NEON_VFPV4, +- 'ASIMD': ASIMD, 'ASIMDHP': ASIMDHP, 'ASIMDFHM': ASIMDFHM, ++ 'ASIMD': ASIMD, 'ASIMDHP': ASIMDHP, 'ASIMDDP': ASIMDDP, 'ASIMDFHM': ASIMDFHM, + 'SVE': SVE + } diff --git a/dev-python/numpy/numpy-2.3.2-r1.ebuild b/dev-python/numpy/numpy-2.3.2-r1.ebuild index 2258f8ca753c..7ed20052e815 100644 --- a/dev-python/numpy/numpy-2.3.2-r1.ebuild +++ b/dev-python/numpy/numpy-2.3.2-r1.ebuild @@ -73,6 +73,8 @@ distutils_enable_tests pytest PATCHES=( # https://github.com/numpy/numpy/pull/29459 "${FILESDIR}"/${P}-no-detect.patch + # https://github.com/numpy/numpy/pull/29579 + "${FILESDIR}"/${P}-arm-asimddp.patch ) has_all_x86() { @@ -111,7 +113,7 @@ python_configure_all() { if [[ ${cpu_baseline[@]} && ${cpu_baseline[-1]} == ASIMD ]]; then for flag in dp hp; do cpu_baseline+=( - $(usex "cpu_flags_arm_asimd${flag}" "ASIMD${flag^^}") + $(usev "cpu_flags_arm_asimd${flag}" "ASIMD${flag^^}") ) done fi @@ -120,7 +122,7 @@ python_configure_all() { if [[ ${cpu_baseline[@]} && ${cpu_baseline[-1]} == ASIMDHP ]]; then for flag in asimdfhm sve; do cpu_baseline+=( - $(usex "cpu_flags_arm_${flag}" "${flag^^}") + $(usev "cpu_flags_arm_${flag}" "${flag^^}") ) done fi |
