Small portability fixes to build scripts.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 14 Mar 2018 18:45:37 +0000 (11:45 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 14 Mar 2018 18:49:48 +0000 (11:49 -0700)
PiperOrigin-RevId: 189060812

tensorflow/tools/ci_build/windows/bazel/common_env.sh

index 1c35d74..7d4cc7a 100644 (file)
@@ -34,6 +34,9 @@ export BAZEL_SH=${BAZEL_SH:-"C:/tools/msys64/usr/bin/bash"}
 
 export PYTHON_BASE_PATH="${PYTHON_DIRECTORY:-Program Files/Anaconda3}"
 
+# Set the path to find bazel.
+export PATH="/c/tools/bazel/:$PATH"
+
 # Set Python path for ./configure
 export PYTHON_BIN_PATH="C:/${PYTHON_BASE_PATH}/python.exe"
 export PYTHON_LIB_PATH="C:/${PYTHON_BASE_PATH}/lib/site-packages"