Pass --host_jvmopt to host options attribute#15978
Pass --host_jvmopt to host options attribute#15978ThomasCJY wants to merge 2 commits intobazelbuild:masterfrom
--host_jvmopt to host options attribute#15978Conversation
|
@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? |
|
The PR is obsolete, see also 6d0716d |
This ports bazelbuild#15978, which never got merged, to Starlark. Closes bazelbuild#26346. PiperOrigin-RevId: 777732082 Change-Id: I699c8fc248d18e1e6db168725f49fc051829b45e
Background
We hit a similar issue with #12403 when trying to add
--host_jvmoptin our build. The error message looks like this:Change
Follow the idea of this fix (e667082), we tried adding
hostJvmOptsto the host options attribute and we verified it fixed the issue.