Closed cnlangzi closed 1 year ago
I'll try the '-target' option later. https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
The latest dev branch supports make ARCH=x86_64
and make ARCH=arm64
on macOS to build bls/lib/darwin/{amd64,arm64}/libbls384_256.a .
Don't forget to make clean before building the other architecture.
I modified Makefile to build M1 mac binary. https://github.com/herumi/bls-go-binary/issues/24#issuecomment-1575898452 Does this help?
https://github.com/actions/runner-images
linux/arm64 can be complied in docker via
docker buildx
. but it doesn't not work on m1 Mac. so we have to compile it manually for m1 mac.