Fix bug with setting module-scope vars in derived package classes.
This commit is contained in:
parent
a4861a3072
commit
a1be45d0e7
@ -177,8 +177,6 @@ def set_module_variables_for_package(pkg, m):
|
|||||||
"""Populate the module scope of install() with some useful functions.
|
"""Populate the module scope of install() with some useful functions.
|
||||||
This makes things easier for package writers.
|
This makes things easier for package writers.
|
||||||
"""
|
"""
|
||||||
m = pkg.module
|
|
||||||
|
|
||||||
# number of jobs spack will to build with.
|
# number of jobs spack will to build with.
|
||||||
jobs = multiprocessing.cpu_count()
|
jobs = multiprocessing.cpu_count()
|
||||||
if not pkg.parallel:
|
if not pkg.parallel:
|
||||||
|
Loading…
Reference in New Issue
Block a user