bazelbuild / rules_perl

Perl rules for Bazel
Apache License 2.0
25 stars 38 forks source link

Adjust rules_perl to work with darwin amd64 and arm architectures #40

Closed laramiel closed 2 years ago

laramiel commented 2 years ago

The relocatable perl binary distribution distributes "fat" darwin binaries that are capable of working on both architectures, so adjust the build rules so that it works.

Now on an M1 mac you can do this:

cd examples/hello_world bazel run :hello_world

Changes from: https://github.com/bazelbuild/rules_perl/pull/38

skeletonkey commented 2 years ago

I believe that this MR is now redundant. Please close it unless I've missed something.