From 4a0483910c9752d69bbd91af1ab12a6443d3b0a6 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sun, 12 Jan 2025 18:31:10 +0100 Subject: stop vendoring the sqlite C code, rework the build * Use the zig package manager to fetch sqlite directly from upstream * Integrate the preprocessing tool directly into the build script This makes it simpler to upgrade the SQLite source code: * use `zig fetch` * run `zig build preprocess-headers` --- build.zig.zon | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build.zig.zon') diff --git a/build.zig.zon b/build.zig.zon index edf75fe..3513d15 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,5 +1,11 @@ .{ .name = "sqlite", - .version = "3.47.2", + .version = "3.48.0", + .dependencies = .{ + .sqlite = .{ + .url = "https://sqlite.org/2025/sqlite-amalgamation-3480000.zip", + .hash = "1220972595d70da33d69d519392742482cb9762935cecb99924e31f3898d2a330861", + }, + }, .paths = .{"."}, } -- cgit v1.2.3