Restrict parallel build of py-astropy to Python 3 (#13360)
This commit is contained in:
parent
cfbdd2179e
commit
809733c7e6
@ -60,11 +60,15 @@ class PyAstropy(PythonPackage):
|
||||
depends_on('expat')
|
||||
|
||||
def build_args(self, spec, prefix):
|
||||
return [
|
||||
'-j', str(make_jobs),
|
||||
args = [
|
||||
'--use-system-libraries',
|
||||
'--use-system-erfa',
|
||||
'--use-system-wcslib',
|
||||
'--use-system-cfitsio',
|
||||
'--use-system-expat'
|
||||
]
|
||||
|
||||
if spec.satisfies('^python@3:'):
|
||||
args.extend(['-j', str(make_jobs)])
|
||||
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user