diff --git a/Projects/AthDataQuality/build.sh b/Projects/AthDataQuality/build.sh index cf1c7ed70b74856c7147bcb7c0daceea60a04003..6433593b8598485912aacb62456d83448d106b78 100755 --- a/Projects/AthDataQuality/build.sh +++ b/Projects/AthDataQuality/build.sh @@ -3,6 +3,7 @@ # Script for building the release on top of externals built using one of the # scripts in this directory. # +_time_="/usr/bin/time -f time::\t%C::\treal:\t%E\tuser:\t%U\tsys:\t%S\n " # Function printing the usage information for the script usage() { @@ -98,7 +99,7 @@ if [ -n "$EXE_CMAKE" ]; then # from scratch in an incremental build. rm -f CMakeCache.txt # Now run the actual CMake configuration: - time cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ + $_time_ cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ -DCTEST_USE_LAUNCHERS:BOOL=TRUE \ ${AthDataQualitySrcDir} 2>&1 | tee cmake_config.log fi @@ -111,18 +112,18 @@ fi # make: if [ -n "$EXE_MAKE" ]; then - time make -k 2>&1 | tee cmake_build.log + $_time_ make -k 2>&1 | tee cmake_build.log fi # Install the results: if [ -n "$EXE_INSTALL" ]; then - time make install/fast \ + $_time_ make install/fast \ DESTDIR=${BUILDDIR}/install/AthDataQuality/${NICOS_PROJECT_VERSION} \ 2>&1 | tee cmake_install.log fi # Build an RPM for the release: if [ -n "$EXE_CPACK" ]; then - time cpack 2>&1 | tee cmake_cpack.log + $_time_ cpack 2>&1 | tee cmake_cpack.log cp AthDataQuality*.rpm ${BUILDDIR}/ fi diff --git a/Projects/AthDerivation/build.sh b/Projects/AthDerivation/build.sh index ec7edd0009745a3a4e7c14ec0656c31b83f8043e..dc559e3fd096ae90236300d680748c93828d5ec9 100755 --- a/Projects/AthDerivation/build.sh +++ b/Projects/AthDerivation/build.sh @@ -3,6 +3,7 @@ # Script for building the release on top of externals built using one of the # scripts in this directory. # +_time_="/usr/bin/time -f time::\t%C::\treal:\t%E\tuser:\t%U\tsys:\t%S\n " # Function printing the usage information for the script usage() { @@ -102,7 +103,7 @@ if [ -n "$EXE_CMAKE" ]; then # from scratch in an incremental build. rm -f CMakeCache.txt # Now run the actual CMake configuration: - time cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ + $_time_ cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ -DCTEST_USE_LAUNCHERS:BOOL=TRUE \ ${AthDerivationSrcDir} 2>&1 | tee cmake_config.log fi @@ -119,17 +120,17 @@ if [ -n "$EXE_MAKE" ]; then if [ -n "$NIGHTLY" ]; then EXTRAOPT=-k fi - time make ${EXTRAOPT} 2>&1 | tee cmake_build.log + $_time_ make ${EXTRAOPT} 2>&1 | tee cmake_build.log fi # Install the results: if [ -n "$EXE_INSTALL" ]; then - time make install/fast \ + $_time_ make install/fast \ DESTDIR=${BUILDDIR}/install/AthDerivation/${NICOS_PROJECT_VERSION} 2>&1 | tee cmake_install.log fi # Build an RPM for the release: if [ -n "$EXE_CPACK" ]; then - time cpack 2>&1 | tee cmake_cpack.log + $_time_ cpack 2>&1 | tee cmake_cpack.log cp AthDerivation*.rpm ${BUILDDIR}/ fi diff --git a/Projects/AthSimulation/build.sh b/Projects/AthSimulation/build.sh index 6334532cb193f383955ee817bc664f6360ba1edb..eafd4642c2194bc976a939932eb55ecf95ad9f6f 100755 --- a/Projects/AthSimulation/build.sh +++ b/Projects/AthSimulation/build.sh @@ -3,6 +3,7 @@ # Script for building the release on top of externals built using one of the # scripts in this directory. # +_time_="/usr/bin/time -f time::\t%C::\treal:\t%E\tuser:\t%U\tsys:\t%S\n " # Function printing the usage information for the script usage() { @@ -98,7 +99,7 @@ if [ -n "$EXE_CMAKE" ]; then # from scratch in an incremental build. rm -f CMakeCache.txt # Now run the actual CMake configuration: - time cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ + $_time_ cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ -DCTEST_USE_LAUNCHERS:BOOL=TRUE \ ${AthSimulationSrcDir} 2>&1 | tee cmake_config.log fi @@ -111,17 +112,17 @@ fi # make: if [ -n "$EXE_MAKE" ]; then - time make -k 2>&1 | tee cmake_build.log + $_time_ make -k 2>&1 | tee cmake_build.log fi # Install the results: if [ -n "$EXE_INSTALL" ]; then - time make install/fast \ + $_time_ make install/fast \ DESTDIR=${BUILDDIR}/install/AthSimulation/${NICOS_PROJECT_VERSION} 2>&1 | tee cmake_install.log fi # Build an RPM for the release: if [ -n "$EXE_CPACK" ]; then - time cpack 2>&1 | tee cmake_cpack.log + $_time_ cpack 2>&1 | tee cmake_cpack.log cp AthSimulation*.rpm ${BUILDDIR}/ fi diff --git a/Projects/Athena/build.sh b/Projects/Athena/build.sh index a40c1982c9e3f92f353d1f98d98304dc2e24172f..5593dbcdcbe45589e514782aefd22e996fa093c0 100755 --- a/Projects/Athena/build.sh +++ b/Projects/Athena/build.sh @@ -3,6 +3,7 @@ # Script for building the release on top of externals built using one of the # scripts in this directory. # +_time_="/usr/bin/time -f time::\t%C::\treal:\t%E\tuser:\t%U\tsys:\t%S\n " # Function printing the usage information for the script usage() { @@ -102,7 +103,7 @@ if [ -n "$EXE_CMAKE" ]; then # from scratch in an incremental build. rm -f CMakeCache.txt # Now run the actual CMake configuration: - time cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ + $_time_ cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ -DCTEST_USE_LAUNCHERS:BOOL=TRUE \ ${AthenaSrcDir} 2>&1 | tee cmake_config.log fi @@ -115,18 +116,18 @@ fi # make: if [ -n "$EXE_MAKE" ]; then - time make -k 2>&1 | tee cmake_build.log + $_time_ make -k 2>&1 | tee cmake_build.log fi # Install the results: if [ -n "$EXE_INSTALL" ]; then - time make install/fast \ + $_time_ make install/fast \ DESTDIR=${BUILDDIR}/install/Athena/${NICOS_PROJECT_VERSION} 2>&1 | tee cmake_install.log fi # Build an RPM for the release: if [ -n "$EXE_CPACK" ]; then - time cpack 2>&1 | tee cmake_cpack.log + $_time_ cpack 2>&1 | tee cmake_cpack.log cp Athena*.rpm ${BUILDDIR}/ fi diff --git a/Projects/AthenaP1/build.sh b/Projects/AthenaP1/build.sh index 25d0c4ec398d3b651c272925fa6ebde41922e364..70fe70d1677b9c735dea4d1bb86990aa1547cd71 100755 --- a/Projects/AthenaP1/build.sh +++ b/Projects/AthenaP1/build.sh @@ -3,6 +3,7 @@ # Script for building the release on top of externals built using one of the # scripts in this directory. # +_time_="/usr/bin/time -f time::\t%C::\treal:\t%E\tuser:\t%U\tsys:\t%S\n " # Function printing the usage information for the script usage() { @@ -102,7 +103,7 @@ if [ -n "$EXE_CMAKE" ]; then # from scratch in an incremental build. rm -f CMakeCache.txt # Now run the actual CMake configuration: - time cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ + $_time_ cmake -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} \ -DCTEST_USE_LAUNCHERS:BOOL=TRUE \ ${AthenaP1SrcDir} 2>&1 | tee cmake_config.log fi @@ -115,17 +116,17 @@ fi # make: if [ -n "$EXE_MAKE" ]; then - time make -k 2>&1 | tee cmake_build.log + $_time_ make -k 2>&1 | tee cmake_build.log fi # Install the results: if [ -n "$EXE_INSTALL" ]; then - time make install/fast \ + $_time_ make install/fast \ DESTDIR=${BUILDDIR}/install/AthenaP1/${NICOS_PROJECT_VERSION} 2>&1 | tee cmake_install.log fi # Build an RPM for the release: if [ -n "$EXE_CPACK" ]; then - time cpack 2>&1 | tee cmake_cpack.log + $_time_ cpack 2>&1 | tee cmake_cpack.log cp AthenaP1*.rpm ${BUILDDIR}/ fi