Skip to content

Build with bazel on darwin-arm64 #4

Description

@mcevoypeter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildRelated to the build systemfeatureNew feature or feature request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions