Experimental prototype of Apple M1 processor support (#10192)

* Experimental prototype of Apple M1 processor support

* Enable Apple M1 compilation of herumi MCL by adding a precompiled library

* Renable nogo

* Fix by gazelle

* Update go.mod to reflect go 1.17.6 changes in WORKSPACE

* go mod tidy

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
This commit is contained in:
Leo Lara
2022-02-20 01:17:08 +07:00
committed by GitHub
parent ced24892a5
commit b4b976c28b
8 changed files with 182 additions and 2 deletions

View File

@@ -0,0 +1 @@
exports_files(["mcl_darwin_arm64_base64.o"])

View File

@@ -104,6 +104,9 @@ cc_library(
"@io_bazel_rules_go//go/platform:darwin_amd64": [
"bls/lib/darwin/amd64/libbls384_256.a",
],
"@io_bazel_rules_go//go/platform:darwin_arm64": [
"bls/lib/darwin/arm64/libbls384_256.a",
],
"@io_bazel_rules_go//go/platform:linux_amd64": [
"bls/lib/linux/amd64/libbls384_256.a",
],

View File

@@ -17,6 +17,9 @@ cc_library(
"@io_bazel_rules_go//go/platform:darwin_amd64": [
"src/asm/x86-64mac.s",
],
"@io_bazel_rules_go//go/platform:darwin_arm64": [
"@prysm//third_party/herumi:mcl_darwin_arm64_base64.o",
],
"@io_bazel_rules_go//go/platform:linux_amd64": [
"src/asm/x86-64.s",
],

Binary file not shown.