-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix new boost libs failure in cache-lib mode and add test to cover co…
…llect_dependent_libs.sh (#3627) * Fix building breaks and add lib collection to Travis. * Fix arrow build * Fix version mismatch problem
- Loading branch information
Showing
3 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters