Externals Update, master branch (2022.05.12.)
Updated all projects to atlasexternals-2.0.133. It includes the following 2 changes wrt. atlasexternals-2.0.132 (atlasexternals@2.0.132...2.0.133):
- Taught
FindGMock.cmake
how to find debug versions of the GoogleMock libraries;- As I discovered in ATLASG-1634, this fix is necessary to make it possible to build AnalysisBase in debug mode;
- Switched the Geant4 build to only producing static libraries (for ATLASSIM-3150).
Even though @bmorgan did so as well, I also tested the AthSimulation build with these updates, just for fun.
...
[100%] Built /data/hdd-4tb/projects/externals/build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/AthSimulation.confdb
[100%] AtlasGeant4: Package build succeeded
[100%] Built /data/hdd-4tb/projects/externals/build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/AthSimulation.confdb2
AtlasGeant4: Package build succeeded
[100%] Built target Package_AtlasGeant4
[100%] Built target AthSimulationConfdbMerge
[100%] Built target AthSimulationConfdb2Merge
TIMESTAMP::PROJECT_BUILD:: 436 ::
[bash][atlas]:externals > ls -lh build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4*
-rw-r--r-- 1 atlas atlas 13K May 12 13:31 build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4.components
-rw-r--r-- 1 atlas atlas 12K May 12 13:31 build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4.confdb
-rwxr-xr-x 1 atlas atlas 58M May 12 13:31 build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4.so
-rwxr-xr-x 1 atlas atlas 38M May 12 13:31 build/build/AthSimulation/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4Lib.so
[bash][atlas]:externals >
These are to be compared with:
[bash][atspot01]:~ > ls -lh /cvmfs/atlas-nightlies.cern.ch/repo/sw/master_AthSimulation_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthSimulation/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4*
-rwxr-xr-x 1 cvmfs cvmfs 9.8M May 11 22:13 /cvmfs/atlas-nightlies.cern.ch/repo/sw/master_AthSimulation_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthSimulation/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4Lib.so
-rwxr-xr-x 1 cvmfs cvmfs 28M May 11 22:13 /cvmfs/atlas-nightlies.cern.ch/repo/sw/master_AthSimulation_x86_64-centos7-gcc11-opt/2022-05-11T2101/AthSimulation/22.0.67/InstallArea/x86_64-centos7-gcc11-opt/lib/libAtlasGeant4.so
[bash][atspot01]:~ >
I.e. statically linking all the G4 libraries into AtlasGeant4
does make these libraries significantly larger. Exactly as I was expecting it to.
P.S. This is a significant change in the build, so full-build and full-unit-tests are absolutely necessary...