diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2018-05-24 19:59:20 +0200 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2018-05-24 10:59:20 -0700 |
commit | c77bc613eb378f794d46716a5c642dc4ac87f8f1 (patch) | |
tree | a5c6e7c9c8502628b395dbeb186d22240701bbac /lib | |
parent | fdb2d6f493ccc67c7b21cfdfffd8655e0cdb0540 (diff) | |
download | spack-c77bc613eb378f794d46716a5c642dc4ac87f8f1.tar.gz spack-c77bc613eb378f794d46716a5c642dc4ac87f8f1.tar.bz2 spack-c77bc613eb378f794d46716a5c642dc4ac87f8f1.tar.xz spack-c77bc613eb378f794d46716a5c642dc4ac87f8f1.zip |
Fix missing spack.compiler import (#8240)
Fixes: #8258
#8090 altered import behavior so that import spack no longer
provides access to many other Spack modules. This addresses
a case which depended on the prior behavior and was not
updated as part of #8090. This particular import error only
came up when users were setting compiler flags on specs.
See also: #8194
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/spec.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 5050981e2f..8d9ecb320d 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -115,6 +115,7 @@ from llnl.util.lang import check_kwargs from llnl.util.tty.color import cwrite, colorize, cescape, get_color_when import spack.architecture +import spack.compiler import spack.compilers as compilers import spack.error import spack.parse |