mirror of
https://github.com/allyourcodebase/c-blosc2.git
synced 2026-11-17 01:11:13 +00:00
c-blosc2 ported to the zig build system
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| testing_template_dir | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE.txt | ||
| README.md | ||
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 |