summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordownloadico <download@carc.unm.edu>2022-10-31 16:05:49 -0600
committerGitHub <noreply@github.com>2022-10-31 16:05:49 -0600
commita83456dd7b4aef6044df5f3449dcbedc83b7784a (patch)
treea74681e79676e61a793706aa1c6649c536879161 /var
parent269304a7aca5bf5a64c41176df96cdf5500f2bc5 (diff)
downloadspack-a83456dd7b4aef6044df5f3449dcbedc83b7784a.tar.gz
spack-a83456dd7b4aef6044df5f3449dcbedc83b7784a.tar.bz2
spack-a83456dd7b4aef6044df5f3449dcbedc83b7784a.tar.xz
spack-a83456dd7b4aef6044df5f3449dcbedc83b7784a.zip
julia: don't look for the openlibm libraries when unneeded (#33626)
* julia: don't look for the openlibm libraries when unneeded Cause spack to *not* check for the existence of the openlibm libraries (by adding it to the pkgs list) when ~openlibm is specified. * [@spackbot] updating style on behalf of downloadico Co-authored-by: downloadico <downloadico@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/julia/package.py3
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: