mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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)"
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -104,6 +104,8 @@ python_prepare_all() {
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
use !lapack && export MAKEOPTS=-j1 #660754
|
||||
|
||||
distutils-r1_python_compile -j $(makeopts_jobs) ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user