Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pub fn build(b: *std.Build) void {

const dep_ssz = b.dependency("ssz", .{});

const dep_blst = b.dependency("blst", .{});

const module_lodestar_z_bun = b.createModule(.{
.root_source_file = b.path("zig/root.zig"),
.target = target,
Expand Down Expand Up @@ -53,5 +55,6 @@ pub fn build(b: *std.Build) void {
module_lodestar_z_bun.addImport("hashtree", dep_hashtree.module("hashtree"));
module_lodestar_z_bun.addImport("lmdb", dep_lmdb.module("lmdb"));
module_lodestar_z_bun.addImport("leveldb", dep_leveldb.module("leveldb"));
module_lodestar_z_bun.addImport("blst", dep_blst.module("blst"));
module_lodestar_z_bun.addImport("ssz:persistent_merkle_tree", dep_ssz.module("persistent_merkle_tree"));
}
4 changes: 4 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
.url = "git+https://github.com/chainsafe/ssz-z#c8d7ad9e31befb7eb696d570d31433b4e855a19b",
.hash = "ssz-0.1.0-yORmzNDdBABQVmaEPy9-VDWHx7MH_qZFIxrZ4WWhtkTn",
},
.blst = .{
.url = "git+https://github.com/Chainsafe/blst-z#2bb539542f63c3841f87ea227eb8729eb5fb4aab",
.hash = "blst_z-0.0.0-td3FNITDAABergevSWDuqgbvCHqdS2o3PJq9jH2jwcFA",
},
},
.paths = .{ "build.zig", "build.zig.zon", "zig" },
}
Loading
Loading