py-scipy: link with OpenMP version of armpl-gcc when requested (#37002)

This commit is contained in:
Annop Wongwathanarat 2023-04-18 17:08:29 +01:00 committed by GitHub
parent 11e5b0cd91
commit 5d8ca81e82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,10 +203,16 @@ def install(self, spec, prefix):
lapack = "mkl-dynamic-lp64-seq"
if spec["blas"].name in ["blis", "amdblis"]:
blas = "blis"
if blas == "armpl":
blas += "-dynamic-lp64-seq"
if lapack == "armpl":
lapack += "-dynamic-lp64-seq"
if "armpl" in blas:
if "_mp" in blas:
blas = "armpl-dynamic-lp64-omp"
else:
blas = "armpl-dynamic-lp64-seq"
if "armpl" in lapack:
if "_mp" in lapack:
lapack = "armpl-dynamic-lp64-omp"
else:
lapack = "armpl-dynamic-lp64-seq"
args = [
"setup",