summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-08 13:56:44 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-08 13:56:44 -0800
commita1be45d0e7f1921176b40b2aa497309029f1f7ad (patch)
tree15165b6db074493bd292240c96d0810bf1a71915
parenta4861a30729e32aef493b3418d03874837eecc08 (diff)
downloadspack-a1be45d0e7f1921176b40b2aa497309029f1f7ad.tar.gz
spack-a1be45d0e7f1921176b40b2aa497309029f1f7ad.tar.bz2
spack-a1be45d0e7f1921176b40b2aa497309029f1f7ad.tar.xz
spack-a1be45d0e7f1921176b40b2aa497309029f1f7ad.zip
Fix bug with setting module-scope vars in derived package classes.
-rw-r--r--lib/spack/spack/build_environment.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index e22597a789..87fc310b5a 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -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: