allyourcodebase/c-blosc2
c-blosc2 ported to the zig build system
master873969ee73aecb3c35203feaf0b5727b9d02b864masterThis is c-blosc2, packaged for Zig.
First, update your build.zig.zon:
# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/c-blosc2.git
You can then link c-blosc2 in your build.zig with:
const c_blosc2_dependency = b.dependency("c_blosc2", .{
.target = target,
.optimize = optimize,
});
your_exe.linkLibrary(c_blosc2_dependency.artifact("blosc2"));