hwloc: Disable levelzero explicitly if not requested (#46530)

The configure script will otherwise pick up external levelzero libraries and may potentially break depending libraries like pmix
This commit is contained in:
Tobias Ribizel 2024-09-26 14:33:44 +02:00 committed by GitHub
parent 8290e7d947
commit ec0d97ae82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ class Hwloc(AutotoolsPackage, CudaPackage, ROCmPackage):
"""
homepage = "https://www.open-mpi.org/projects/hwloc/"
url = "https://download.open-mpi.org/release/hwloc/v2.0/hwloc-2.0.2.tar.gz"
url = "https://download.open-mpi.org/release/hwloc/v2.11/hwloc-2.11.1.tar.bz2"
git = "https://github.com/open-mpi/hwloc.git"
maintainers("bgoglin")
@ -198,5 +198,7 @@ def configure_args(self):
if self.spec.satisfies("+oneapi-level-zero"):
args.append("--enable-levelzero")
else:
args.append("--disable-levelzero")
return args