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",
|
||||
"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:
|
||||
|
Loading…
Reference in New Issue
Block a user