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