Skip to content

Commit

Permalink
Fix typo in configure.sh from last change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 260833759
  • Loading branch information
broken committed Aug 1, 2019
1 parent 635b3b7 commit 60226ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oss_scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function write_action_env_to_bazelrc() {
if python -c "import tensorflow" &> /dev/null; then
echo 'using installed tensorflow'
else
pip install tensorflow-1.14.0
pip install tensorflow==1.14.0
fi

TF_CFLAGS=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))') )
Expand All @@ -34,4 +34,4 @@ TF_LFLAGS2=( $(python -c 'import tensorflow as tf; print(" ".join(tf.sysconfig.g

write_action_env_to_bazelrc "TF_HEADER_DIR" ${TF_CFLAGS:2}
write_action_env_to_bazelrc "TF_SHARED_LIBRARY_DIR" ${TF_LFLAGS:2}
write_action_env_to_bazelrc "TF_SHARED_LIBRARY" ${TF_LFLAGS:3}
write_action_env_to_bazelrc "TF_SHARED_LIBRARY" ${TF_LFLAGS2:3}

0 comments on commit 60226ca

Please sign in to comment.