Skip to content
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

Make launcher_maker cross-platform #23731

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 24, 2024

//tools/launcher:launcher_maker produces launchers for Windows, but there is no reason why it must run on Windows. By making it runnable on all platforms, *_binary targets can be built for Windows from any platform assuming that a suitable cross-compiling C++ toolchain is available.

`//tools/launcher:launcher_maker` produces launcher *for* Windows, but there is no reason why it must *run on* Windows. By making it runnable on all platforms, `*_binary` targets can be built *for* Windows from any platform assuming that a suitable cross-compiling C++ toolchain is available.
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Sep 24, 2024
Copy link
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@meteorcloudy meteorcloudy added the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Sep 24, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Sep 24, 2024

@bazel-io fork 7.4.0

Copy link
Contributor

@rickeylev rickeylev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My C is limited, and my Windows less so, but LGTM

@iancha1992 iancha1992 added the team-Rules-CPP Issues for C++ rules label Sep 25, 2024
@github-actions github-actions bot removed awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally awaiting-review PR is awaiting review from an assigned reviewer labels Sep 26, 2024
@fmeum fmeum deleted the launcher-maker-cross branch September 26, 2024 19:47
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Sep 26, 2024
`//tools/launcher:launcher_maker` produces launchers *for* Windows, but there is no reason why it must *run on* Windows. By making it runnable on all platforms, `*_binary` targets can be built *for* Windows from any platform assuming that a suitable cross-compiling C++ toolchain is available.

Closes bazelbuild#23731.

PiperOrigin-RevId: 679251350
Change-Id: I1b380d5b28a616ace88a3b049a2b4554aa209ae3
github-merge-queue bot pushed a commit that referenced this pull request Sep 27, 2024
`//tools/launcher:launcher_maker` produces launchers *for* Windows, but
there is no reason why it must *run on* Windows. By making it runnable
on all platforms, `*_binary` targets can be built *for* Windows from any
platform assuming that a suitable cross-compiling C++ toolchain is
available.

Closes #23731.

PiperOrigin-RevId: 679251350
Change-Id: I1b380d5b28a616ace88a3b049a2b4554aa209ae3

Commit
108f117

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.4.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants