Make include verification aware of Windows case-insensitivity#28810
Make include verification aware of Windows case-insensitivity#28810fmeum wants to merge 9 commits intobazelbuild:masterfrom
Conversation
|
Hi @fmeum. Is the test being fixed currently? |
|
On it. Still trying to find the least bad fix. |
|
@fmeum Any update on this? We hope to get the 9.0.1 RC1 tomorrow |
|
I talked about a fix with @lberki and can likely finish it tomorrow. |
a37b404 to
9eb72e1
Compare
3083034 to
3b19125
Compare
|
What's the expection RAM regression of this? |
|
@lberki is running a benchmark @iancha1992 let's defer this to a 9.0.2 release if it's the last blocker for 9.0.1 - the fix is too uncertain at this point |
|
Uh, I can run a benchmark once there is code, but I'm not at the moment. What I did do is to check how many source artifacts there are in a large build (I can tell you the exact one in private) and the end result is ~500K. With 16 bytes per Java object that comes out to 8MB of wastage for the wrappers. Reasonable, I think, but we do have a few builds dancing on the edge already so I didn't want to agree to it just willy-nilly. |
3b19125 to
9636181
Compare
|
@lberki This is functional now - could you run a benchmark? I had to drop the wrapper optimization since lookup via a |
|
I tested this on Bazel's own build and found |
cc9c458 to
0a47cf5
Compare
0a47cf5 to
d9f5d44
Compare
|
I ran some benchmarks. The first one is encouraging: the memory impact for n=5 builds is ~7MB median, which is about half a standard deviation. I kicked off some more benchmarks just in case, because it has happened in the past that my ad hoc benchmark said "OK" and it wasn't. |
|
Next set of benchmarks is doubly encouraging: it was a big build without special focus on C++ and the memory hit is well within measurement error. So on the memory use side, we're good. |
|
Let me know when I should actually review the code of this pull request! |
|
@lberki It's ready now, thanks for all the testing! |
|
@lberki Please let me know if you need help merging this. Thanks! |
|
I drafted 2 changes on top of your code:
I feel like if we allow having incorrect cases (the current impl), we should at least allow option 1. |
|
Please review the changes @lberki |
…uild#28810) ### Description ### Motivation Fix bazelbuild#28803 ### Build API Changes No ### Checklist - [ ] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). ### Release Notes RELNOTES: None Closes bazelbuild#28810. PiperOrigin-RevId: 893719641 Change-Id: I4cd7a5ac6b1a35467ea38fdfd1063dc3ed35ffa0
…uild#28810) Fix bazelbuild#28803 No - [ ] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). RELNOTES: None Closes bazelbuild#28810. PiperOrigin-RevId: 893719641 Change-Id: I4cd7a5ac6b1a35467ea38fdfd1063dc3ed35ffa0
…uild#28810) ### Description ### Motivation Fix bazelbuild#28803 ### Build API Changes No ### Checklist - [ ] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). ### Release Notes RELNOTES: None Closes bazelbuild#28810. PiperOrigin-RevId: 893719641 Change-Id: I4cd7a5ac6b1a35467ea38fdfd1063dc3ed35ffa0
…#28810) (#29213) ### Description ### Motivation Fix #28803 ### Build API Changes No ### Checklist - [ ] I have added tests for the new use cases (if any). - [ ] I have updated the documentation (if applicable). ### Release Notes RELNOTES: None Closes #28810. PiperOrigin-RevId: 893719641 Change-Id: I4cd7a5ac6b1a35467ea38fdfd1063dc3ed35ffa0 Commit 246ea98 Co-authored-by: Fabian Meumertzheim <[email protected]>
This binary is based on bazel 9.0.1, with the following patches on top: * bazelbuild/bazel#28810 * bazelbuild/bazel#29057 * cl/890821032 It resolves build problems with bazel 9 when targeting windows. The patches will be included in a future version of bazel, which we'll upgrade to when released. Bug: 404623658 Change-Id: I4d0e56270c9fb6565eb5ccda6a135f486a6a6964
This binary is based on bazel 9.0.1, with the following patches on top: * bazelbuild/bazel#28810 * bazelbuild/bazel#29057 * cl/890821032 It resolves build problems with bazel 9 when targeting windows. The patches will be included in a future version of bazel, which we'll upgrade to when released. Bug: 404623658 Change-Id: Idd6d5dde35d57b1654cefdebc4c9f2db6a6a6964
This binary is based on bazel 9.0.1, with the following patches on top: * bazelbuild/bazel#28810 * bazelbuild/bazel#29057 * cl/890821032 It resolves build problems with bazel 9 when targeting windows. The patches will be included in a future version of bazel, which we'll upgrade to when released. Bug: 404623658 Change-Id: Ibf2ebcde8ae7acb526fc466c689e55f96a6a6964
Description
Motivation
Fix #28803
Build API Changes
No
Checklist
Release Notes
RELNOTES: None