Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use upstream sqlite #179

Merged
merged 7 commits into from
Feb 16, 2025
Merged

Use upstream sqlite #179

merged 7 commits into from
Feb 16, 2025

Conversation

vrischmann
Copy link
Owner

Stop vendoring the SQLite C code, instead use the zig package manager to fetch the code directly from the sqlite website.

Refactor the build process: integrate the preprocessing tool directly in the build script.

There is one breaking change: users that want to implement a virtual table now have to use the sqliteext module instead of the sqlite module in the build script (like in this example).

* 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`
@vrischmann vrischmann force-pushed the use-upstream branch 2 times, most recently from 03c28a7 to 2ae20ae Compare February 16, 2025 00:01
@vrischmann vrischmann merged commit cbc803e into master Feb 16, 2025
4 checks passed
@vrischmann vrischmann deleted the use-upstream branch February 16, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant