Build the urbit binary on darwin-arm64 (i.e. Apple Silicon machines running macOS). This will build off the work done in #2. The steps required:
- Tweak third-party dependency
bazel build rules in bazel/third_party/ to build on darwin-arm64 platforms.
- Move the platform-specific third-party dependency patches in
pkg/urbit/compat/m1brew/ to the appropriate dependency directory in bazel/third_party/; verify the patches are still correct in the context of the dependency versions we're using; and apply the patches to the dependency buidls in WORKSPACE.bazel using select().
- Incorporate the compilation flags in
pkg/urbit/compat/m1brew/compat.mk into the appropriate build rule(s) in pkg/.
- Tweak the
bazel build rules for all packages in pkg/ to build on darwin-arm64 platforms.
Build the
urbitbinary ondarwin-arm64(i.e. Apple Silicon machines runningmacOS). This will build off the work done in #2. The steps required:bazelbuild rules inbazel/third_party/to build ondarwin-arm64platforms.pkg/urbit/compat/m1brew/to the appropriate dependency directory inbazel/third_party/; verify the patches are still correct in the context of the dependency versions we're using; and apply the patches to the dependency buidls inWORKSPACE.bazelusingselect().pkg/urbit/compat/m1brew/compat.mkinto the appropriate build rule(s) inpkg/.bazelbuild rules for all packages inpkg/to build ondarwin-arm64platforms.