Patch trilinos for xlf when using clang (#8391)

* Add patching for xlf when %clang.  Changes are effective only when Fortran compiler is 'XL'.
* Use the right version for trilinos when patching for seacas.
This commit is contained in:
Dan FitzGerald 2018-06-14 23:48:43 -04:00 committed by Todd Gamblin
parent 64d20a3955
commit 54aab585c4

View File

@ -311,6 +311,8 @@ class Trilinos(CMakePackage):
patch('xlf_seacas.patch', when='@12.10.1:%xl_r')
patch('xlf_tpetra.patch', when='@12.12.1:%xl')
patch('xlf_tpetra.patch', when='@12.12.1:%xl_r')
patch('xlf_seacas.patch', when='@12.12.1:%clang')
patch('xlf_tpetra.patch', when='@12.12.1:%clang')
def url_for_version(self, version):
url = "https://github.com/trilinos/Trilinos/archive/trilinos-release-{0}.tar.gz"