Add TF_CONFIG_TIME to environ list in git_configure.bzl

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2018-01-17 18:58:01 +00:00
parent 2ce9d4421d
commit e2a2194cd7

View File

@ -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,
],
)