summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-11-29 15:41:25 +0100
committerGitHub <noreply@github.com>2021-11-29 15:41:25 +0100
commit0d10408a257bd6ce5097a64b5742dd5524b13895 (patch)
tree7fb0f526b083b190326979c955f4fe66ae9ab603 /lib
parent48d98b4c9e03d9363e648c09e6cdaf1e6e7a53f5 (diff)
downloadspack-0d10408a257bd6ce5097a64b5742dd5524b13895.tar.gz
spack-0d10408a257bd6ce5097a64b5742dd5524b13895.tar.bz2
spack-0d10408a257bd6ce5097a64b5742dd5524b13895.tar.xz
spack-0d10408a257bd6ce5097a64b5742dd5524b13895.zip
bootstrap: restrict patchelf to v0.13.x (#27685)
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():