diff options
| author | 2025-01-12 18:31:10 +0100 | |
|---|---|---|
| committer | 2025-02-16 00:02:44 +0100 | |
| commit | 4a0483910c9752d69bbd91af1ab12a6443d3b0a6 (patch) | |
| tree | a0bcaee9d1b3f902f3b580210205ba6cd1f63515 /build.zig.zon | |
| parent | Merge pull request #180 from nektro/patch-1 (diff) | |
| download | zig-sqlite-4a0483910c9752d69bbd91af1ab12a6443d3b0a6.tar.gz zig-sqlite-4a0483910c9752d69bbd91af1ab12a6443d3b0a6.tar.xz zig-sqlite-4a0483910c9752d69bbd91af1ab12a6443d3b0a6.zip | |
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`
Diffstat (limited to '')
| -rw-r--r-- | build.zig.zon | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ | |||
| 1 | .{ | 1 | .{ |
| 2 | .name = "sqlite", | 2 | .name = "sqlite", |
| 3 | .version = "3.47.2", | 3 | .version = "3.48.0", |
| 4 | .dependencies = .{ | ||
| 5 | .sqlite = .{ | ||
| 6 | .url = "https://sqlite.org/2025/sqlite-amalgamation-3480000.zip", | ||
| 7 | .hash = "1220972595d70da33d69d519392742482cb9762935cecb99924e31f3898d2a330861", | ||
| 8 | }, | ||
| 9 | }, | ||
| 4 | .paths = .{"."}, | 10 | .paths = .{"."}, |
| 5 | } | 11 | } |