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>
This commit is contained in:
parent
269304a7ac
commit
a83456dd7b
@ -204,12 +204,13 @@ def setup_build_environment(self, env):
|
|||||||
"mpfr",
|
"mpfr",
|
||||||
"nghttp2",
|
"nghttp2",
|
||||||
"openblas",
|
"openblas",
|
||||||
"openlibm",
|
|
||||||
"pcre2",
|
"pcre2",
|
||||||
"suite-sparse",
|
"suite-sparse",
|
||||||
"utf8proc",
|
"utf8proc",
|
||||||
"zlib",
|
"zlib",
|
||||||
]
|
]
|
||||||
|
if "+openlibm" in self.spec:
|
||||||
|
pkgs.append("openlibm")
|
||||||
if self.spec.satisfies("@1.7.0:"):
|
if self.spec.satisfies("@1.7.0:"):
|
||||||
pkgs.append("libblastrampoline")
|
pkgs.append("libblastrampoline")
|
||||||
for pkg in pkgs:
|
for pkg in pkgs:
|
||||||
|
Loading…
Reference in New Issue
Block a user