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 @@ def cmake_args(self): '-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'