Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
restore a few pieces mistakingly dropped from amazon script during merge
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Apr 26, 2019
1 parent 3042142 commit 9ba2952
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/eosio_build_amazon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ fi

printf "\\n"

### clean up force build before starting
if [ $FORCE_BUILD ];then
rm -rf \
${SRC_LOCATION}/cmake-$CMAKE_VERSION \
${SRC_LOCATION}/llvm ${OPT_LOCATION}/llvm4 \
${TMP_LOCATION}/clang8 ${OPT_LOCATION}/clang8 \
${SRC_LOCATION}/zlib ${OPT_LOCATION}/zlib \
${SRC_LOCATION}/boost \
${SRC_LOCATION}/mongodb-linux-x86_64-amazon-$MONGODB_VERSION \
${SRC_LOCATION}/mongo-c-driver-$MONGO_C_DRIVER_VERSION \
${SRC_LOCATION}/mongo-cxx-driver-r$MONGO_CXX_DRIVER_VERSION
fi

printf "Checking CMAKE installation...\\n"
if [ ! -e $CMAKE ] || [ $FORCE_BUILD ]; then
Expand All @@ -134,9 +146,10 @@ fi
if [ $? -ne 0 ]; then exit -1; fi



printf "\\n"

if $PIN_COMPILER; then
if [ $PIN_COMPILER ]; then
printf "Checking Clang 8 support...\\n"
if [ ! -d $CLANG8_ROOT ] || [ $FORCE_BUILD ]; then
printf "Installing Clang 8...\\n"
Expand Down

0 comments on commit 9ba2952

Please sign in to comment.