summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2017-07-25 13:44:51 -0700
committerbecker33 <becker33@llnl.gov>2017-07-25 13:44:51 -0700
commit42717bd8e844cc3dbde651cdda99827cf643a45f (patch)
tree3f498092bfafb780c1eae290b18177e3bbac839c /lib
parent71991cd9c9c046e69ee4bcc478b2925dd4ded774 (diff)
downloadspack-42717bd8e844cc3dbde651cdda99827cf643a45f.tar.gz
spack-42717bd8e844cc3dbde651cdda99827cf643a45f.tar.bz2
spack-42717bd8e844cc3dbde651cdda99827cf643a45f.tar.xz
spack-42717bd8e844cc3dbde651cdda99827cf643a45f.zip
fix config.guess patch for ppc64le (#4858)
* fix config.guess patch for ppc64le * explicit patch for config.guess not required
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/autotools.py18
1 files changed, 3 insertions, 15 deletions
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py
index 1ef38ddc2d..230e12e1f8 100644
--- a/lib/spack/spack/build_systems/autotools.py
+++ b/lib/spack/spack/build_systems/autotools.py
@@ -98,7 +98,9 @@ class AutotoolsPackage(PackageBase):
@run_after('autoreconf')
def _do_patch_config_guess(self):
"""Some packages ship with an older config.guess and need to have
- this updated when installed on a newer architecture."""
+ 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)."""
if not self.patch_config_guess or not self.spec.satisfies(
'arch=linux-rhel7-ppc64le'
@@ -190,20 +192,6 @@ class AutotoolsPackage(PackageBase):
' '.join(flag_val[1]))
return []
- def patch(self):
- """Patches config.guess if
- :py:attr:``~.AutotoolsPackage.patch_config_guess`` is True
-
- :raise RuntimeError: if something goes wrong when patching
- ``config.guess``
- """
-
- if self.patch_config_guess and self.spec.satisfies(
- 'arch=linux-rhel7-ppc64le'
- ):
- if not self._do_patch_config_guess():
- raise RuntimeError('Failed to find suitable config.guess')
-
@run_before('autoreconf')
def delete_configure_to_force_update(self):
if self.force_autoreconf: