Skip to content

Commit

Permalink
tune emscripten build
Browse files Browse the repository at this point in the history
  • Loading branch information
liangdaji committed Feb 4, 2020
1 parent 21634f4 commit 473cbb7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/travis-emscripten/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ echo -en 'travis_fold:start:installing_dependencies\\r'
test -e boost_1_70_0_install/include/boost/version.hpp || (
rm -rf boost_1_70_0
rm -f boost.tar.gz
wget -q 'https://sourceforge.net/projects/boost/files/boost/1.70.0/boost_1_70_0.tar.gz/download'\
-O boost.tar.gz
WORKSPACE=/root/project
TMPFILE=$WORKSPACE/deps/downloads/boost.tar.gz
if test -f $TMPFILE ; then
cp $TMPFILE boost.tar.gz
else
wget -q 'https://sourceforge.net/projects/boost/files/boost/1.70.0/boost_1_70_0.tar.gz/download'\
-O boost.tar.gz
fi
test "$(shasum boost.tar.gz)" = "7804c782deb00f36ac80b1000b71a3707eadb620 boost.tar.gz"
tar -xzf boost.tar.gz
rm boost.tar.gz
Expand Down

0 comments on commit 473cbb7

Please sign in to comment.