Skip to content

feat: Support cross compiles from linux to macos - #457

Open
mrmeku wants to merge 2 commits into
bazel-contrib:masterfrom
mrmeku:mrmeku-cross-compile-linux-to-darwin
Open

feat: Support cross compiles from linux to macos#457
mrmeku wants to merge 2 commits into
bazel-contrib:masterfrom
mrmeku:mrmeku-cross-compile-linux-to-darwin

Conversation

@mrmeku

@mrmeku mrmeku commented Feb 10, 2025

Copy link
Copy Markdown

Upstreaming an internal patch we've been using
for cross compiling the aspect CLI from a linux
machine to mac. We've been using a slightly
different version of this for quite some time
now so I cleaned up the logic significatly so it
could be upstreamed.

Upstreaming an internal patch we've been using
for cross compiling the aspect CLI from a linux
machine to mac. We've been using a slightly
different version of this for quite some time
now so I cleaned up the logic significatly so it
could be upstreamed.
Comment thread toolchain/cc_toolchain_config.bzl Outdated
Comment thread toolchain/cc_toolchain_config.bzl
While this was part of our original patch, it
really only helps give warning messages for
sysroot version mismatches. Remove for now since
its not really important to the core logic of the
change.
@mrmeku
mrmeku force-pushed the mrmeku-cross-compile-linux-to-darwin branch from b0ff8f6 to 830c14b Compare February 11, 2025 16:37
@fmeum
fmeum enabled auto-merge (squash) February 11, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants