diff options
author | Gregory Becker <becker33.llnl.gov> | 2016-07-21 14:11:34 -0700 |
---|---|---|
committer | Gregory Becker <becker33.llnl.gov> | 2016-07-21 14:11:34 -0700 |
commit | f0d5317913d0c47806e102126ea67aacbcf4db80 (patch) | |
tree | 5076921b77dac4ca5e0fed2990d71e2092b9d3a3 /lib/spack | |
parent | 2ae7429b18363128aaa35bca8d6b8cd3cd2f267a (diff) | |
download | spack-f0d5317913d0c47806e102126ea67aacbcf4db80.tar.gz spack-f0d5317913d0c47806e102126ea67aacbcf4db80.tar.bz2 spack-f0d5317913d0c47806e102126ea67aacbcf4db80.tar.xz spack-f0d5317913d0c47806e102126ea67aacbcf4db80.zip |
fixed
Diffstat (limited to 'lib/spack')
-rw-r--r-- | lib/spack/spack/platforms/cray_xc.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/spack/spack/platforms/cray_xc.py b/lib/spack/spack/platforms/cray_xc.py index d3aab74fae..a8e7aaa316 100644 --- a/lib/spack/spack/platforms/cray_xc.py +++ b/lib/spack/spack/platforms/cray_xc.py @@ -1,9 +1,10 @@ import os +import spack from spack.architecture import Platform, Target from spack.operating_systems.linux_distro import LinuxDistro from spack.operating_systems.cnl import Cnl from spack.util.executable import which -from spack.util.file_system import join_path +from llnl.util.filesystem import join_path class CrayXc(Platform): priority = 20 @@ -50,9 +51,9 @@ class CrayXc(Platform): similar to linux/standard linker behavior """ env.set('CRAYPE_LINK_TYPE', 'dynamic') - cray_wrapper_names = join_path(spack.build_env_path, 'cray') - if os.path.isdir(cray_wrapper_names): - env.prepend_path('PATH', cray_wrapper_names) +# cray_wrapper_names = join_path(spack.build_env_path, 'cray') +# if os.path.isdir(cray_wrapper_names): +# env.prepend_path('PATH', cray_wrapper_names) @classmethod def detect(self): |