mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 11:32:09 +00:00
aeb7a45864
* Update geth to 1.12.1 * Fix //cmd/validator/flags:go_default_test * fix //beacon-chain/node:go_default_test --------- Co-authored-by: Nishant Das <nishdas93@gmail.com>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
--- a/src/BUILD.bazel 1969-12-31 18:00:00.000000000 -0600
|
|
+++ b/src/BUILD.bazel 2023-06-14 14:04:30.351403498 -0500
|
|
@@ -0,0 +1,8 @@
|
|
+cc_library(
|
|
+ name = "kzg",
|
|
+ hdrs = [
|
|
+ "c_kzg_4844.c",
|
|
+ "c_kzg_4844.h",
|
|
+ ],
|
|
+ visibility = ["//visibility:public"],
|
|
+)
|
|
--- a/bindings/go/blst_headers/BUILD.bazel 1969-12-31 18:00:00.000000000 -0600
|
|
+++ b/bindings/go/blst_headers/BUILD.bazel 2023-06-14 13:24:09.719404241 -0500
|
|
@@ -0,0 +1,5 @@
|
|
+cc_library(
|
|
+ name = "hdrs",
|
|
+ hdrs = glob(["*.h"]),
|
|
+ visibility = ["//visibility:public"],
|
|
+)
|
|
--- a/bindings/go/BUILD.bazel 2023-06-14 15:06:46.875902949 -0500
|
|
+++ b/bindings/go/BUILD.bazel 2023-06-14 15:07:05.491898747 -0500
|
|
@@ -4,10 +4,14 @@
|
|
go_library(
|
|
name = "go",
|
|
srcs = ["main.go"],
|
|
+ cdeps = [
|
|
+ "//bindings/go/blst_headers:hdrs",
|
|
+ "//src:kzg",
|
|
+ ],
|
|
cgo = True,
|
|
copts = [
|
|
- "-Ibindings/go/src",
|
|
- "-Ibindings/go/bindings/go/blst_headers",
|
|
+ "-Iexternal/com_github_ethereum_c_kzg_4844/src",
|
|
+ "-Iexternal/com_github_ethereum_c_kzg_4844/bindings/go/blst_headers",
|
|
],
|
|
importpath = "github.com/ethereum/c-kzg-4844/bindings/go",
|
|
visibility = ["//visibility:public"],
|