-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
xds: Build third-party protos in separate build step #9269
Conversation
Looks like the build still fails
|
Ugh. This is going to take some more to deal with the dependencies used by thirdparty build but not by xds itself. I could workaround that by using compileOnly dependencies in thirdparty and re-declaring them for xds, but... Part of this trouble is made worse because the dependencies are sort of wonky to begin with to deal with shadow. |
This dramatically shortens build time, even for full builds. A full assemble of xds on my laptop goes from 1m 46s to 33s at least because errorprone is disabled for the protos.
bcee635
to
e6d2c90
Compare
@YifeiZhuang, this should be working now. |
Ugh. OOMing. |
@YifeiZhuang, the build OOMing is now resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the optimization and simplification, it looks great!
Should fix "Expiring Daemon because JVM heap space is exhausted". grpc/grpc-java#9269 probably pushed the build over the edge, but there's been evidence via flakes for a good while that we've been reaching the limit. b/238438006
Should fix "Expiring Daemon because JVM heap space is exhausted". grpc#9269 probably pushed the build over the edge, but there's been evidence via flakes for a good while that we've been reaching the limit.
Should fix "Expiring Daemon because JVM heap space is exhausted". grpc#9269 probably pushed the build over the edge, but there's been evidence via flakes for a good while that we've been reaching the limit. b/238334438
Should fix "Expiring Daemon because JVM heap space is exhausted". #9269 probably pushed the build over the edge, but there's been evidence via flakes for a good while that we've been reaching the limit. b/238334438
Should fix "Expiring Daemon because JVM heap space is exhausted". grpc/grpc-java#9269 probably pushed the build over the edge, but there's been evidence via flakes for a good while that we've been reaching the limit. b/238438006
Should fix "Expiring Daemon because JVM heap space is exhausted". grpc/grpc-java#9269 probably pushed the build over the edge, but there's been evidence via flakes for a good while that we've been reaching the limit. b/238438006
This dramatically shortens build time, even for full builds. A full
assemble of xds on my laptop goes from 1m 46s to 33s at least because
errorprone is disabled for the protos.
CC @sergiitk