mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Explicitly import tools/bazel.rc
To fix build with Bazel 0.19.0 or later and it won't break build with old version or Bazel Fixes https://github.com/tensorflow/tensorflow/issues/23398
This commit is contained in:
@@ -1555,6 +1555,9 @@ def main():
|
||||
check_bazel_version('0.15.0')
|
||||
|
||||
reset_tf_configure_bazelrc()
|
||||
# Explicitly import tools/bazel.rc, this is needed for Bazel 0.19.0 or later
|
||||
write_to_bazelrc('import %workspace%/tools/bazel.rc')
|
||||
|
||||
cleanup_makefile()
|
||||
setup_python(environ_cp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user