From 16cbba9944fcff8ee0baac28f3e5a79287c871aa Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Mon, 17 Sep 2018 09:18:27 +0200 Subject: [PATCH] rlease: Add version to build.log --- tools/release/build_delivery_mac.sh | 5 ++++- tools/release/build_delivery_unix.sh | 5 ++++- tools/release/build_delivery_win.cmd | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tools/release/build_delivery_mac.sh b/tools/release/build_delivery_mac.sh index 6753c39636..936eb6c9c3 100755 --- a/tools/release/build_delivery_mac.sh +++ b/tools/release/build_delivery_mac.sh @@ -2,9 +2,12 @@ set -x set -e +# Print version +make print-OR_TOOLS_VERSION | tee build.log + # Check all prerequisite # cc -command -v clang | xargs echo "clang: " | tee build.log +command -v clang | xargs echo "clang: " | tee -a build.log command -v cmake | xargs echo "cmake: " | tee -a build.log command -v make | xargs echo "make: " | tee -a build.log command -v swig | xargs echo "swig: " | tee -a build.log diff --git a/tools/release/build_delivery_unix.sh b/tools/release/build_delivery_unix.sh index a2bbe7a7b3..934e15b14a 100755 --- a/tools/release/build_delivery_unix.sh +++ b/tools/release/build_delivery_unix.sh @@ -2,9 +2,12 @@ set -x set -e +# Print version +make print-OR_TOOLS_VERSION | tee build.log + # Check all prerequisite # cc -command -v gcc | xargs echo "gcc: " | tee build.log +command -v gcc | xargs echo "gcc: " | tee -a build.log command -v cmake | xargs echo "cmake: " | tee -a build.log command -v make | xargs echo "make: " | tee -a build.log command -v swig | xargs echo "swig: " | tee -a build.log diff --git a/tools/release/build_delivery_win.cmd b/tools/release/build_delivery_win.cmd index 27a4965a9f..fbf55e3f72 100644 --- a/tools/release/build_delivery_win.cmd +++ b/tools/release/build_delivery_win.cmd @@ -6,8 +6,10 @@ REM run it as: cmd /c tools\release\build_delivery_win.cmd REM Check all prerequisite REM C++ set PATH=%PATH%;tools;tools\win +make.exe print-OR_TOOLS_VERSION | tee.exe build.log + which.exe cmake || exit 1 -which.exe cmake | tee.exe build.log +which.exe cmake | tee.exe -a build.log REM Python which.exe C:\python27-64\python.exe || exit 1 echo C:\python27-64\python.exe: FOUND | tee.exe -a build.log