diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/julia/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index 28b14c1f3a..bf7297357d 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -204,12 +204,13 @@ class Julia(MakefilePackage): "mpfr", "nghttp2", "openblas", - "openlibm", "pcre2", "suite-sparse", "utf8proc", "zlib", ] + if "+openlibm" in self.spec: + pkgs.append("openlibm") if self.spec.satisfies("@1.7.0:"): pkgs.append("libblastrampoline") for pkg in pkgs: |