trilinos: flag_handler logic fix (#25290)
* Do not allow cray build system patch for later version of otf2 * Modify flag_handler logic in the trilinos package Modify flag_handler logic in the trilinos package to work better with compilers other than CCE
This commit is contained in:
parent
9b66053d99
commit
1c204bef8a
@ -440,7 +440,8 @@ def flag_handler(self, name, flags):
|
||||
if self.spec.satisfies('%cce'):
|
||||
if name == 'ldflags':
|
||||
flags.append('-fuse-ld=gold')
|
||||
return (None, None, flags)
|
||||
return (None, None, flags)
|
||||
return (flags, None, None)
|
||||
|
||||
def url_for_version(self, version):
|
||||
url = "https://github.com/trilinos/Trilinos/archive/trilinos-release-{0}.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user