diff --git a/ci_testing/addons_cpu.sh b/ci_testing/addons_cpu.sh index 28411ef77c..8104575015 100644 --- a/ci_testing/addons_cpu.sh +++ b/ci_testing/addons_cpu.sh @@ -33,7 +33,7 @@ echo "" export CC_OPT_FLAGS='-mavx' export TF_NEED_CUDA=0 # TODO: Verify this is used in GPU custom-op -export PYTHON_BIN_PATH=`which python` +export PYTHON_BIN_PATH=$(which python) # Use default configuration here. yes 'y' | ./configure.sh diff --git a/configure.sh b/configure.sh index 8c4856c078..4036fea330 100755 --- a/configure.sh +++ b/configure.sh @@ -34,6 +34,7 @@ function write_action_env_to_bazelrc() { write_to_bazelrc "build --action_env $1=\"$2\"" } + [[ -f .bazelrc ]] && rm .bazelrc pip install $QUIET_FLAG -r requirements.txt