summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/bootstrap.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/bootstrap.py b/lib/spack/spack/bootstrap.py
index 92ce0ed934..86a11db22b 100644
--- a/lib/spack/spack/bootstrap.py
+++ b/lib/spack/spack/bootstrap.py
@@ -785,7 +785,10 @@ def ensure_gpg_in_path_or_raise():
def patchelf_root_spec():
"""Return the root spec used to bootstrap patchelf"""
- return _root_spec('patchelf@0.13:')
+ # TODO: patchelf is restricted to v0.13 since earlier versions have
+ # TODO: bugs that we don't to deal with, while v0.14 requires a C++17
+ # TODO: which may not be available on all platforms.
+ return _root_spec('patchelf@0.13.1:0.13.99')
def ensure_patchelf_in_path_or_raise():