You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New configure script alters .bazelrc in the source tree #22762
The issue is that the configure script now updates the contents of the .bazelrc file in place - thus changing the source code of the repo. This is very unhelpful for change management. There is a comment in the .bazelrc file which seems to suggest that the changes which are made should not be checked in.
@girving Bazel-0.18.0 changes which files it reads. It originally dropped reading tools/bazel.rc so we had to move everything into .bazelrc. it will support a try-import so i'm gonna unconditionally add that to bazelrc and then the file wont change with and without configuring. Bazel-0.18.0 is due out on monday so I was gonna bump the minimum version and fix it then. Its pretty awkward yeah but it wont be for that long so hopefully not too bad.
Activity
DavidNorman commentedon Oct 5, 2018
The bottom line is being added by the configure script and causes the .bazelrc to be permanently modified.
avijit-nervana commentedon Oct 6, 2018
The line containing
.bazelrcwas removed from the.gitignore- which is a recent change (post branching ofr1.12) and just need to be reverted.girving commentedon Oct 13, 2018
Cc @perfinion. This makes TensorFlow development awkward for people outside Google. What was the motivation?
perfinion commentedon Oct 13, 2018
@girving Bazel-0.18.0 changes which files it reads. It originally dropped reading tools/bazel.rc so we had to move everything into .bazelrc. it will support a try-import so i'm gonna unconditionally add that to bazelrc and then the file wont change with and without configuring. Bazel-0.18.0 is due out on monday so I was gonna bump the minimum version and fix it then. Its pretty awkward yeah but it wont be for that long so hopefully not too bad.
Update to bazel-0.18.0 and use try-import
Revert "Move bazel.rc to workspace root to support bazel-0.18.0"
Update to bazel-0.18.0 and use try-import
Update to bazel-0.18.0 and use try-import
Update to bazel-0.18.0 and use try-import