chameleon: update to use oneapi packages (#49498)

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
Massimiliano Culpo 2025-03-17 08:50:05 +01:00 committed by GitHub
parent 461f1d186b
commit ee588e4bbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,15 +113,13 @@ def cmake_args(self):
]
)
if spec.satisfies("~simgrid"):
if spec.satisfies("^intel-mkl") or spec.satisfies("^intel-parallel-studio+mkl"):
if spec.satisfies("threads=none"):
args.extend([self.define("BLA_VENDOR", "Intel10_64lp_seq")])
else:
args.extend([self.define("BLA_VENDOR", "Intel10_64lp")])
elif spec.satisfies("^netlib-lapack"):
args.extend([self.define("BLA_VENDOR", "Generic")])
elif spec.satisfies("^openblas"):
args.extend([self.define("BLA_VENDOR", "OpenBLAS")])
if spec.satisfies("^[virtuals=blas,lapack] intel-oneapi-mkl threads=none"):
args.extend([self.define("BLA_VENDOR", "Intel10_64lp_seq")])
elif spec.satisfies("^[virtuals=blas,lapack] intel-oneapi-mkl"):
args.extend([self.define("BLA_VENDOR", "Intel10_64lp")])
elif spec.satisfies("^[virtuals=blas,lapack] netlib-lapack"):
args.extend([self.define("BLA_VENDOR", "Generic")])
elif spec.satisfies("^[virtuals=blas,lapack] openblas"):
args.extend([self.define("BLA_VENDOR", "OpenBLAS")])
return args