rlease: Add version to build.log

This commit is contained in:
Corentin Le Molgat
2018-09-17 09:18:27 +02:00
parent 490360f443
commit 16cbba9944
3 changed files with 11 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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