aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-04-20 07:05:44 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-04-20 08:30:56 -0700
commit7933420df6700e8037da7f06c9cd8e0121fb769a (patch)
treebc7f5c5d7d1acc8e316ca7effcbba14984d10c33 /configure
parent88b81ac944dff7e5c1fa820cc442717bbc75f62a (diff)
Adding python_configure.bzl to (partially) replace python_config.sh
Change: 153709951
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 48a4594da6..47bdd5d018 100755
--- a/configure
+++ b/configure
@@ -86,6 +86,9 @@ while true; do
PYTHON_BIN_PATH=""
# Retry
done
+export PYTHON_BIN_PATH
+write_action_env_to_bazelrc "PYTHON_BIN_PATH" "$PYTHON_BIN_PATH"
+# TODO(ngiraldo): allow the user to optionally set PYTHON_INCLUDE_PATH and NUMPY_INCLUDE_PATH
## Set up MKL related environment settings
if false; then # Disable building with MKL for now
@@ -243,7 +246,7 @@ fi
# Invoke python_config and set up symlinks to python includes
-./util/python/python_config.sh --setup "$PYTHON_BIN_PATH"
+./util/python/python_config.sh "$PYTHON_BIN_PATH"
# Append CC optimization flags to bazel.rc
echo >> tools/bazel.rc