mirror of
https://github.com/wassname/ray.git
synced 2026-08-19 12:30:27 +08:00
Support building Java and Python version at the same time. (#2640)
* Support building Java and Python version at the same time. * Remove duplicated definition. * Refine the building process of local_scheduler * Refine * Add comment for languages * Modify instruction and add python,jave building to CI. * change according to comment
This commit is contained in:
committed by
Philipp Moritz
parent
493585574a
commit
4bd98eed45
Vendored
+8
-5
@@ -18,11 +18,12 @@ else
|
||||
fi
|
||||
echo "Using Python executable $PYTHON_EXECUTABLE."
|
||||
|
||||
LANGUAGE="python"
|
||||
if [[ -n "$2" ]]; then
|
||||
LANGUAGE=$2
|
||||
if [[ "$RAY_BUILD_JAVA" == "YES" ]]; then
|
||||
echo "Java library will be built."
|
||||
fi
|
||||
if [[ "$RAY_BUILD_PYTHON" == "YES" ]]; then
|
||||
echo "Python library will be built."
|
||||
fi
|
||||
echo "Build language is $LANGUAGE."
|
||||
|
||||
unamestr="$(uname)"
|
||||
|
||||
@@ -52,7 +53,9 @@ fi
|
||||
##############################################
|
||||
# arrow
|
||||
##############################################
|
||||
bash "$TP_SCRIPT_DIR/build_arrow.sh" $PYTHON_EXECUTABLE $LANGUAGE
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user