summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/platforms/cray.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py
index dadf114d90..d266f26284 100644
--- a/lib/spack/spack/platforms/cray.py
+++ b/lib/spack/spack/platforms/cray.py
@@ -36,6 +36,10 @@ _ex_craype_dir = "/opt/cray/pe/cpe"
_xc_craype_dir = "/opt/cray/pe/cdt"
+def slingshot_network():
+ return os.path.exists("/lib64/libcxi.so")
+
+
def _target_name_from_craype_target_name(name):
return _craype_name_to_target_name.get(name, name)