From 6b175232ec90623618a66ae8fb339628c926ed38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 27 Sep 2025 17:20:20 +0200 Subject: dev-python/numpy: Disable LAPACK threads in xdist testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/numpy/numpy-2.3.3.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dev-python/numpy') diff --git a/dev-python/numpy/numpy-2.3.3.ebuild b/dev-python/numpy/numpy-2.3.3.ebuild index 9fbfb668b49e..5cf8a6772641 100644 --- a/dev-python/numpy/numpy-2.3.3.ebuild +++ b/dev-python/numpy/numpy-2.3.3.ebuild @@ -232,6 +232,13 @@ python_configure_all() { } python_test() { + # We run tests in parallel, so avoid having n^2 threads in lapack + # tests. + local -x BLIS_NUM_THREADS=1 + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + local -x OPENBLAS_NUM_THREADS=1 + # don't run tests that require more than 2 GiB of RAM (per process) local -x NPY_AVAILABLE_MEM="2 GiB" -- cgit v1.2.3