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:
lukebroskop 2021-08-08 09:16:57 -05:00 committed by GitHub
parent 9b66053d99
commit 1c204bef8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"