Skip to content

Commit

Permalink
Update LCIo and dd4hep
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Verbytskyi committed Jan 17, 2025
1 parent ec9a0b8 commit 0847de0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion DD4hep/01.30.00/DD4hep.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: DD4hep
Version: 01.30.00
Release: 7%{?dist}
Release: 8%{?dist}
Summary: DD4hep (Detector Description for High Energy Physics)
Group: Development/Tools
License: Custom
Expand Down Expand Up @@ -36,6 +36,7 @@ Requires: root HepMC3 python tbb python3
BuildRequires: geant4-devel
BuildRequires: root root-core root-graf3d-eve root-graf3d-eve7 root-genvector root-geom root-gui root-mathcore root-mathmore root-tree root-physics root-gdml root-graf3d root-tpython root-gui-browserv7
BuildRequires: HepMC3-devel HepMC3 python3 python3-devel boost-devel boost-filesystem tbb tbb-devel expat-devel xerces-c-devel
Requires: geant4-devel expat-devel xerces-c-devel
%endif

Prefix: %{_prefix}
Expand Down
1 change: 1 addition & 0 deletions DD4hep/01.30.00/PATCHED/cmake/DD4hep.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
#
#=================================================================================
include("GNUInstallDirs")

#---------------------------------------------------------------------------------------------------
if ( DD4hep_DIR )
Expand Down
4 changes: 3 additions & 1 deletion LCIO/02.22.02/LCIO.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: LCIO
Version: 2.22.02
Release: 1%{?dist}
Release: 2%{?dist}
Summary: LCIO (Linear Collider I/O) is a persistency framework and event data model for linear collider detector studies.

Group: Development/Tools
Expand Down Expand Up @@ -97,12 +97,14 @@ sed -i 's/python -c/python3 -c/g' tests/CMakeLists.txt
%cmake_install
mkdir -p $RPM_BUILD_ROOT/%{python3_sitearch}
mv $RPM_BUILD_ROOT/usr/python/* $RPM_BUILD_ROOT/%{python3_sitearch}
cp $RPM_BUILD_ROOT/%{_libdir}/cmake/SIO/*cmake $RPM_BUILD_ROOT/%{_libdir}/cmake/LCIO/
%endif

%if 0%{?suse_version}
%cmake_install
mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}
mv $RPM_BUILD_ROOT/usr/python/* $RPM_BUILD_ROOT/%{python_sitearch}
cp $RPM_BUILD_ROOT/%{_libdir}/cmake/SIO/*cmake $RPM_BUILD_ROOT/%{_libdir}/cmake/LCIO/
%endif

%post -p /sbin/ldconfig
Expand Down
4 changes: 2 additions & 2 deletions alllocal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export PATH=$PATH:$(pwd)

#set -x
declare -a BUILDLIST=(
LoopTools:2.16
#DD4hep:01.30.00
#LoopTools:2.16
DD4hep:01.30.00
#geant4:11.3.0
#LCIO:02.22.02
#whizard:3.1.5
Expand Down

0 comments on commit 0847de0

Please sign in to comment.