Skip to content
Snippets Groups Projects
Commit e4dde2d0 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Updated the Gaudi and Athena build scripts to make use the new ability

of the CMake/CPack configuration of producing debug RPMs off of
RelWithDebInfo builds.


Former-commit-id: 65aa13e2
parent ed0e4c4b
No related branches found
No related tags found
8 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles
...@@ -126,6 +126,9 @@ fi ...@@ -126,6 +126,9 @@ fi
error_stamp=`mktemp .tmp.error.XXXXX` ; rm -f $error_stamp error_stamp=`mktemp .tmp.error.XXXXX` ; rm -f $error_stamp
{ {
cpack || touch $error_stamp cpack || touch $error_stamp
if [ "$BUILDTYPE" = "RelWithDebInfo" ]; then
cpack --config CPackDbgRPMConfig.cmake || touch $error_stamp
fi
} 2>&1 | tee cmake_cpack.log } 2>&1 | tee cmake_cpack.log
test -f $error_stamp && ((ERROR_COUNT++)) test -f $error_stamp && ((ERROR_COUNT++))
rm -f $error_stamp rm -f $error_stamp
......
...@@ -178,6 +178,9 @@ fi ...@@ -178,6 +178,9 @@ fi
# Build an RPM for the release: # Build an RPM for the release:
if [ -n "$EXE_CPACK" ]; then if [ -n "$EXE_CPACK" ]; then
{ time cpack; } 2>&1 | tee cmake_cpack.log { time cpack; } 2>&1 | tee cmake_cpack.log
if [ "$BUILDTYPE" = "RelWithDebInfo" ]; then
{ time cpack --config CPackDbgRPMConfig.cmake; } 2>&1 | tee -a cmake_cpack.log
fi
cp Athena*.rpm ${BUILDDIR}/ cp Athena*.rpm ${BUILDDIR}/
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment