From f8a4a3802c294977f44bf9a7881363c3a3def32d Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 11 Oct 2019 10:52:53 +0200 Subject: Autotools build system to patch config.guess based on a range check --- lib/spack/spack/build_systems/autotools.py | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2