summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan FitzGerald <38731008+djfitzgerald@users.noreply.github.com>2018-06-14 23:48:43 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2018-06-14 20:48:43 -0700
commit54aab585c49297b1be5072deea16f5ed2876ba09 (patch)
treeb12b1d9a3bf0f5f7bbc4b21ac45f6237f3dd0c46
parent64d20a3955df8cd692b52579a91de416e2649c4b (diff)
downloadspack-54aab585c49297b1be5072deea16f5ed2876ba09.tar.gz
spack-54aab585c49297b1be5072deea16f5ed2876ba09.tar.bz2
spack-54aab585c49297b1be5072deea16f5ed2876ba09.tar.xz
spack-54aab585c49297b1be5072deea16f5ed2876ba09.zip
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.
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 9a2be4036b..ac98561c04 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -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"