summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/julia/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py
index a6bcd0be20..8c6a6aaf90 100644
--- a/var/spack/repos/builtin/packages/julia/package.py
+++ b/var/spack/repos/builtin/packages/julia/package.py
@@ -164,6 +164,8 @@ class Julia(Package):
]
else:
target_str = str(spec.target).replace('_', '-')
+ if target_str == "zen2":
+ target_str = "znver2"
options += [
'JULIA_CPU_TARGET={0}'.format(target_str)
]