diff options
author | Gregory Becker <becker33@llnl.gov> | 2016-01-05 17:14:35 -0800 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2016-01-05 17:14:35 -0800 |
commit | 29e0ff61d7dc10b20b4b5d0d627cc066690ea84b (patch) | |
tree | bdcd8afb2988cb683607de29c47153f037b010da /lib | |
parent | c649610473a722388a09bf1000a8e3e9d6a4f9ff (diff) | |
download | spack-29e0ff61d7dc10b20b4b5d0d627cc066690ea84b.tar.gz spack-29e0ff61d7dc10b20b4b5d0d627cc066690ea84b.tar.bz2 spack-29e0ff61d7dc10b20b4b5d0d627cc066690ea84b.tar.xz spack-29e0ff61d7dc10b20b4b5d0d627cc066690ea84b.zip |
fixed compiler finding so as not to identify non-existent versions of the intel compiler based on the version numbers of the PrgEnv-intel module
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compiler.py b/lib/spack/spack/compiler.py index b40f68b2c5..225c65917a 100644 --- a/lib/spack/spack/compiler.py +++ b/lib/spack/spack/compiler.py @@ -282,7 +282,7 @@ class Compiler(object): modulecmd = which('modulecmd') modulecmd.add_default_arg('python') - output = modulecmd('avail', return_oe=True) + output = modulecmd('avail', cls.PrgEnv_compiler, return_oe=True) matches = re.findall(r'(%s)/(\d+[\.\d]+)' % cls.PrgEnv_compiler, output) for name, version in matches: |