diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/trilinos/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/trilinos/package.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index 6bfbb31583..5ac68ff6ee 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -528,7 +528,6 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage): define_trilinos_enable('TrilinosCouplings'), define_trilinos_enable('Zoltan'), define_trilinos_enable('Zoltan2'), - define_tpl_enable('Cholmod', False), define_from_variant('EpetraExt_BUILD_BTF', 'epetraextbtf'), define_from_variant('EpetraExt_BUILD_EXPERIMENTAL', 'epetraextexperimental'), @@ -688,6 +687,13 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage): define('PNetCDF_ROOT', spec['parallel-netcdf'].prefix), ]) + options.append(define_tpl_enable('Cholmod', False)) + + if spec.satisfies('platform=darwin'): + # Don't let TriBITS define `libdl` as an absolute path to + # the MacOSX{nn.n}.sdk since that breaks at every xcode update + options.append(define_tpl_enable('DLlib', False)) + # ################# Explicit template instantiation ################# complex_s = spec.variants['complex'].value |