From f4f58794fa07c5753267cf5ef61b7f487b266048 Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Fri, 26 Apr 2019 18:34:15 -0400 Subject: [PATCH] build clang8 only when $BUILD_CLANG8 is "true" --- scripts/eosio_build_amazon.sh | 2 +- scripts/eosio_build_centos.sh | 2 +- scripts/eosio_build_darwin.sh | 2 +- scripts/eosio_build_ubuntu.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/eosio_build_amazon.sh b/scripts/eosio_build_amazon.sh index 71953c48b25..1c04d8c4b1c 100755 --- a/scripts/eosio_build_amazon.sh +++ b/scripts/eosio_build_amazon.sh @@ -149,7 +149,7 @@ if [ $? -ne 0 ]; then exit -1; fi printf "\\n" -if [ $PIN_COMPILER ]; then +if [ "$BUILD_CLANG8" = "true" ]; then printf "Checking Clang 8 support...\\n" if [ ! -d $CLANG8_ROOT ] || [ $FORCE_BUILD ]; then printf "Installing Clang 8...\\n" diff --git a/scripts/eosio_build_centos.sh b/scripts/eosio_build_centos.sh index b48b5ea45f4..003e90783d3 100755 --- a/scripts/eosio_build_centos.sh +++ b/scripts/eosio_build_centos.sh @@ -209,7 +209,7 @@ printf "\\n" export CPATH="${CPATH}:${PYTHON3PATH}/root/usr/include/python3.6m" # m on the end causes problems with boost finding python3 -if [ $PIN_COMPILER ]; then +if [ "$BUILD_CLANG8" = "true" ]; then printf "Checking Clang 8 support...\\n" if [ ! -d $CLANG8_ROOT ] || [ $FORCE_BUILD ]; then printf "Installing Clang 8...\\n" diff --git a/scripts/eosio_build_darwin.sh b/scripts/eosio_build_darwin.sh index b6ddf93236c..f9170f4b8c2 100755 --- a/scripts/eosio_build_darwin.sh +++ b/scripts/eosio_build_darwin.sh @@ -277,7 +277,7 @@ fi cd .. printf "\\n" -if $PIN_COMPILER; then +if [ "$BUILD_CLANG8" = "true" ]; then printf "Checking Clang 8 support...\\n" if [ ! -d $CLANG8_ROOT ] || [ $FORCE_BUILD ]; then printf "Installing Clang 8...\\n" diff --git a/scripts/eosio_build_ubuntu.sh b/scripts/eosio_build_ubuntu.sh index 66c1d1203cc..97221823a88 100755 --- a/scripts/eosio_build_ubuntu.sh +++ b/scripts/eosio_build_ubuntu.sh @@ -162,7 +162,7 @@ if [ $? -ne 0 ]; then exit -1; fi printf "\\n" -if [ $PIN_COMPILER ]; then +if [ "$BUILD_CLANG8" = "true" ]; then printf "Checking Clang 8 support...\\n" if [ ! -d $CLANG8_ROOT ] || [ $FORCE_BUILD ]; then printf "Installing Clang 8...\\n"