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 #38

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

PiotrSikora commented 2 years ago

@laramiel ping.

laramiel commented 2 years ago

https://github.com/bazelbuild/rules_perl/pull/40

Did that from the web UI, though, so double-check.

laramiel commented 2 years ago

Ok, ping again. The pull request #40 appears to be correct.

skeletonkey commented 2 years ago

Sorry about that. Thought I took care of this last night. Merging now.