diff options
author | Gregory Becker <becker33@llnl.gov> | 2016-05-23 17:25:54 -0700 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2016-05-23 17:25:54 -0700 |
commit | 1da6bbd14667b50f8c970022614baf39e059a779 (patch) | |
tree | 7595e5387dc9478f711c0927d7122a7d205777a0 | |
parent | d438ea088032429722f3945d5f6567f090ed1e9e (diff) | |
download | spack-1da6bbd14667b50f8c970022614baf39e059a779.tar.gz spack-1da6bbd14667b50f8c970022614baf39e059a779.tar.bz2 spack-1da6bbd14667b50f8c970022614baf39e059a779.tar.xz spack-1da6bbd14667b50f8c970022614baf39e059a779.zip |
Fixed a couple more bugs
-rw-r--r-- | lib/spack/spack/build_environment.py | 3 | ||||
-rw-r--r-- | lib/spack/spack/concretize.py | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 4f4ca26cbc..073f73a91a 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -366,7 +366,8 @@ def get_rpaths(pkg): if os.path.isdir(d.prefix.lib64)) # Second module is our compiler mod name. We use that to get rpaths from # module show output. - rpaths.append(get_path_from_module(pkg.compiler.modules[1])) + if pkg.compiler.modules and len(pkg.compiler.modules > 1): + rpaths.append(get_path_from_module(pkg.compiler.modules[1])) return rpaths diff --git a/lib/spack/spack/concretize.py b/lib/spack/spack/concretize.py index 7ea8ea6928..7a24c1135e 100644 --- a/lib/spack/spack/concretize.py +++ b/lib/spack/spack/concretize.py @@ -210,7 +210,6 @@ class DefaultConcretizer(object): spec.architecture.target = spec.root.architecture.target else: spec.architecture.target = spec.architecture.platform.target('default_target') - print spec.architecture, spec.architecture.platform, spec.architecture.platform_os, spec.architecture.target return True #changed def _concretize_platform(self, spec): |