commit:     09f3824f30a37092664909b512043b0321e3d14d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 16:23:05 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 16:25:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f3824f

dev-python/numpy: re-add parallel make workaround for USE=-lapack

Bug: https://bugs.gentoo.org/660754
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-python/numpy/numpy-1.13.3.ebuild | 4 ++--
 dev-python/numpy/numpy-1.14.5.ebuild | 2 ++
 dev-python/numpy/numpy-1.15.4.ebuild | 2 ++
 dev-python/numpy/numpy-1.16.1.ebuild | 2 ++
 dev-python/numpy/numpy-9999.ebuild   | 2 ++
 5 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-python/numpy/numpy-1.13.3.ebuild 
b/dev-python/numpy/numpy-1.13.3.ebuild
index 7242f677775..38ab8f14ce3 100644
--- a/dev-python/numpy/numpy-1.13.3.ebuild
+++ b/dev-python/numpy/numpy-1.13.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -127,7 +127,7 @@ python_prepare_all() {
 }
 
 python_compile() {
-       export MAKEOPTS=-j1 # bug #660754
+       use !lapack && export MAKEOPTS=-j1 #660754
 
        local python_makeopts_jobs=""
        python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"

diff --git a/dev-python/numpy/numpy-1.14.5.ebuild 
b/dev-python/numpy/numpy-1.14.5.ebuild
index 630b5d21ec6..e48e1dc7034 100644
--- a/dev-python/numpy/numpy-1.14.5.ebuild
+++ b/dev-python/numpy/numpy-1.14.5.ebuild
@@ -114,6 +114,8 @@ python_prepare_all() {
 }
 
 python_compile() {
+       use !lapack && export MAKEOPTS=-j1 #660754
+
        local python_makeopts_jobs=""
        python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"
        distutils-r1_python_compile \

diff --git a/dev-python/numpy/numpy-1.15.4.ebuild 
b/dev-python/numpy/numpy-1.15.4.ebuild
index 321b3a2e672..5e43b353b72 100644
--- a/dev-python/numpy/numpy-1.15.4.ebuild
+++ b/dev-python/numpy/numpy-1.15.4.ebuild
@@ -109,6 +109,8 @@ python_prepare_all() {
 }
 
 python_compile() {
+       use !lapack && export MAKEOPTS=-j1 #660754
+
        local python_makeopts_jobs=""
        python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"
        distutils-r1_python_compile \

diff --git a/dev-python/numpy/numpy-1.16.1.ebuild 
b/dev-python/numpy/numpy-1.16.1.ebuild
index bf2f0cc9d3b..ecb913628ef 100644
--- a/dev-python/numpy/numpy-1.16.1.ebuild
+++ b/dev-python/numpy/numpy-1.16.1.ebuild
@@ -112,6 +112,8 @@ python_prepare_all() {
 }
 
 python_compile() {
+       use !lapack && export MAKEOPTS=-j1 #660754
+
        local python_makeopts_jobs=""
        python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"
        distutils-r1_python_compile \

diff --git a/dev-python/numpy/numpy-9999.ebuild 
b/dev-python/numpy/numpy-9999.ebuild
index baa28ab5889..7232ea8a951 100644
--- a/dev-python/numpy/numpy-9999.ebuild
+++ b/dev-python/numpy/numpy-9999.ebuild
@@ -104,6 +104,8 @@ python_prepare_all() {
 }
 
 python_compile() {
+       use !lapack && export MAKEOPTS=-j1 #660754
+
        distutils-r1_python_compile -j $(makeopts_jobs) ${NUMPY_FCONFIG}
 }
 

Reply via email to