mirror of
https://github.com/vale981/ray
synced 2025-03-09 21:06:39 -04:00

* Fix building breaks and add lib collection to Travis. * Fix arrow build * Fix version mismatch problem
22 lines
729 B
Bash
Executable file
22 lines
729 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Cause the script to exit if a single command fails.
|
|
set -e
|
|
|
|
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
|
|
|
# Copy the libs to thirdparty/external_project_libs.
|
|
# -n means do not build again.
|
|
bash $ROOT_DIR/../thirdparty/scripts/collect_dependent_libs.sh -n
|
|
|
|
# Import all the libs cached in local to environment variables.
|
|
source $ROOT_DIR/../thirdparty/external_project_libs/resource.txt
|
|
|
|
# Clean the arrow building libs and use the cache libs.
|
|
pushd $ROOT_DIR/../build/external/arrow/src/arrow_ep
|
|
echo "Clean Arrow building files."
|
|
rm -rf $ROOT_DIR/../build/external/arrow/src/arrow_ep-build/
|
|
popd
|
|
|
|
# Rebuild ray with libs cache environment variables, which is fast.
|
|
bash $ROOT_DIR/install-ray.sh
|