-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal build vs OSS misaligment #122
Comments
P.s. NIT we Need to enforce: P.s.s. the linking required many CPU cores at every iteration cause we had >50 targets to link (very resource intensive) for just running a single test after an edit. So we needed to do the linking in parallel with many core and with a speedup of LD Gold (#110). Also I needed to keep the PR branch freezed without rebasing/merging for months cause a rebase will eventually invalidate the Bazel cache requiring a monster build time again. |
We had also a quite tricky issue filtering single test on the development cycle. You was already notifed at: |
@mihaimaruseac I don't know if you could add something here for tensorflow/tensorflow#57468 (comment) Thanks |
I believe tensorflow/tensorflow@96b26a2 is a huge step in fixing this, fixing most (if not all) such issues. |
@cheshire Thanks, do you have a full list of the currently enabled warnings as error in copybara related jobs? |
We are still suppressing all the warnings: # Suppress all C++ compiler warnings, otherwise build logs become 10s of MBs.
build:android --copt=-w
build:ios --copt=-w
build:linux --host_copt=-w
build:macos --copt=-w
build:windows --copt=/W0
build:windows --host_copt=/W0 With the mentioned commit we are just enabling the specific So the point here is to understand what flags we have in the copybara builds as if we are using |
Sadly, I don't think we can do much here. The issue there was that an internal file with internal code also needed to be updated. Using copybara instead of the internal file would have been too cumbersome. Though, I also think that this type of breakages is small. It should only occur when you are adding new defines. |
We had some c++ flags disaligment between c++ and copybara. See:
tensorflow/tensorflow#56276 (comment)
We had also many problem about failure reproducibility between OSS and internal test without forcing OSS with
this to reproduce internal failures: tensorflow/tensorflow@11dc383
Also we had multiple rollbacks after merge.
/cc @cheshire any other note?
/cc @learning-to-play
The text was updated successfully, but these errors were encountered: