mpich: post-configure patch for cce (#23193)
This commit is contained in:
parent
30c81b127c
commit
80c8b11d77
@ -190,6 +190,17 @@ class Mpich(AutotoolsPackage):
|
||||
# see https://github.com/pmodels/mpich/pull/5031
|
||||
conflicts('%clang@:7', when='@3.4:')
|
||||
|
||||
@run_after('configure')
|
||||
def patch_cce(self):
|
||||
# Configure misinterprets output from the cce compiler
|
||||
# Patching configure instead should be possible, but a first
|
||||
# implementation failed in obscure ways that were not worth
|
||||
# tracking down when this worked
|
||||
if self.spec.satisfies('%cce'):
|
||||
filter_file('-L -L', '', 'config.lt', string=True)
|
||||
filter_file('-L -L', '', 'libtool', string=True)
|
||||
filter_file('-L -L', '', 'config.status', string=True)
|
||||
|
||||
@classmethod
|
||||
def determine_version(cls, exe):
|
||||
output = Executable(exe)(output=str, error=str)
|
||||
|
Loading…
Reference in New Issue
Block a user