rlease: Add version to build.log
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user