Skip to content

Commit 6399a01

Browse files
committed
Import Geant4 11.0.0.beta source tree
1 parent c968e26 commit 6399a01

File tree

4,274 files changed

+198882
-228769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,274 files changed

+198882
-228769
lines changed

CMakeLists.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ endif()
1616
#-----------------------------------------------------------------------
1717
# - Define CMake requirements and override make rules as needed
1818
#
19-
cmake_minimum_required(VERSION 3.8...3.18 FATAL_ERROR)
20-
if(${CMAKE_VERSION} VERSION_LESS 3.12)
21-
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
22-
endif()
19+
cmake_minimum_required(VERSION 3.12...3.20 FATAL_ERROR)
2320

2421
# - Make overrides for default flags, so they appear in interfaces
2522
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
@@ -31,9 +28,9 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
3128
# in tests/examples which are subprojects. All calls must use
3229
# the same form.
3330
project(Geant4)
34-
set(${PROJECT_NAME}_VERSION_MAJOR 10)
35-
set(${PROJECT_NAME}_VERSION_MINOR 7)
36-
set(${PROJECT_NAME}_VERSION_PATCH 2)
31+
set(${PROJECT_NAME}_VERSION_MAJOR 11)
32+
set(${PROJECT_NAME}_VERSION_MINOR 0)
33+
set(${PROJECT_NAME}_VERSION_PATCH 0)
3734
set(${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}")
3835

3936
# - Prepend our own CMake Modules to the search path

ReleaseNotes/Beta4.11.0-1.txt

+1,290
Large diffs are not rendered by default.

cmake/History

+102-9
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,121 @@ add this in the documentation for the changed file as [BUGFIX #BUGNUMBER].
2727

2828
----------------------------------------------------------
2929
* Reverse chronological order (last date on top), please *
30-
3130
----------------------------------------------------------
3231

33-
19th March 2021 - Gunter Folger (cmake-V10-06-52)
32+
21 June 2021 - Julia Yarba (cmake-V10-07-28)
33+
- Clean cmake/Modules/FindPythia8.cmake
34+
(remove trailing whitespaces)
35+
36+
18 June 2021 - Julia Yarba (cmake-V10-07-27)
37+
- Add cmake/Modules/FindPythia8.cmake
38+
- Update cmake/Modules/G4ConfigureCMakeHelpers.cmake
39+
40+
8 June 2021 - Gunter Folger (cmake-V10-07-26)
41+
- Switch to G4EMLOW 7.17
42+
43+
03 June 2021 - Ben Morgan (cmake-V10-07-25)
44+
- Remove explicit setting of PTL_ cmake options.
45+
- Add GEANT4_USE_PTL_LOCKS option to forward to internal PTL
46+
as PTL_USE_LOCKS.
47+
48+
27 May 2021 - Ben Morgan (cmake-V10-07-24)
49+
- Implement build/test script in Python to check for cycles in the
50+
declared source module dependency graph.
51+
52+
25 May 2021 - Jonathan Madsen (cmake-V10-07-23)
53+
- External PTL requires v2.0.0
54+
55+
25 May 2021 - Ben Morgan (cmake-V10-07-22)
56+
- Clarify use of Freetype for both analysis and visualization
57+
- Remove use of no longer required imported target shim for build
58+
59+
24 May 2021 - Ben Morgan (cmake-V10-07-21)
60+
- Bump minimum CMake version to 3.12
61+
62+
22 May 2021 - Ben Morgan (cmake-V10-07-20)
63+
- Qualify geant4_add_feature descriptions with "G4_" to distinguish them from
64+
CMake property descriptions.
65+
66+
18 May 2021 - Ben Morgan (cmake-V10-07-19)
67+
- Require C++17 as minimum standard to compile Geant4
68+
- Allow compilation against C++23 with CMake 3.20 and newer
69+
- Check for filesystem support in native or extension (GNU/Clang) libraries
70+
71+
15 May 2021 - Jonathan Madsen (cmake-V10-07-18)
72+
- Set GEANT4_BUILD_BUILTIN_BACKTRACE to ON by default so novice
73+
and intermediate users can, by default, get valuable information
74+
on segmentation faults. Projects with their own signal handlers
75+
can configure with this option off, set G4BACKTRACE="none" in
76+
the environment, create their signal handlers after G4RunManager
77+
gets created, or add `G4BackTrace::DefaultSignals() = std::set<int>{};`
78+
before G4RunManager gets created.
79+
80+
10 May 2021 - John Allison (cmake-V10-07-17)
81+
- With vis-V10-07-03, incorporating visman-V10-07-06 and vis_toolsg-V10-07-00.
82+
Introduce a new vis driver, TOOLSSG (Guy Barrand).
83+
o Four (mutually exclusive) options:
84+
. TOOLSSG_X11_GLES
85+
. TOOLSSG_WINDOWS_GLES
86+
. TOOLSSG_XT_GLES
87+
. TOOLSSG_QT_GLES
88+
89+
7 May 2021 - Gunter Folger (cmake-V10-07-16)
90+
- Switch to G4EMLOW 7.16
91+
92+
4th May 2021 - Ben Morgan (cmake-V10-07-15)
93+
- Remove obsolete -stdlib flag for AppleClang
94+
95+
3 May 2021 - Gunter Folger (cmake-V10-07-14)
96+
- Switch to G4EMLOW 7.15
97+
98+
28 April 2021 - Ben Morgan (cmake-V10-07-13)
99+
- Preliminary support for sanitizers
100+
101+
22 March 2021 - Alberto Ribon (cmake-V10-07-12)
102+
- Modules/G4BuildSettings.cmake : removed deprecated PHP_AS_HP
103+
environmental variable.
104+
105+
19th March 2021 - Gunter Folger (cmake-V10-07-11)
34106
- Update to older G4TENDL 1.3.2, 1.4 has problems.
35107

36-
30th January 2021 - Gunter Folger (cmake-V10-06-51)
37-
- Update to patched dataset G4PARTICLEXS 3.1.1 as provided by Vladimir I.
108+
18 March 2021 - Ben Morgan (cmake-V10-07-10)
109+
- Check for unparsed arguments in G4DeveloperAPI functions to
110+
provide better validation against typos/etc in use
38111

39-
22nd January 2021 - Ben Morgan (cmake-V10-06-50)
112+
09 March 2021 - John Allison (cmake-V10-07-09)
113+
- Remove all references to Wt.
114+
115+
23 February 2021 - Ben Morgan (cmake-V10-07-08)
116+
- Store PUBLIC/PRIVATE/INTERFACE module usage requirements explicitly
117+
118+
18th February 2021 - Ben Morgan (cmake-V10-07-07)
119+
- Add G4tools target to CMake/GNUmake configuration following its
120+
migration from analysis to externals categories.
121+
122+
4th February 2021 - Igor Semeniouk (cmake-V10-07-06)
123+
- geant4.bat prototype
124+
- hint to run geant4-config on windows
125+
126+
30th January 2021 - Gunter Folger (cmake-V10-07-05)
127+
- Update to patched dataset G4PARTICLEXS 3.1.1 as provided by Vladimir I.
128+
129+
22nd January 2021 - Ben Morgan (cmake-V10-07-04)
40130
- Update for GitHub PR #17: Provide same fix for MacPorts
41131
- Address Bugzilla #2303: Fail configuration if Qt is enabled with CMake < 3.9
42132

43-
15th January 2021 - Ben Morgan (cmake-V10-06-49)
133+
15th January 2021 - Ben Morgan (cmake-V10-07-03)
44134
- Apply GitHub PR #17 from Florian Uhlig: Fix installation
45-
error with Homebrew X11/GL.
135+
error with Homebrew X11/GL.
46136

47-
11th January 2021 - Ben Morgan (cmake-V10-06-48)
137+
11th January 2021 - Ben Morgan (cmake-V10-07-02)
48138
- Apply GitHub PR #16 from andriish: Fix configure/build with
49139
system PTL 1.0.0.
50140

51-
14th December 2020 - Ben Morgan (cmake-V10-06-47)
141+
5th January 2010 - Gunter Folger (cmake-V10-07-01)
142+
- Update to dataset G4EMLOW 7.14 as provided by Sebastien
143+
144+
8th November 2020 - Ben Morgan (cmake-V10-07-00)
52145
- Install/Use builtin PTL CMake scripts from PTL subdirectory
53146
alongside Geant4Config.cmake
54147

cmake/Modules/FindPythia8.cmake

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Locate Pythia8 library
2+
# in a directory defined via PYTHIA8 environment variable
3+
#
4+
# Defines:
5+
# PYTHIA8_FOUND
6+
# PYTHIA8_LIBRARIES
7+
# PYTHIA8_INCLUDES
8+
9+
find_library(PYTHIA8_LIBRARY NAMES pythia8
10+
HINTS $ENV{PYTHIA8} $ENV{PYTHIA8}/lib)
11+
12+
set(PYTHIA8_LIBRARIES ${PYTHIA8_LIBRARY})
13+
#message(STATUS PYTHIA8_LIBRARIES ${PYTHIA8_LIBRARIES} )
14+
15+
find_path( PYTHIA8_INCLUDES Pythia8/Pythia.h
16+
HINTS $ENV{PYTHIA8} $ENV{PYTHIA8}/include $ENV{PYTHIA8}/include/Pythia8 )
17+
set(PYTHIA8_INCLUDES ${PYTHIA8_INCLUDES})
18+
19+
# handle the QUIETLY and REQUIRED arguments and set PYTHIA8_FOUND to TRUE if
20+
# all listed variables are TRUE
21+
INCLUDE(FindPackageHandleStandardArgs)
22+
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Pythia8 DEFAULT_MSG PYTHIA8_LIBRARIES)
23+
24+
mark_as_advanced(PYTHIA8_FOUND PYTHIA8_LIBRARIES PYTHIA8_INCLUDES)

cmake/Modules/FindWt.cmake

-144
This file was deleted.

0 commit comments

Comments
 (0)