diff options
Diffstat (limited to 'dev-python/numpy/numpy-2.3.3.ebuild')
| -rw-r--r-- | dev-python/numpy/numpy-2.3.3.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-python/numpy/numpy-2.3.3.ebuild b/dev-python/numpy/numpy-2.3.3.ebuild index be424340c11e..9fbfb668b49e 100644 --- a/dev-python/numpy/numpy-2.3.3.ebuild +++ b/dev-python/numpy/numpy-2.3.3.ebuild @@ -23,7 +23,7 @@ SLOT="0/2" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # +lapack because the internal fallbacks are pretty slow. Building without blas # is barely supported anyway, see bug #914358. -IUSE="big-endian +cpudetection +lapack" +IUSE="big-endian +cpudetection index64 +lapack" # upstream-flag[:gentoo-flag] ARM_FLAGS=( neon{,-fp16} vfpv4 asimd{,hp,dp,fhm} sve ) @@ -41,8 +41,8 @@ IUSE+=" RDEPEND=" lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 + >=virtual/cblas-3.8[index64(-)?] + >=virtual/lapack-3.8[index64(-)?] ) " BDEPEND=" @@ -216,8 +216,9 @@ python_configure_all() { DISTUTILS_ARGS=( -Dallow-noblas=$(usex !lapack true false) - -Dblas=$(usev lapack cblas) - -Dlapack=$(usev lapack lapack) + -Duse-ilp64=$(usex index64 true false) + -Dblas=$(usev lapack $(usex index64 cblas64 cblas)) + -Dlapack=$(usev lapack $(usex index64 lapack64 lapack)) -Dcpu-baseline="${cpu_baseline[*]}" -Dcpu-baseline-detect=disabled # '-XOP -FMA4' is upstream default, since these are deprecated |
