-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Pass --host_jvmopt
to host options attribute
#15978
base: master
Are you sure you want to change the base?
Conversation
@lberki ptal |
One diagnostic followup is to see the exact difference in the configurations expressed. So given:
what does
show? (those hashes are really long so you can pass a simple prefix to save typing) You could also try passing |
We got the same conflicting action errors in our Android build with Bazel 6.x when trying to run with
so nothing too surprising there. Setting |
@gregestren Even though this is somewhat mitigated by |
I think I closed this because it lingered without an
awaiting-user-response
Happy to re-review given these last comments. |
@gregestren I fixed the conflicts and it's ready for another review. |
Could #18561 be a candidate solution for 6.4.0?
It and @fmeum when you say "somewhat mitigated", which scenarios are you thinking of that still crash? I'm pushing back some because |
At this point I am quite convinced that
As far as I understand the situation, |
To be clear, you still support #18561 for 7.0? @sdtwigg is intending to merge.
@sdtwigg anything you could think of? |
Background
We hit a similar issue with #12403 when trying to add
--host_jvmopt
in our build. The error message looks like this:Change
Follow the idea of this fix (e667082), we tried adding
hostJvmOpts
to the host options attribute and we verified it fixed the issue.