From e553c426d340513c36132d305c0e79ab75ce6ec4 Mon Sep 17 00:00:00 2001
From: Ben Morgan <Ben.Morgan@warwick.ac.uk>
Date: Thu, 11 Apr 2024 12:10:16 +0200
Subject: [PATCH] Update version to geant4.10.6.patch03.atlas11

---
 source/global/management/include/G4Version.hh |  6 +++---
 source/run/src/G4RunManagerKernel.cc          | 14 ++++++++------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/source/global/management/include/G4Version.hh b/source/global/management/include/G4Version.hh
index e11de14226..fb009302d0 100644
--- a/source/global/management/include/G4Version.hh
+++ b/source/global/management/include/G4Version.hh
@@ -44,7 +44,7 @@
 #endif
 
 #ifndef G4VERSION_TAG
-#define G4VERSION_TAG "$Name: geant4.10.6.patch03.atlas10 $"
+#define G4VERSION_TAG "$Name: geant4.10.6.patch03.atlas11 $"
 #endif
 
 // as variables
@@ -53,9 +53,9 @@
 #include "G4String.hh"
 
 #ifdef G4MULTITHREADED
-static const G4String G4Version = "$Name: geant4.10.6.patch03.atlas10 [MT]$";
+static const G4String G4Version = "$Name: geant4.10.6.patch03.atlas11 [MT]$";
 #else
-static const G4String G4Version = "$Name: geant4.10.6.patch03.atlas10 $";
+static const G4String G4Version = "$Name: geant4.10.6.patch03.atlas11 $";
 #endif
 static const G4String G4Date    = "(6-November-2020)";
 
diff --git a/source/run/src/G4RunManagerKernel.cc b/source/run/src/G4RunManagerKernel.cc
index 73ba7302af..1cf907de77 100644
--- a/source/run/src/G4RunManagerKernel.cc
+++ b/source/run/src/G4RunManagerKernel.cc
@@ -144,9 +144,9 @@ G4RunManagerKernel::G4RunManagerKernel()
     << "                                 : IEEE-TNS 53 (2006), 270-278" << G4endl
     << "                                 : NIM A 835 (2016), 186-225" << G4endl
     << "                             WWW : http://geant4.org/" << G4endl
-    << " Internal ATLAS build geant4.10.6.patch03.atlas10" << G4endl
-    << " Created on 10/11/23 11:30:00;" << G4endl
-    << " Using CLHEP 2.4.1.3; XercesC 3.2.3; config x86_64-centos7-gcc8-opt" << G4endl << G4endl
+    << " Internal ATLAS build geant4.10.6.patch03.atlas11" << G4endl
+    << " Created on 11/04/24 12:00:00;" << G4endl
+    << " Using CLHEP 2.4.1.3; XercesC 3.2.3; config x86_64-el9-gcc13-opt" << G4endl << G4endl
     << " Differences w.r.t. the \"plain\" geant4-10-06-patch-03 are:" << G4endl
     << " * G4AtlasRK4 stepper" << G4endl
     << " * G4MagInt_Driver patch to reduce differences w.r.t. G4IntegrationDriver" << G4endl
@@ -158,6 +158,7 @@ G4RunManagerKernel::G4RunManagerKernel()
     << " * Allow compilation against C++20" << G4endl
     << " * G4AntiNeutron is unstable by default" << G4endl
     << " * Use correct SD pointer for zero energy deposits in Woodcock tracking (ATLASSIM-6923)" << G4endl
+    << " * Allow builds with LTO" << G4endl
     << "**************************************************************" << G4endl
     << G4endl;
 }
@@ -242,9 +243,9 @@ numberOfParallelWorld(0),geometryNeedsToBeClosed(true),
        << "                                 : IEEE-TNS 53 (2006), 270-278" << G4endl
        << "                                 : NIM A 835 (2016), 186-225" << G4endl
        << "                             WWW : http://geant4.org/" << G4endl
-       << " Internal ATLAS build geant4.10.6.patch03.atlasmt10" << G4endl
-       << " Created on 10/11/23 11:30:00;" << G4endl
-       << " Using CLHEP 2.4.1.3; XercesC 3.2.3; config x86_64-centos7-gcc8-opt" << G4endl << G4endl
+       << " Internal ATLAS build geant4.10.6.patch03.atlasmt11" << G4endl
+       << " Created on 11/04/23 12:00:00;" << G4endl
+       << " Using CLHEP 2.4.1.3; XercesC 3.2.3; config x86_64-el9-gcc13-opt" << G4endl << G4endl
        << " Differences w.r.t. the \"plain\" geant4-10-06-patch-03 are:" << G4endl
        << " * G4AtlasRK4 stepper" << G4endl
        << " * G4MagInt_Driver patch to reduce differences w.r.t. G4IntegrationDriver" << G4endl
@@ -256,6 +257,7 @@ numberOfParallelWorld(0),geometryNeedsToBeClosed(true),
        << " * Allow compilation against C++20" << G4endl
        << " * G4AntiNeutron is unstable by default" << G4endl
        << " * Use correct SD pointer for zero energy deposits in Woodcock tracking (ATLASSIM-6923)" << G4endl
+       << " * Allow builds with LTO" << G4endl
        << "**************************************************************" << G4endl
        << G4endl;
        break;
-- 
GitLab