summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 9add3b238c..d3c8c3a0d0 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -373,6 +373,14 @@ class Trilinos(CMakePackage):
'-DTrilinos_ENABLE_Pike=OFF',
'-DTrilinos_ENABLE_STK=OFF'
])
+
+ # disable due to compiler / config errors:
+ if spec.satisfies('%xl') or spec.satisfies('%xl_r'):
+ options.extend([
+ '-DTrilinos_ENABLE_Pamgen:BOOL=OFF',
+ '-DTrilinos_ENABLE_Stokhos:BOOL=OFF'
+ ])
+
if sys.platform == 'darwin':
options.extend([
'-DTrilinos_ENABLE_FEI=OFF'