-
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
remove need for --define=EXECUTOR=remote in remote execution #7254
Comments
+1
…On Fri, 25 Jan 2019 at 16:56 Jakob Buchgraber ***@***.***> wrote:
This is mainly used by Bazel to force compiling singlejar and ijar from
source when running actions on a remote execution system that might not be
compatible with the precompiled singlejar and ijar versions.
Make this obsolete by defining the right platform constraints.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7254>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIF79o0BwltJFsjjlVfeCdr-RhWhbMks5vGxs1gaJpZM4aTB4J>
.
|
Taking a look to see how we can use a |
@katre what's the status of this? |
@agoulti tested a few variations, and ended up stuck on the fact that what is needed is a config_setting that can detect host vs remote, even when host and remote are identical. No good solution to this yet. |
I'd say the problem is the combination of these two factors:
|
. |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 2.5 years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
Is this related to Execution Platforms vs. Strategies? |
The define would probably be able to be removed if these were unified, yes. |
Do you know if there's any work being done on that? It's shown as approved currently: https://github.com/bazelbuild/proposals/blob/afa38929278b7c20870125d1d32394955967263f/README.md?plain=1#L72 but the last update is a while ago and I haven't stumbled on things related to it in the code. |
Sadly not. It's a good idea but it hasn't been prioritized and I don't have enough time to work on it as background. |
Is there sufficient capacity to support a community-driven implementation of this? ("this" being the "Execution Platforms vs. Strategies" proposal, which includes resolving this issue) |
I'd be happy to support a community-driven implementation. My worry currently is that the previous proposal is fairly old, and could probably use a rewrite to update it and provide clarity with new features. |
It still needs more work (polish, expanding on background, etc) but since I've got a functional prototype I figured it worth sharing. Compared to the Strategy Properties on Platforms proposal;
Source for the prototype is at Silic0nS0ldier#5, if a platform is referenced by an alias (assuming that can be done) it won't work. |
This is mainly used by Bazel to force compiling singlejar and ijar from source when running actions on a remote execution system that might not be compatible with the precompiled singlejar and ijar versions.
Make this obsolete by defining the right platform constraints.
The text was updated successfully, but these errors were encountered: