mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Fix build @com_github_ethereum_c_kzg_4844//... (#12890)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
52
third_party/com_github_ethereum_c_kzg_4844.patch
vendored
52
third_party/com_github_ethereum_c_kzg_4844.patch
vendored
@@ -1,25 +1,8 @@
|
|||||||
--- a/src/BUILD.bazel 1969-12-31 18:00:00.000000000 -0600
|
diff --git a/bindings/go/BUILD.bazel b/bindings/go/BUILD.bazel
|
||||||
+++ b/src/BUILD.bazel 2023-06-14 14:04:30.351403498 -0500
|
index 7e49df7..1d476f7 100644
|
||||||
@@ -0,0 +1,8 @@
|
--- a/bindings/go/BUILD.bazel
|
||||||
+cc_library(
|
+++ b/bindings/go/BUILD.bazel
|
||||||
+ name = "kzg",
|
@@ -4,10 +4,14 @@ load("@prysm//tools/go:def.bzl", "go_library")
|
||||||
+ 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(
|
go_library(
|
||||||
name = "go",
|
name = "go",
|
||||||
srcs = ["main.go"],
|
srcs = ["main.go"],
|
||||||
@@ -36,3 +19,28 @@
|
|||||||
],
|
],
|
||||||
importpath = "github.com/ethereum/c-kzg-4844/bindings/go",
|
importpath = "github.com/ethereum/c-kzg-4844/bindings/go",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
|
diff --git a/bindings/go/blst_headers/BUILD.bazel b/bindings/go/blst_headers/BUILD.bazel
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..82cad2c
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/bindings/go/blst_headers/BUILD.bazel
|
||||||
|
@@ -0,0 +1,5 @@
|
||||||
|
+cc_library(
|
||||||
|
+ name = "hdrs",
|
||||||
|
+ hdrs = glob(["*.h"]),
|
||||||
|
+ visibility = ["//visibility:public"],
|
||||||
|
+)
|
||||||
|
diff --git a/src/BUILD.bazel b/src/BUILD.bazel
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..b3f845d
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/src/BUILD.bazel
|
||||||
|
@@ -0,0 +1,8 @@
|
||||||
|
+cc_library(
|
||||||
|
+ name = "kzg",
|
||||||
|
+ hdrs = [
|
||||||
|
+ "c_kzg_4844.c",
|
||||||
|
+ "c_kzg_4844.h",
|
||||||
|
+ ],
|
||||||
|
+ visibility = ["//visibility:public"],
|
||||||
|
+)
|
||||||
|
|||||||
Reference in New Issue
Block a user