update ray cmake build process (#2853)

* use cmake to build ray project, no need to appply build.sh before cmake, fix some abuse of cmake, improve the build performance

* support boost external project, avoid using the system or build.sh boost

* keep compatible with build.sh, remove boost and arrow build from it.

* bugfix: parquet bison version control, plasma_java lib install problem

* bugfix: cmake, do not compile plasma java client if no need

* bugfix: component failures test timeout machenism has problem for plasma manager failed case

* bugfix: arrow use lib64 in centos, travis check-git-clang-format-output.sh does not support other branches except master

* revert some fix

* set arrow python executable, fix format error in component_failures_test.py

* make clean arrow python build directory

* update cmake code style, back to support cmake minimum version 3.4
This commit is contained in:
Hanwei Jin
2018-09-12 11:19:33 -07:00
committed by Philipp Moritz
parent d9eeaaf00a
commit fbf214e408
23 changed files with 422 additions and 137 deletions
+8 -8
View File
@@ -30,7 +30,7 @@ unamestr="$(uname)"
##############################################
# boost
##############################################
bash "$TP_SCRIPT_DIR/build_boost.sh"
#bash "$TP_SCRIPT_DIR/build_boost.sh"
##############################################
# redis
@@ -45,17 +45,17 @@ bash "$TP_SCRIPT_DIR/build_credis.sh"
##############################################
# flatbuffers if necessary
##############################################
if [[ "$unamestr" == "Linux" ]]; then
echo "building flatbuffers"
bash "$TP_SCRIPT_DIR/build_flatbuffers.sh"
fi
#if [[ "$unamestr" == "Linux" ]]; then
# echo "building flatbuffers"
# bash "$TP_SCRIPT_DIR/build_flatbuffers.sh"
#fi
##############################################
# arrow
##############################################
RAY_BUILD_PYTHON=$RAY_BUILD_PYTHON \
RAY_BUILD_JAVA=$RAY_BUILD_JAVA \
bash "$TP_SCRIPT_DIR/build_arrow.sh" $PYTHON_EXECUTABLE
#RAY_BUILD_PYTHON=$RAY_BUILD_PYTHON \
#RAY_BUILD_JAVA=$RAY_BUILD_JAVA \
#bash "$TP_SCRIPT_DIR/build_arrow.sh" $PYTHON_EXECUTABLE
##############################################
# parquet (skipped as it is inlined in build_arrow.sh)