From ec0d97ae8242904b6c7f20474f7e291c5d840289 Mon Sep 17 00:00:00 2001 From: Tobias Ribizel Date: Thu, 26 Sep 2024 14:33:44 +0200 Subject: 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 --- var/spack/repos/builtin/packages/hwloc/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py index ca0cbe58f5..4ef81adee3 100644 --- a/var/spack/repos/builtin/packages/hwloc/package.py +++ b/var/spack/repos/builtin/packages/hwloc/package.py @@ -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 @@ class Hwloc(AutotoolsPackage, CudaPackage, ROCmPackage): if self.spec.satisfies("+oneapi-level-zero"): args.append("--enable-levelzero") + else: + args.append("--disable-levelzero") return args -- cgit v1.2.3-70-g09d2