From: Timo Heister Date: Mon, 13 Feb 2023 23:12:36 +0000 (-0500) Subject: trilinos without explicit instantiations X-Git-Tag: v9.5.1-r1~21^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F331%2Fhead;p=candi.git trilinos without explicit instantiations It turns out explicit instantiations have the following problems: - it confuses linkers like gold leading to missing instantiations - breaks compilation on OSX ARM (symbols with wrong arch) - it is likely related to a big bloat in library size Disable them for now... --- diff --git a/deal.II-toolchain/packages/trilinos.package b/deal.II-toolchain/packages/trilinos.package index 1484712..2c5f75e 100644 --- a/deal.II-toolchain/packages/trilinos.package +++ b/deal.II-toolchain/packages/trilinos.package @@ -219,7 +219,7 @@ CONFOPTS="\ -D Trilinos_ENABLE_OpenMP:BOOL=OFF \ -D TPL_ENABLE_TBB:BOOL=OFF \ -D Trilinos_VERBOSE_CONFIGURE:BOOL=OFF \ - -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION=ON \ + -D Trilinos_ENABLE_EXPLICIT_INSTANTIATION=OFF \ -D Trilinos_ENABLE_Amesos:BOOL=ON \ -D Trilinos_ENABLE_Epetra:BOOL=ON \ -D Trilinos_ENABLE_EpetraExt:BOOL=ON \