diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-09-30 15:18:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 15:18:56 +0200 |
commit | 4dee7d2b223ecf40d93645bc03be4c240ecdc7df (patch) | |
tree | ad01128da368005b0ca79ba9e79b5ce4c61e9b5c | |
parent | 525aa1182722f658431af4a2d2be36c3b8149dab (diff) | |
download | spack-4dee7d2b223ecf40d93645bc03be4c240ecdc7df.tar.gz spack-4dee7d2b223ecf40d93645bc03be4c240ecdc7df.tar.bz2 spack-4dee7d2b223ecf40d93645bc03be4c240ecdc7df.tar.xz spack-4dee7d2b223ecf40d93645bc03be4c240ecdc7df.zip |
Add a conflict for patchelf to catch errors earlier in bootstrapping (#26373)
-rw-r--r-- | var/spack/repos/builtin/packages/patchelf/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/patchelf/package.py b/var/spack/repos/builtin/packages/patchelf/package.py index 6a28465031..0c10743d6b 100644 --- a/var/spack/repos/builtin/packages/patchelf/package.py +++ b/var/spack/repos/builtin/packages/patchelf/package.py @@ -27,6 +27,8 @@ class Patchelf(AutotoolsPackage): # of SHT_NOTE and PT_NOTE' patch('https://github.com/NixOS/patchelf/pull/230.patch', sha256='a155f233b228f02d7886e304cb13898d93801b52f351e098c2cc0719697ec9d0', when='@0.12') + conflicts('%gcc@:4.6', when='@0.10:', msg="Requires C++11 support") + def url_for_version(self, version): if version < Version('0.12'): return "https://nixos.org/releases/patchelf/patchelf-{0}/patchelf-{1}.tar.gz".format(version, version) |