summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2018-03-21 11:13:38 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2018-03-21 13:13:38 -0500
commit500ac793bc5753a64e9d196b6888bd141ae41aa5 (patch)
tree7f2e881e8ab595941dcb67bc156aae1c8ef2f25f /lib
parent29e429e5256e8a18f77d83e0184004c4beba79c0 (diff)
downloadspack-500ac793bc5753a64e9d196b6888bd141ae41aa5.tar.gz
spack-500ac793bc5753a64e9d196b6888bd141ae41aa5.tar.bz2
spack-500ac793bc5753a64e9d196b6888bd141ae41aa5.tar.xz
spack-500ac793bc5753a64e9d196b6888bd141ae41aa5.zip
patch config.guess for ARM (aarch64) (#7427)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/autotools.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py
index 5ef06754ca..4a81133d6b 100644
--- a/lib/spack/spack/build_systems/autotools.py
+++ b/lib/spack/spack/build_systems/autotools.py
@@ -99,10 +99,10 @@ class AutotoolsPackage(PackageBase):
"""Some packages ship with an older config.guess and need to have
this updated when installed on a newer architecture. In particular,
config.guess fails for PPC64LE for version prior to a 2013-06-10
- build date (automake 1.13.4)."""
+ build date (automake 1.13.4) and for ARM (aarch64)."""
- if not self.patch_config_guess or not self.spec.satisfies(
- 'target=ppc64le'
+ 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