aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.py
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2017-12-22 15:44:29 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-22 15:48:23 -0800
commita64485dbb378d7ac6afc9082fd7176a957815a8c (patch)
tree8569696c2116f674fcc1ba7e324602d0de0cc5e5 /configure.py
parentf10a598e34da5ea4060ccfb8a027dd5c37c108c0 (diff)
Run gen_git_source.py inside of a repo_rule instead of configure.
PiperOrigin-RevId: 179971055
Diffstat (limited to 'configure.py')
-rw-r--r--configure.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/configure.py b/configure.py
index 1917af4b65..e4218b5651 100644
--- a/configure.py
+++ b/configure.py
@@ -265,19 +265,6 @@ def reset_tf_configure_bazelrc():
f.write('import %workspace%/.tf_configure.bazelrc\n')
-def run_gen_git_source(environ_cp):
- """Run the gen_git_source to create links.
-
- The links are for bazel to track dependencies for git hash propagation.
-
- Args:
- environ_cp: copy of the os.environ.
- """
- cmd = '"%s" tensorflow/tools/git/gen_git_source.py --configure %s' % (
- environ_cp.get('PYTHON_BIN_PATH'), os.getcwd())
- os.system(cmd)
-
-
def cleanup_makefile():
"""Delete any leftover BUILD files from the Makefile build.
@@ -1251,7 +1238,6 @@ def main():
reset_tf_configure_bazelrc()
cleanup_makefile()
setup_python(environ_cp)
- run_gen_git_source(environ_cp)
if is_windows():
environ_cp['TF_NEED_S3'] = '0'