summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-10-11 10:52:53 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2019-10-11 21:21:57 -0700
commitf8a4a3802c294977f44bf9a7881363c3a3def32d (patch)
tree145ef89e9d908c1afa70f43997eda7cc489f2c47 /lib
parent8dd95c17053ee0f19bc0afe18822ed341ae77852 (diff)
downloadspack-f8a4a3802c294977f44bf9a7881363c3a3def32d.tar.gz
spack-f8a4a3802c294977f44bf9a7881363c3a3def32d.tar.bz2
spack-f8a4a3802c294977f44bf9a7881363c3a3def32d.tar.xz
spack-f8a4a3802c294977f44bf9a7881363c3a3def32d.zip
Autotools build system to patch config.guess based on a range check
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/autotools.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py
index b8fb6dc0b9..eb237bcc4e 100644
--- a/lib/spack/spack/build_systems/autotools.py
+++ b/lib/spack/spack/build_systems/autotools.py
@@ -87,8 +87,9 @@ class AutotoolsPackage(PackageBase):
config.guess fails for PPC64LE for version prior to a 2013-06-10
build date (automake 1.13.4) and for ARM (aarch64)."""
- if not self.patch_config_guess or (not self.spec.satisfies(
- 'target=ppc64le') and not self.spec.satisfies('target=aarch64')
+ if not self.patch_config_guess or (
+ not self.spec.satisfies('target=ppc64le:') and
+ not self.spec.satisfies('target=aarch64:')
):
return
my_config_guess = None