prysm-pulse/shared/bls/spectest/BUILD.bazel
Preston Van Loon edb6590764
Build herumi's BLS from source (#5055)
* Build herumi from source. Working so far on linux_amd64 for compile, but tests fail to initialize the curve appropriately

* Add copts to go_default_library

* llvm toolchain, still WIP

* Fixes, make llvm a config flag

* fix gazelle resolution

* comment

* comment

* update herumi to the v0.9.4 version

* Apply @nisdas patch from https://github.com/herumi/bls-eth-go-binary/pull/5
2020-03-09 21:22:41 -05:00

42 lines
1.2 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
testonly = True,
srcs = [
"aggregate_pubkeys_test.yaml.go",
"aggregate_sigs_test.yaml.go",
"msg_hash_compressed_test.yaml.go",
"msg_hash_uncompressed_test.yaml.go",
"priv_to_pub_test.yaml.go",
"sign_msg_test.yaml.go",
],
importpath = "github.com/prysmaticlabs/prysm/shared/bls/spectest",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
size = "small",
srcs = [
"aggregate_pubkeys_test.go",
"aggregate_sigs_test.go",
"msg_hash_compressed_test.go",
"msg_hash_uncompressed_test.go",
"priv_to_pub_test.go",
"sign_msg_test.go",
],
data = [
"@eth2_spec_tests_general//:test_data",
],
embed = [":go_default_library"],
tags = ["spectest"],
deps = [
"//shared/bls:go_default_library",
"//shared/bytesutil:go_default_library",
"//shared/testutil:go_default_library",
"@com_github_ghodss_yaml//:go_default_library",
"@herumi_bls_eth_go_binary//:go_default_library",
],
)