-
Notifications
You must be signed in to change notification settings - Fork 54
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
build: add darwin_arm64 support #429
Conversation
May also require a fix or patch to the cc config: bazelbuild/bazel#13514 (comment)
ac385bd
to
59ed6bf
Compare
What's the error you're getting on M1 @jbedard ? |
@devversion Jason is working at Aspect and taking over the work the Dylan Martin was working on |
Perhaps it is time to bring in a proper cpp toolchain into this repo so we can avoid the k8 hack for remote execution on macos. I have an example of using the grails toolchain up here https://github.com/gregmagolan/bazel-llvm-cgo-cross-compile-example/blob/main/WORKSPACE#L39 |
This is the error with the patch referenced in the commit message but without this PR:
|
As stated though, the CC toolchain in I think this error just surfaces due to the use of something like |
@gregmagolan I don't 100% remember, but I don't think the cpp toolchain is a hack. It's supposed to be a copy of the default k8 toolchain in Bazel. We just need to define it ourselves/copy it since it's not exposed in |
Tagging |
Yeah, I would be good with that |
See #429 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
May also require a fix or patch to the cc config: bazelbuild/bazel#13514 (comment)
I'm not sure if there's anything that should be added, or maybe we'd want to wait until that patch isn't required? But without this and the linked patch the build on an m1 doesn't work...