Skip to content

allyourcodebase/c-blosc2

Repository files navigation

CI

c-blosc2

This is c-blosc2, packaged for Zig.

Installation

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"));

Compatibility

CPU OS ABI Status
x86_64 linux gnu Tested with CI
x86_64 linux musl Manually tested
x86_64 windows gnu Manually tested
windows msvc Fails to compile

About

c-blosc2 ported to the zig build system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages