Fix bug with setting module-scope vars in derived package classes.

This commit is contained in:
Todd Gamblin 2016-03-08 13:56:44 -08:00
parent a4861a3072
commit a1be45d0e7

View File

@ -177,8 +177,6 @@ def set_module_variables_for_package(pkg, m):
"""Populate the module scope of install() with some useful functions.
This makes things easier for package writers.
"""
m = pkg.module
# number of jobs spack will to build with.
jobs = multiprocessing.cpu_count()
if not pkg.parallel: