diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-26 07:24:58 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-26 07:24:58 +0000 |
| commit | d0fc59cd67c17dd62ef3326fd7220f7fe6e2be3f (patch) | |
| tree | dc0e7ee30747be65744248f91c631400b2d703ed /dev-python/numpy | |
| parent | 4edba0f7c9252e45fae8ba33f768fd5fb1f9f7fa (diff) | |
| download | baldeagleos-repo-d0fc59cd67c17dd62ef3326fd7220f7fe6e2be3f.tar.gz baldeagleos-repo-d0fc59cd67c17dd62ef3326fd7220f7fe6e2be3f.tar.xz baldeagleos-repo-d0fc59cd67c17dd62ef3326fd7220f7fe6e2be3f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/numpy')
| -rw-r--r-- | dev-python/numpy/files/numpy-2.2.6-gcc16.patch | 14 | ||||
| -rw-r--r-- | dev-python/numpy/numpy-2.2.6.ebuild | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/numpy/files/numpy-2.2.6-gcc16.patch b/dev-python/numpy/files/numpy-2.2.6-gcc16.patch new file mode 100644 index 000000000000..a297551ded05 --- /dev/null +++ b/dev-python/numpy/files/numpy-2.2.6-gcc16.patch @@ -0,0 +1,14 @@ +https://github.com/google/highway/issues/2577 +https://github.com/google/highway/commit/7cde540171a1718a9bdfa8f896d70e47eb0785d5 +--- a/numpy/_core/src/highway/hwy/ops/set_macros-inl.h ++++ b/numpy/_core/src/highway/hwy/ops/set_macros-inl.h +@@ -141,7 +141,8 @@ + #define HWY_TARGET_STR_AVX2 \ + HWY_TARGET_STR_SSE4 ",avx,avx2" HWY_TARGET_STR_BMI2_FMA HWY_TARGET_STR_F16C + +-#if HWY_COMPILER_GCC_ACTUAL >= 1400 || HWY_COMPILER_CLANG >= 1800 ++#if (HWY_COMPILER_GCC_ACTUAL >= 1400 && HWY_COMPILER_GCC_ACTUAL < 1600) || \ ++ HWY_COMPILER_CLANG >= 1800 + #define HWY_TARGET_STR_AVX3_VL512 ",evex512" + #else + #define HWY_TARGET_STR_AVX3_VL512 diff --git a/dev-python/numpy/numpy-2.2.6.ebuild b/dev-python/numpy/numpy-2.2.6.ebuild index b5d2fa3e3116..ec2ef328d023 100644 --- a/dev-python/numpy/numpy-2.2.6.ebuild +++ b/dev-python/numpy/numpy-2.2.6.ebuild @@ -63,6 +63,9 @@ python_prepare_all() { # https://github.com/numpy/numpy/pull/28748 # https://github.com/numpy/numpy/pull/28928 "${FILESDIR}/${PN}-2.2.5-py314.patch" + # https://github.com/google/highway/issues/2577 + # github.com/google/highway/commit/7cde540171a1718a9bdfa8f896d70e47eb0785d5 + "${FILESDIR}/${PN}-2.2.6-gcc16.patch" ) # bug #922457 |
