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:
parent
2ce9d4421d
commit
e2a2194cd7
2
third_party/git/git_configure.bzl
vendored
2
third_party/git/git_configure.bzl
vendored
@ -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,
|
||||
],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user