prysm-pulse/third_party/herumi/bls.BUILD
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

25 lines
438 B
Plaintext

package(default_visibility = ["//visibility:public"])
cc_library(
name = "bls_c384_256",
srcs = [
"src/bls_c384_256.cpp",
],
deps = [
"@herumi_mcl//:bn",
],
hdrs = [
"include/bls/bls.h",
"src/bls_c_impl.hpp",
"src/qcoeff-bn254.hpp",
],
includes = [
"include",
],
copts = [
"-DBLS_SWAP_G",
"-DBLS_ETH",
"-std=c++03",
],
)