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

@@ -40,6 +40,15 @@ config_setting(
tags = ["manual"],
)
config_setting(
name = "osx_arm64",
constraint_values = [
"@platforms//os:osx",
"@platforms//cpu:arm64",
],
tags = ["manual"],
)
config_setting(
name = "linux_arm64",
constraint_values = [
@@ -156,6 +165,7 @@ toolchain(
":linux_arm64": ":cc-clang-arm64",
":linux_amd64": ":cc-clang-amd64",
":osx_amd64": ":cc-clang-osx",
":osx_arm64": ":cc-clang-osx",
":windows_amd64": ":cc-mingw-amd64",
}),
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",