Skip to content

Commit c4af0f6

Browse files
facaiyseanpmorgan
authored andcommitted
BLD: always install the latest tf in configure.sh (#587)
1 parent 8ff0b54 commit c4af0f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ function generate_shared_lib_name() {
3939
fi
4040
}
4141

42-
QUIET_FLAG=""
42+
PIP_INSTALL_OPTS="--upgrade"
4343
if [[ $1 == "--quiet" ]]; then
44-
QUIET_FLAG="--quiet"
44+
PIP_INSTALL_OPTS="$PIP_INSTALL_OPTS --quiet"
4545
elif [[ ! -z "$1" ]]; then
4646
echo "Found unsupported args: $@"
4747
exit 1
@@ -57,7 +57,7 @@ esac
5757
BUILD_DEPS_DIR=build_deps
5858
REQUIREMENTS_TXT=$BUILD_DEPS_DIR/requirements.txt
5959

60-
${PYTHON_VERSION:=python} -m pip install $QUIET_FLAG -r $REQUIREMENTS_TXT
60+
${PYTHON_VERSION:=python} -m pip install $PIP_INSTALL_OPTS -r $REQUIREMENTS_TXT
6161

6262
[[ -f .bazelrc ]] && rm .bazelrc
6363

0 commit comments

Comments
 (0)