mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
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:
1
third_party/herumi/BUILD.bazel
vendored
1
third_party/herumi/BUILD.bazel
vendored
@@ -0,0 +1 @@
|
||||
exports_files(["mcl_darwin_arm64_base64.o"])
|
||||
|
||||
3
third_party/herumi/bls_eth_go_binary.BUILD
vendored
3
third_party/herumi/bls_eth_go_binary.BUILD
vendored
@@ -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",
|
||||
],
|
||||
|
||||
3
third_party/herumi/mcl.BUILD
vendored
3
third_party/herumi/mcl.BUILD
vendored
@@ -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",
|
||||
],
|
||||
|
||||
BIN
third_party/herumi/mcl_darwin_arm64_base64.o
vendored
Normal file
BIN
third_party/herumi/mcl_darwin_arm64_base64.o
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user