Merge pull request #1430 from KineticTheory/cray-cc-recursion-fix
Cray: Fix a typo that could cause an infinite recursion when calling env/cc
This commit is contained in:
commit
88bb67e279
@ -98,7 +98,7 @@ def setup_platform_environment(self, pkg, env):
|
|||||||
cray_wrapper_names = join_path(spack.build_env_path, 'cray')
|
cray_wrapper_names = join_path(spack.build_env_path, 'cray')
|
||||||
if os.path.isdir(cray_wrapper_names):
|
if os.path.isdir(cray_wrapper_names):
|
||||||
env.prepend_path('PATH', cray_wrapper_names)
|
env.prepend_path('PATH', cray_wrapper_names)
|
||||||
env.prepend_path('SPACK_ENV_PATHS', cray_wrapper_names)
|
env.prepend_path('SPACK_ENV_PATH', cray_wrapper_names)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def detect(self):
|
def detect(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user