scipy build fails when built in parallel (#3275)

This commit is contained in:
Adam J. Stewart 2017-03-03 16:31:03 -06:00 committed by GitHub
parent 7ef95767ee
commit 678603f3cc

View File

@ -48,5 +48,12 @@ class PyScipy(PythonPackage):
depends_on('lapack')
def build_args(self, spec, prefix):
args = []
# Build in parallel
return ['-j', str(make_jobs)]
# Known problems with Python 3
# https://github.com/scipy/scipy/issues/7112
if not spec.satisfies('^python@3:'):
args.extend(['-j', str(make_jobs)])
return args