Skip to content
Snippets Groups Projects
Benjamin Morgan's avatar
Benjamin Morgan authored
Add CMake option to enable LTO for AtlasGeant4

Use of LTO in Athena builds is not currently possible if the GCC checker
plugins are in use. These are not yet LTO-aware, leading to build
errors. Disabling these globally or per-LTO-using-package is not
feasible as it could lead to the introduction of bad code.

Whilst the plugins are made LTO-aware, introduce CMake option in Athena
and AthSimulation for enabling LTO builds of the AtlasGeant4 "big"
library. Set to OFF by default so that "normal" builds are unaffected.
Builds wanting LTO can set the option to ON, but must also set
ATLAS_USE_GCC_CHECKERS to OFF in this case.
27e65af7
History

ATLAS Offline software

Welcome to ATLAS Athena software!

To contribute to this project, follow our git tutorial. In particular, if you fork this project please do not forget to add the ATLAS Robot as a developer.

For ATLAS members, please see the Atlas Computing Twiki for even more information.

Branches

The following major branches are currently active:

Branch Purpose Main Project, Release Series
main Upgrade, Analysis, Derivations Athena 25.0.X, (Ath)AnalysisBase 25.2.X
24.0 Run-3 Tier0, Point1, MCProd Athena 24.0.X, AthSimulation 24.0.X
21.2 Legacy run 2 derivations AthDerivation 21.2.X

Links