mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
023dfebc73
This reverts commit c4ca8a47b3
.
46 lines
1.1 KiB
Python
46 lines
1.1 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_karlseguin_ccache//:go_default_library",
|
|
"@com_github_kilic_bls12-381//: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",
|
|
],
|
|
)
|