geant4: version 11.2.1 added and build-block reviewed

This commit is contained in:
2025-05-26 18:05:04 +02:00
parent e34ce19757
commit c15706a031
5 changed files with 40 additions and 29 deletions

View File

@@ -9,6 +9,7 @@ clhep:
docfiles: [AUTHORS, LICENSE, NEWS, README]
configure_with: cmake
build_requires: ['cmake/3.26.3']
relstage: stable
urls:
- url: https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-2.4.7.1.tgz
shasums:
@@ -20,4 +21,3 @@ clhep:
- systems: [merlin-*, ra-*]
group_deps:
compiler: {gcc: [13.1.0]}
relstage: unstable

View File

@@ -5,24 +5,27 @@ geant4:
defaults:
group: Compiler
overlay: base
systems: [rhel7, rhel8, rhel9]
docfiles: [AUTHORS, LICENSE, NEWS, README]
configure_with: cmake
urls:
- url: https://gitlab.cern.ch/geant4/geant4/-/archive/v11.2.1/geant4-v11.2.1.tar.gz
- url: https://gitlab.cern.ch/${P}/${P}/-/archive/v${V_PKG}/${P}-v${V_PKG}.tar.gz
shasums:
geant4-v11.2.1.tar.gz: 76c9093b01128ee2b45a6f4020a1bcb64d2a8141386dea4674b5ae28bcd23293
versions:
v11.2.1:
11.2.1:
variants:
- systems: [merlin-*, ra-*]
- systems: [merlin-.*, ra-.*]
group_deps:
compiler: {gcc: [13.1.0]}
build_requires: ['clhep/2.4.7.1', 'libexpat/2.2.6','cmake/3.26.3']
configure_args: ['-DGEANT4_USE_SYSTEM_CLHEP=ON',
'-DPC_EXPAT_INCLUDE_DIRS=${LIBEXPAT_INCLUDE_DIR}',
'-DGEANT4_INSTALL_DATA=ON',
'-DGEANT4_BUILD_MULTITHREADED=ON']
relstage: unstable
build_requires:
- clhep/2.4.7.1
- libexpat/2.2.6
- cmake/3.26.3
configure_args:
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DPC_EXPAT_INCLUDE_DIRS=${LIBEXPAT_INCLUDE_DIR}
- -DGEANT4_INSTALL_DATA=ON
- -DGEANT4_BUILD_MULTITHREADED=ON
relstage: stable

View File

@@ -1,19 +1,2 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://github.com/$P/$P/releases/download/R_${V_PKG//./_}/expat-${V_PKG}.tar.bz2"
pbuild::add_to_group 'Libraries'
#pbuild::compile_in_sourcetree
pbuild::install_docfiles 'AUTHORS'
pbuild::install_docfiles 'Changes'
pbuild::install_docfiles 'COPYING'
pbuild::install_docfiles 'README.md'
pbuild::pre_configure() {
pbuild::add_configure_args "--disable-shared"
pbuild::add_configure_args "--with-pic"
}
pbuild::make_all

View File

@@ -0,0 +1,26 @@
format: 1
libexpat:
defaults:
group: Libraries
overlay: base
relstage: stable
configure_args: []
docfiles:
- AUTHOR'
- Changes
- COPYING
- README.md
urls:
- url: https://github.com/$P/$P/releases/download/R_${V_PKG//./_}/expat-${V_PKG}.tar.bz2
configure_args:
- --disable-shared
- --with-pic
shasums:
libexpat-2.2.6.tar.bz2: 0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5
versions:
2.2.6:
config:
relstage: stable

View File

@@ -1 +0,0 @@
libexpat/2.2.6 unstable