summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
index 60266e0598..72c56471c2 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -165,7 +165,8 @@ class IntelOneapiCompilers(IntelOneApiPackage):
homepage = "https://software.intel.com/content/www/us/en/develop/tools/oneapi.html"
- depends_on("patchelf", type="build")
+ # See https://github.com/spack/spack/issues/39252
+ depends_on("patchelf@:0.17", type="build")
# TODO: effectively gcc is a direct dependency of intel-oneapi-compilers, but we
# cannot express that properly. For now, add conflicts for non-gcc compilers