summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2020-05-06 12:10:08 -0700
committerGitHub <noreply@github.com>2020-05-06 12:10:08 -0700
commitd0220a990c488fdee227c5f9fa40a3cfd5206376 (patch)
tree7a442e5be4f65014b158e3cc4e5de8600bbd18ed /lib
parentbf203383bd2c9ebd07babf733e90eee31908dc75 (diff)
downloadspack-d0220a990c488fdee227c5f9fa40a3cfd5206376.tar.gz
spack-d0220a990c488fdee227c5f9fa40a3cfd5206376.tar.bz2
spack-d0220a990c488fdee227c5f9fa40a3cfd5206376.tar.xz
spack-d0220a990c488fdee227c5f9fa40a3cfd5206376.zip
fix underscore/dash problems for mic_knl and skylake_avx512 (#16491)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/platforms/cray.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py
index 8c5fe525e6..2fccf2fe55 100644
--- a/lib/spack/spack/platforms/cray.py
+++ b/lib/spack/spack/platforms/cray.py
@@ -21,7 +21,8 @@ _craype_name_to_target_name = {
'x86-cascadelake': 'cascadelake',
'x86-naples': 'zen',
'x86-rome': 'zen', # Cheating because we have the wrong modules on rzcrayz
- 'x86-skylake': 'skylake-avx512'
+ 'x86-skylake': 'skylake_avx512',
+ 'mic-knl': 'mic_knl'
}