You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support cross-compilation from macOS for C++ and Java in .bazelrc (#28)
- In .bazelrc:
- Add --cpu=k8. Without this, Bazel tries to select darwin_arm64 (or whatever
the native platform is). This is still needed because Bazel still doesn't
fully support platforms and toolchains for C++.
- Add comments explaining what's missing and what to change.
- Remove --tls_certificate. Bazel reports an error if it's used.
(Should engflow-ca.crt be removed, too?)
- In //remote_config/cc:
- Generalize armeabi_cc_toolchain_config to stub_cc_toolchain_config
and declare a stub for darwin_arm64. This shouldn't be needed in theory,
and C++ targets build without it, but Java targets need it. More stubs
may be needed for --cpu values on other platforms.
0 commit comments