geant4 build-block added
This commit is contained in:
Executable
+25
@@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env modbuild
|
||||||
|
|
||||||
|
pbuild::set_download_url "http://cern.ch/geant4-data/releases/$P.${V_PKG}.tar.gz"
|
||||||
|
pbuild::add_to_group 'Compiler'
|
||||||
|
|
||||||
|
#pbuild::install_docfiles 'ChangeLog'
|
||||||
|
#pbuild::install_docfiles 'compilers.txt'
|
||||||
|
#pbuild::install_docfiles 'COPYING'
|
||||||
|
#pbuild::install_docfiles 'COPYING.LESSER'
|
||||||
|
#pbuild::install_docfiles 'README.md'
|
||||||
|
|
||||||
|
pbuild::pre_configure() {
|
||||||
|
pbuild::add_configure_args "-DCMAKE_INSTALL_PREFIX=${PREFIX}"
|
||||||
|
pbuild::add_configure_args "-DGEANT4_USE_SYSTEM_CLHEP=ON"
|
||||||
|
pbuild::add_configure_args "-DPC_EXPAT_INCLUDE_DIRS=${LIBEXPAT_INCLUDE_DIR}"
|
||||||
|
if pbuild::use_flag 'multithreaded'; then
|
||||||
|
pbuild::add_configure_args "-DGEANT4_BUILD_MULTITHREADED=ON"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: sh
|
||||||
|
# sh-basic-offset: 8
|
||||||
|
# tab-width: 8
|
||||||
|
# End:
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
geant4/10.05 unstable gcc/7.3.0 clhep/2.4.1.0 b:libexpat/2.2.6 b:cmake/3.9.6
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#%Module1.0
|
||||||
|
|
||||||
|
module-whatis "class library for high energy physics"
|
||||||
|
module-url "https://proj-clhep.web.cern.ch/proj-clhep/"
|
||||||
|
module-license "GNU GPL, GNU GLPL"
|
||||||
|
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||||
|
module-help "
|
||||||
|
The CLHEP project was proposed by Leif Lönnblad at CHEP 92. It is intended
|
||||||
|
to be a set of HEP-specific foundation and utility classes such as random
|
||||||
|
generators, physics vectors, geometry and linear algebra. CLHEP is structured
|
||||||
|
in a set of packages independent of any external package (interdependencies
|
||||||
|
within CLHEP are allowed under certain conditions).
|
||||||
|
"
|
||||||
Reference in New Issue
Block a user