From 500ac793bc5753a64e9d196b6888bd141ae41aa5 Mon Sep 17 00:00:00 2001 From: Gregory Lee Date: Wed, 21 Mar 2018 11:13:38 -0700 Subject: patch config.guess for ARM (aarch64) (#7427) --- lib/spack/spack/build_systems/autotools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2