Skip to content

Commit

Permalink
Merge pull request #6554 from cms-sw/update-dd4-newcmake-flag
Browse files Browse the repository at this point in the history
Update DD4Hep to latest on master
  • Loading branch information
mrodozov authored Jan 25, 2021
2 parents 0a1efb6 + a118fed commit d014009
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions dd4hep-toolfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ cat << \EOF_TOOLFILE >%i/etc/scram.d/dd4hep-core.xml
</client>
<runtime name="ROOT_INCLUDE_PATH" value="$INCLUDE" type="path"/>
<runtime name="PATH" value="$DD4HEP_CORE_BASE/bin" type="path"/>
<flags cppdefines="DD4HEP_USE_GEANT4_UNITS=1"/>
<use name="root_cxxdefaults"/>
<use name="root"/>
<use name="boost"/>
Expand Down
8 changes: 4 additions & 4 deletions dd4hep.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### RPM external dd4hep v01-14x
### RPM external dd4hep v01-15x

%define tag 934ce101148be15cce7725caad8c25084a272938
%define tag 12caacb209af70835dbdd48efa7ef8d0b77b3dcd
%define branch master
%define github_user AIDASoft
%define keep_archives true
Expand All @@ -23,8 +23,8 @@ CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX='%{i}' \
-DDD4HEP_USE_PYROOT=ON \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_BUILD_TYPE=Release \
-DDD4HEP_USE_TBB=ON \
-DCMAKE_PREFIX_PATH=${TBB_ROOT}/cmake/TBB;${CLHEP_ROOT};${XERCES_C_ROOT}"
-DDD4HEP_USE_GEANT4_UNITS=ON \
-DCMAKE_PREFIX_PATH=${CLHEP_ROOT};${XERCES_C_ROOT}"

#Build normal Shared D4Hep without Geant4
rm -rf ../build; mkdir ../build; cd ../build
Expand Down

0 comments on commit d014009

Please sign in to comment.