]> https://gitweb.dealii.org/ - candi.git/commitdiff
trilinos without explicit instantiations
authorTimo Heister <timo.heister@gmail.com>
Mon, 13 Feb 2023 23:12:36 +0000 (18:12 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 15 Feb 2023 12:48:52 +0000 (07:48 -0500)
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...

deal.II-toolchain/packages/trilinos.package

index 1484712d8fa7974c639cc684685a44c8e58bab16..2c5f75e39b738a5bc90f4f53978a97337fb9d166 100644 (file)
@@ -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 \

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.