mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 11:41:21 +00:00
24583864b4
* change to herumi's bls * change alias * change to better * add benchmark * build * change to bazel fork * fix prefix * make it work with library * update to latest * change again * add import * update to latest * add sha commit * new static lib with groups swapped * using herumis new lib * fix dep paths in c headers * update again * new changes * fix commit * fix serialization * comment * fix test * fix to herumis latest version * fix test * fix benchmarks * add new workspace * change commit and remove init * get test to pass * remove parameter * remove reverse byte order * make gazelle happy * set pure to off * fix failing tests * remove old ref * use HashWithDomain functions * update to latest version * clean up * gaz * add back removed code * switch off pure
48 lines
1.3 KiB
Python
48 lines
1.3 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["bls.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bls",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/featureconfig:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"@com_github_herumi_bls_eth_go_binary//bls:go_default_library",
|
|
"@com_github_karlseguin_ccache//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["bls_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["//shared/bytesutil:go_default_library"],
|
|
)
|
|
|
|
# gazelle:exclude bls_benchmark_test.go
|
|
go_test(
|
|
name = "go_benchmark_test",
|
|
size = "small",
|
|
srcs = ["bls_benchmark_test.go"],
|
|
args = [
|
|
"-test.bench=.",
|
|
"-test.benchmem",
|
|
"-test.v",
|
|
],
|
|
local = True,
|
|
tags = [
|
|
"benchmark",
|
|
"manual",
|
|
"no-cache",
|
|
],
|
|
deps = [
|
|
"//shared/bls:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"@com_github_herumi_bls_eth_go_binary//bls:go_default_library",
|
|
],
|
|
)
|