Skip to content

Commit

Permalink
Change the default for <Project>_ENABLE_EXPLICIT_INSTANTIATION to ON
Browse files Browse the repository at this point in the history
This was motivated by Trilinos as it improves the build and link time somewhat
(see trilinos/Trilinos#8130).
  • Loading branch information
prwolfe authored and bartlettroscoe committed Nov 12, 2020
1 parent abce3be commit 2418f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tribits/core/package_arch/TribitsGlobalMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ MACRO(TRIBITS_DEFINE_GLOBAL_OPTIONS_AND_DEFINE_EXTRA_REPOS)
"Print out when all of the various files get processed."
)

ADVANCED_SET(${PROJECT_NAME}_ENABLE_EXPLICIT_INSTANTIATION OFF
ADVANCED_SET(${PROJECT_NAME}_ENABLE_EXPLICIT_INSTANTIATION ON
CACHE BOOL
"Enable explicit template instantiation in all packages that support it"
)
Expand Down

0 comments on commit 2418f31

Please sign in to comment.