forked from XRPLF/rippled
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Travis to container-based infrastructure
- Loading branch information
Showing
2 changed files
with
80 additions
and
28 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,19 @@ | ||
#!/bin/sh | ||
# Assumptions: | ||
# 1) BOOST_ROOT and BOOST_URL are already defined, | ||
# and contain valid values. | ||
# 2) The last namepart of BOOST_ROOT matches the | ||
# folder name internal to boost's .tar.gz | ||
set -e | ||
if [ ! -d "$BOOST_ROOT/lib" ] | ||
then | ||
wget $BOOST_URL -O /tmp/boost.tar.gz | ||
cd `dirname $BOOST_ROOT` | ||
tar xzf /tmp/boost.tar.gz | ||
cd $BOOST_ROOT && \ | ||
./bootstrap.sh --prefix=$BOOST_ROOT && \ | ||
./b2 -d1 && ./b2 -d0 install | ||
else | ||
echo "Using cached boost at $BOOST_ROOT" | ||
fi | ||
|