Does nothing if no prexisting config.guess is found. (#2446)
* Does nothing if no prexisting config.guess is found. * Update name for RHEL OS.
This commit is contained in:
parent
f1fe614d67
commit
e26a0be731
@ -80,6 +80,8 @@ def do_patch_config_guess(self):
|
|||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
return True
|
||||||
|
|
||||||
# Look for a spack-installed automake package
|
# Look for a spack-installed automake package
|
||||||
if 'automake' in self.spec:
|
if 'automake' in self.spec:
|
||||||
@ -120,7 +122,7 @@ def patch(self):
|
|||||||
"""Perform any required patches."""
|
"""Perform any required patches."""
|
||||||
|
|
||||||
if self.patch_config_guess and self.spec.satisfies(
|
if self.patch_config_guess and self.spec.satisfies(
|
||||||
'arch=linux-redhat7-ppc64le'):
|
'arch=linux-rhel7-ppc64le'):
|
||||||
if not self.do_patch_config_guess():
|
if not self.do_patch_config_guess():
|
||||||
raise RuntimeError('Failed to find suitable config.guess')
|
raise RuntimeError('Failed to find suitable config.guess')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user