Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement the execution transition #7935

Closed
katre opened this issue Apr 3, 2019 · 1 comment
Closed

Implement the execution transition #7935

katre opened this issue Apr 3, 2019 · 1 comment
Assignees
Labels
P1 I'll work on this now. (Assignee required) team-Configurability platforms, toolchains, cquery, select(), config transitions type: feature request

Comments

@katre
Copy link
Member

katre commented Apr 3, 2019

Implementation tracking issue for https://github.com/bazelbuild/proposals/blob/master/designs/2019-02-12-execution-transitions.md.

This is separate from migrating uses of the host transition, which will be a separate followup issue.

@katre katre added type: feature request P1 I'll work on this now. (Assignee required) team-Configurability platforms, toolchains, cquery, select(), config transitions labels Apr 3, 2019
@katre katre self-assigned this Apr 3, 2019
katre added a commit to katre/bazel that referenced this issue Apr 3, 2019
katre added a commit to katre/bazel that referenced this issue Apr 3, 2019
katre added a commit to katre/bazel that referenced this issue Apr 3, 2019
Part of work on execution transitions, bazelbuild#7935.
katre added a commit to katre/bazel that referenced this issue Apr 3, 2019
list of toolchain dependencies.

Part of work on execution transitions, bazelbuild#7935.
katre added a commit to katre/bazel that referenced this issue Apr 3, 2019
katre added a commit to katre/bazel that referenced this issue Apr 5, 2019
bazel-io pushed a commit that referenced this issue Apr 5, 2019
Part of work on execution transitions, #7935.

Closes #7960.

PiperOrigin-RevId: 242172690
katre added a commit to katre/bazel that referenced this issue Apr 5, 2019
bazel-io pushed a commit that referenced this issue Apr 5, 2019
Part of work on execution transitions, #7935.

Closes #7963.

PiperOrigin-RevId: 242199824
katre added a commit to katre/bazel that referenced this issue Apr 8, 2019
Part of work on execution transitions, bazelbuild#7935.
katre added a commit to katre/bazel that referenced this issue Apr 15, 2019
Also pass target description directly to load().

Part of work on execution transitions, bazelbuild#7935.
bazel-io pushed a commit that referenced this issue Apr 16, 2019
Also pass target description directly to load().

Part of work on execution transitions, #7935.

Closes #8045.

PiperOrigin-RevId: 243805205
katre added a commit to katre/bazel that referenced this issue Apr 16, 2019
katre added a commit to katre/bazel that referenced this issue Apr 16, 2019
katre added a commit to katre/bazel that referenced this issue Apr 16, 2019
bazel-io pushed a commit that referenced this issue Apr 16, 2019
Part of work on execution transitions, #7935.

Closes #8065.

PiperOrigin-RevId: 243843398
katre added a commit to katre/bazel that referenced this issue Apr 16, 2019
katre added a commit to katre/bazel that referenced this issue Apr 16, 2019
katre added a commit to katre/bazel that referenced this issue Apr 18, 2019
katre added a commit to katre/bazel that referenced this issue Apr 18, 2019
bazel-io pushed a commit that referenced this issue May 7, 2019
Part of work on execution transitions, #7935.

PiperOrigin-RevId: 247073726
bazel-io pushed a commit that referenced this issue May 15, 2019
… transitions.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248345771
bazel-io pushed a commit that referenced this issue May 15, 2019
… transitions.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248350730
bazel-io pushed a commit that referenced this issue May 15, 2019
… transitions.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248371992
bazel-io pushed a commit that referenced this issue May 15, 2019
… transitions.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248372791
bazel-io pushed a commit that referenced this issue May 15, 2019
… transitions.

Currently, the exec transition also calls getHost. As currently implemented, this means any host_* options get reset to defaults, instead of what was actually passed. In a further transition to a real host config, the expected set of flags won't be set.

This change fixes getHost so that host_* options are kept, so that exec->host transitions work as expected.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248386317
bazel-io pushed a commit that referenced this issue May 17, 2019
…maintain the value of the configuration distinguisher.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248685595
bazel-io pushed a commit that referenced this issue May 17, 2019
… the output path.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 248727403
bazel-io pushed a commit that referenced this issue May 29, 2019
…nsitions.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 250485307
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
… transitions.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248345771
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
… transitions.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248350730
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
… transitions.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248371992
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
… transitions.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248372791
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
… transitions.

Currently, the exec transition also calls getHost. As currently implemented, this means any host_* options get reset to defaults, instead of what was actually passed. In a further transition to a real host config, the expected set of flags won't be set.

This change fixes getHost so that host_* options are kept, so that exec->host transitions work as expected.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248386317
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
…maintain the value of the configuration distinguisher.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248685595
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
… the output path.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 248727403
irengrig pushed a commit to irengrig/bazel that referenced this issue Jun 18, 2019
…nsitions.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 250485307
bazel-io pushed a commit that referenced this issue Jul 8, 2019
…ill enable incremental migration of host attributes to exec attributes.

This has to be a startup flag because it will influence rule creation. Changing this flag will completely restart the Blaze server.

Part of work on execution transitions, #7935.

RELNOTES: Adds --incompatible_enable_execution_transition, which enables incremental migration of host attributes to exec attributes.
PiperOrigin-RevId: 256990772
bazel-io pushed a commit that referenced this issue Jul 8, 2019
…uring rule creation.

Part of work on execution transitions, #7935.

PiperOrigin-RevId: 257036118
irengrig pushed a commit to irengrig/bazel that referenced this issue Jul 15, 2019
…nsitions.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 250485307
irengrig pushed a commit to irengrig/bazel that referenced this issue Jul 15, 2019
…ill enable incremental migration of host attributes to exec attributes.

This has to be a startup flag because it will influence rule creation. Changing this flag will completely restart the Blaze server.

Part of work on execution transitions, bazelbuild#7935.

RELNOTES: Adds --incompatible_enable_execution_transition, which enables incremental migration of host attributes to exec attributes.
PiperOrigin-RevId: 256990772
irengrig pushed a commit to irengrig/bazel that referenced this issue Jul 15, 2019
…uring rule creation.

Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 257036118
bazel-io pushed a commit that referenced this issue Aug 6, 2019
bazel-io pushed a commit that referenced this issue Aug 7, 2019
bazel-io pushed a commit that referenced this issue Aug 8, 2019
@katre
Copy link
Member Author

katre commented May 11, 2020

This is fully implemented, remaining configuration issues should be reported separately so they can be triaged and fixed.

@katre katre closed this as completed May 11, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
P1 I'll work on this now. (Assignee required) team-Configurability platforms, toolchains, cquery, select(), config transitions type: feature request
Projects
None yet
Development

No branches or pull requests

1 participant