mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 12:20:24 +01:00
Upgrade pip version to 9.0.1; Prettier format of log text
* Upgrade pip version used in virtualenv created by the test-on-install to latest (9.0.1). * Highlight step titles of pip builds with bold font. PiperOrigin-RevId: 163732825
This commit is contained in:
parent
5887cc10e7
commit
21faf19d03
|
|
@ -17,6 +17,7 @@
|
||||||
# Common Bash functions used by build scripts
|
# Common Bash functions used by build scripts
|
||||||
|
|
||||||
COLOR_NC='\033[0m'
|
COLOR_NC='\033[0m'
|
||||||
|
COLOR_BOLD='\033[1m'
|
||||||
COLOR_LIGHT_GRAY='\033[0;37m'
|
COLOR_LIGHT_GRAY='\033[0;37m'
|
||||||
COLOR_GREEN='\033[0;32m'
|
COLOR_GREEN='\033[0;32m'
|
||||||
COLOR_RED='\033[0;31m'
|
COLOR_RED='\033[0;31m'
|
||||||
|
|
|
||||||
|
|
@ -299,7 +299,7 @@ create_activate_virtualenv_and_install_tensorflow() {
|
||||||
|
|
||||||
# Upgrade pip so it supports tags such as cp27mu, manylinux1 etc.
|
# Upgrade pip so it supports tags such as cp27mu, manylinux1 etc.
|
||||||
echo "Upgrade pip in virtualenv"
|
echo "Upgrade pip in virtualenv"
|
||||||
pip install --upgrade pip==8.1.2
|
pip install --upgrade pip==9.0.1
|
||||||
|
|
||||||
# Force tensorflow reinstallation. Otherwise it may not get installed from
|
# Force tensorflow reinstallation. Otherwise it may not get installed from
|
||||||
# last build if it had the same version number as previous build.
|
# last build if it had the same version number as previous build.
|
||||||
|
|
@ -489,10 +489,10 @@ while [[ ${COUNTER} -lt "${#PIP_TASKS[@]}" ]]; do
|
||||||
INDEX=COUNTER
|
INDEX=COUNTER
|
||||||
((INDEX++))
|
((INDEX++))
|
||||||
|
|
||||||
echo ""
|
echo
|
||||||
echo "=== PIP test step ${INDEX} of ${#PIP_TASKS[@]}: "\
|
printf "${COLOR_BOLD}=== PIP test step ${INDEX} of ${#PIP_TASKS[@]}: "\
|
||||||
"${PIP_TASKS[COUNTER]} (${PIP_TASKS_DESC[COUNTER]}) ==="
|
"${PIP_TASKS[COUNTER]} (${PIP_TASKS_DESC[COUNTER]}) ===${COLOR_NC}"
|
||||||
echo ""
|
echo
|
||||||
|
|
||||||
${PIP_TASKS[COUNTER]}
|
${PIP_TASKS[COUNTER]}
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user