aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/git/git_configure.bzl
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com>2018-01-17 18:58:01 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com>2018-01-19 19:10:36 +0000
commite2a2194cd746a0f11e97d315ee870fd7e10fd62d (patch)
tree0c5dd82c9d746a77a9f38c2e83cd3154d0b525b9 /third_party/git/git_configure.bzl
parent2ce9d4421daa7e6f254c265bd754b503fdfc7570 (diff)
Add TF_CONFIG_TIME to environ list in git_configure.bzl
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'third_party/git/git_configure.bzl')
-rw-r--r--third_party/git/git_configure.bzl2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/git/git_configure.bzl b/third_party/git/git_configure.bzl
index 47e2125854..fdf1c0c36a 100644
--- a/third_party/git/git_configure.bzl
+++ b/third_party/git/git_configure.bzl
@@ -5,6 +5,7 @@
* `PYTHON_BIN_PATH`: location of python binary.
"""
+_TF_CONFIG_TIME = "TF_CONFIG_TIME"
_PYTHON_BIN_PATH = "PYTHON_BIN_PATH"
def _fail(msg):
@@ -50,6 +51,7 @@ def _git_conf_impl(repository_ctx):
git_configure = repository_rule(
implementation = _git_conf_impl,
environ = [
+ _TF_CONFIG_TIME,
_PYTHON_BIN_PATH,
],
)