diff options
author | Tobias Ribizel <mail@ribizel.de> | 2024-09-26 14:33:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 06:33:44 -0600 |
commit | ec0d97ae8242904b6c7f20474f7e291c5d840289 (patch) | |
tree | 448176792f3b8786ba0fd3df935876f2c2fb9a05 | |
parent | 8290e7d947e3526ee3865b125e78207b6ebb2fad (diff) | |
download | spack-ec0d97ae8242904b6c7f20474f7e291c5d840289.tar.gz spack-ec0d97ae8242904b6c7f20474f7e291c5d840289.tar.bz2 spack-ec0d97ae8242904b6c7f20474f7e291c5d840289.tar.xz spack-ec0d97ae8242904b6c7f20474f7e291c5d840289.zip |
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
-rw-r--r-- | var/spack/repos/builtin/packages/hwloc/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |