mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
Update RBE toolchain and image to have libgmp-dev with bazel 3.2.0 (#6193)
* Update RBE toolchain and image to have libgmp-dev with bazel 3.2.0 * Merge branch 'master' into update-cross-compile * some fixes for herumi cross compile * gaz
This commit is contained in:
7
third_party/herumi/bls_eth_go_binary.BUILD
vendored
7
third_party/herumi/bls_eth_go_binary.BUILD
vendored
@@ -47,8 +47,11 @@ genrule(
|
||||
"src/base64.ll",
|
||||
],
|
||||
outs = ["base64.o"],
|
||||
cmd = "external/llvm_toolchain/bin/clang++ -c -o $@ $(location src/base64.ll)",
|
||||
tools = ["@llvm_toolchain//:clang"],
|
||||
cmd = "$(CC) $(CC_FLAGS) -c -o $@ $(location src/base64.ll)",
|
||||
toolchains = [
|
||||
"@bazel_tools//tools/cpp:current_cc_toolchain",
|
||||
"@bazel_tools//tools/cpp:cc_flags",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
||||
23
third_party/herumi/mcl.BUILD
vendored
23
third_party/herumi/mcl.BUILD
vendored
@@ -4,8 +4,26 @@ cc_library(
|
||||
name = "fp",
|
||||
srcs = [
|
||||
"src/fp.cpp",
|
||||
"src/asm/x86-64.s",
|
||||
],
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:android_arm": [
|
||||
"src/asm/arm.s",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_arm64": [
|
||||
"src/asm/aarch64.s",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:android_arm64": [
|
||||
"src/asm/aarch64.s",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:darwin_amd64": [
|
||||
"src/asm/x86-64mac.s",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux_amd64": [
|
||||
"src/asm/x86-64.s",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:windows_amd64": [
|
||||
"src/asm/x86-64.s",
|
||||
],
|
||||
}),
|
||||
includes = [
|
||||
"include",
|
||||
],
|
||||
@@ -26,6 +44,7 @@ cc_library(
|
||||
"src/fp_generator.hpp",
|
||||
"src/proto.hpp",
|
||||
"src/low_func_llvm.hpp",
|
||||
"src/detect_cpu.hpp",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user