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:
parent
8290e7d947
commit
ec0d97ae82
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user