Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR: 268993 Reported by: erik@tenku.dk (maintainer)
- Loading branch information
Showing
4 changed files
with
57,230 additions
and
50,934 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
TIMESTAMP = 1672014081 | ||
SHA256 (geant4-11.0.3/G4ABLA.3.1.tar.gz) = 7698b052b58bf1b9886beacdbd6af607adc1e099fc730ab6b21cf7f090c027ed | ||
SIZE (geant4-11.0.3/G4ABLA.3.1.tar.gz) = 107286 | ||
SHA256 (geant4-11.0.3/G4EMLOW.8.0.tar.gz) = d919a8e5838688257b9248a613910eb2a7633059e030c8b50c0a2c2ad9fd2b3b | ||
SIZE (geant4-11.0.3/G4EMLOW.8.0.tar.gz) = 326834565 | ||
SHA256 (geant4-11.0.3/G4ENSDFSTATE.2.3.tar.gz) = 9444c5e0820791abd3ccaace105b0e47790fadce286e11149834e79c4a8e9203 | ||
SIZE (geant4-11.0.3/G4ENSDFSTATE.2.3.tar.gz) = 290745 | ||
SHA256 (geant4-11.0.3/G4INCL.1.0.tar.gz) = 716161821ae9f3d0565fbf3c2cf34f4e02e3e519eb419a82236eef22c2c4367d | ||
SIZE (geant4-11.0.3/G4INCL.1.0.tar.gz) = 95840 | ||
SHA256 (geant4-11.0.3/G4NDL.4.6.tar.gz) = 9d287cf2ae0fb887a2adce801ee74fb9be21b0d166dab49bcbee9408a5145408 | ||
SIZE (geant4-11.0.3/G4NDL.4.6.tar.gz) = 599862135 | ||
SHA256 (geant4-11.0.3/G4PARTICLEXS.4.0.tar.gz) = 9381039703c3f2b0fd36ab4999362a2c8b4ff9080c322f90b4e319281133ca95 | ||
SIZE (geant4-11.0.3/G4PARTICLEXS.4.0.tar.gz) = 12242648 | ||
SHA256 (geant4-11.0.3/G4PhotonEvaporation.5.7.tar.gz) = 761e42e56ffdde3d9839f9f9d8102607c6b4c0329151ee518206f4ee9e77e7e5 | ||
SIZE (geant4-11.0.3/G4PhotonEvaporation.5.7.tar.gz) = 10089240 | ||
SHA256 (geant4-11.0.3/G4PII.1.3.tar.gz) = 6225ad902675f4381c98c6ba25fc5a06ce87549aa979634d3d03491d6616e926 | ||
SIZE (geant4-11.0.3/G4PII.1.3.tar.gz) = 4293607 | ||
SHA256 (geant4-11.0.3/G4RadioactiveDecay.5.6.tar.gz) = 3886077c9c8e5a98783e6718e1c32567899eeb2dbb33e402d4476bc2fe4f0df1 | ||
SIZE (geant4-11.0.3/G4RadioactiveDecay.5.6.tar.gz) = 1059792 | ||
SHA256 (geant4-11.0.3/G4RealSurface.2.2.tar.gz) = 9954dee0012f5331267f783690e912e72db5bf52ea9babecd12ea22282176820 | ||
SIZE (geant4-11.0.3/G4RealSurface.2.2.tar.gz) = 132506346 | ||
SHA256 (geant4-11.0.3/G4SAIDDATA.2.0.tar.gz) = 1d26a8e79baa71e44d5759b9f55a67e8b7ede31751316a9e9037d80090c72e91 | ||
SIZE (geant4-11.0.3/G4SAIDDATA.2.0.tar.gz) = 38502 | ||
SHA256 (geant4-11.0.3/geant4-geant4-3136fa97238bf2b24eba982206fb72b32b898d96_GL0.tar.gz) = 403573c6028b7dbd01858980846565ec5a9b4030ce968e46503369f7bdb37da6 | ||
SIZE (geant4-11.0.3/geant4-geant4-3136fa97238bf2b24eba982206fb72b32b898d96_GL0.tar.gz) = 35651209 | ||
TIMESTAMP = 1676675889 | ||
SHA256 (geant4/geant4-v11.1.0.tar.gz) = 051e43066152c373f74746bdffe6f0c9e4175ad9cf1eb7b67da0dc1a05d0b985 | ||
SIZE (geant4/geant4-v11.1.0.tar.gz) = 36412990 | ||
SHA256 (geant4/G4ABLA.3.1.tar.gz) = 7698b052b58bf1b9886beacdbd6af607adc1e099fc730ab6b21cf7f090c027ed | ||
SIZE (geant4/G4ABLA.3.1.tar.gz) = 107286 | ||
SHA256 (geant4/G4EMLOW.8.2.tar.gz) = 3d7768264ff5a53bcb96087604bbe11c60b7fea90aaac8f7d1252183e1a8e427 | ||
SIZE (geant4/G4EMLOW.8.2.tar.gz) = 329428359 | ||
SHA256 (geant4/G4ENSDFSTATE.2.3.tar.gz) = 9444c5e0820791abd3ccaace105b0e47790fadce286e11149834e79c4a8e9203 | ||
SIZE (geant4/G4ENSDFSTATE.2.3.tar.gz) = 290745 | ||
SHA256 (geant4/G4INCL.1.0.tar.gz) = 716161821ae9f3d0565fbf3c2cf34f4e02e3e519eb419a82236eef22c2c4367d | ||
SIZE (geant4/G4INCL.1.0.tar.gz) = 95840 | ||
SHA256 (geant4/G4NDL.4.7.tar.gz) = 7e7d3d2621102dc614f753ad928730a290d19660eed96304a9d24b453d670309 | ||
SIZE (geant4/G4NDL.4.7.tar.gz) = 1114928821 | ||
SHA256 (geant4/G4PARTICLEXS.4.0.tar.gz) = 9381039703c3f2b0fd36ab4999362a2c8b4ff9080c322f90b4e319281133ca95 | ||
SIZE (geant4/G4PARTICLEXS.4.0.tar.gz) = 12242648 | ||
SHA256 (geant4/G4PhotonEvaporation.5.7.tar.gz) = 761e42e56ffdde3d9839f9f9d8102607c6b4c0329151ee518206f4ee9e77e7e5 | ||
SIZE (geant4/G4PhotonEvaporation.5.7.tar.gz) = 10089240 | ||
SHA256 (geant4/G4PII.1.3.tar.gz) = 6225ad902675f4381c98c6ba25fc5a06ce87549aa979634d3d03491d6616e926 | ||
SIZE (geant4/G4PII.1.3.tar.gz) = 4293607 | ||
SHA256 (geant4/G4RadioactiveDecay.5.6.tar.gz) = 3886077c9c8e5a98783e6718e1c32567899eeb2dbb33e402d4476bc2fe4f0df1 | ||
SIZE (geant4/G4RadioactiveDecay.5.6.tar.gz) = 1059792 | ||
SHA256 (geant4/G4RealSurface.2.2.tar.gz) = 9954dee0012f5331267f783690e912e72db5bf52ea9babecd12ea22282176820 | ||
SIZE (geant4/G4RealSurface.2.2.tar.gz) = 132506346 | ||
SHA256 (geant4/G4SAIDDATA.2.0.tar.gz) = 1d26a8e79baa71e44d5759b9f55a67e8b7ede31751316a9e9037d80090c72e91 | ||
SIZE (geant4/G4SAIDDATA.2.0.tar.gz) = 38502 | ||
SHA256 (geant4/G4TENDL.1.4.tar.gz) = 4b7274020cc8b4ed569b892ef18c2e088edcdb6b66f39d25585ccee25d9721e0 | ||
SIZE (geant4/G4TENDL.1.4.tar.gz) = 912261874 |
35 changes: 35 additions & 0 deletions
35
science/geant4/files/patch-cmake_Modules_G4OptionalComponents.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- cmake/Modules/G4OptionalComponents.cmake.orig 2023-03-31 14:13:37 UTC | ||
+++ cmake/Modules/G4OptionalComponents.cmake | ||
@@ -38,8 +38,31 @@ endif() | ||
|
||
option(GEANT4_USE_SYSTEM_CLHEP "Use system CLHEP library" ${_default_use_system_clhep}) | ||
|
||
+#[[CLHEP installs CMake Config files not, e.g., to '<prefix>/libdata/CLHEP/' (where CMake | ||
+ would have no trouble finding the files), but to '<prefix>/libdata/CLHEP-<VERSION>/'. | ||
+ There is no straight-forward way to communicate this to CMake's `find_package`, but | ||
+ we can provide a list of additional PATHS for CMake to try as *prefixes*. | ||
+ We find all absolute paths from the system's pre-defined prefixes to directories | ||
+ containing a file "CLHEPConfig.cmake" and provide these paths as prefixes, slightly | ||
+ abusing the fact that one of CMake's search paths is just '<prefix>/'. | ||
+ See https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure.]] | ||
+unset(_paths) | ||
+foreach(_prefix ${CMAKE_SYSTEM_PREFIX_PATH}) | ||
+ file(GLOB _find_results ${_prefix}/*/CLHEP*) | ||
+ list(APPEND _paths ${_find_results}) | ||
+endforeach() | ||
+list(REMOVE_DUPLICATES _paths) | ||
+foreach(_path ${_paths}) | ||
+ file(GLOB _find_results ${_path}/CLHEPConfig.cmake) | ||
+ if("${_find_results}" STREQUAL "") | ||
+ list(REMOVE_ITEM _paths ${_path}) | ||
+ endif() | ||
+endforeach() | ||
+unset(_find_results) | ||
if(GEANT4_USE_SYSTEM_CLHEP) | ||
- find_package(CLHEP 2.4.6.0 REQUIRED CONFIG) | ||
+ find_package(CLHEP 2.4.6.0 REQUIRED CONFIG | ||
+ PATHS ${_paths}) | ||
+ unset(_paths) | ||
geant4_save_package_variables(CLHEP CLHEP_DIR) | ||
else() | ||
set(CLHEP_FOUND TRUE) |
Oops, something went wrong.