This commit is contained in:
Nuno Cruces
2024-08-09 10:06:05 +01:00
parent 9a610888f9
commit eea6aa7493
2 changed files with 17 additions and 5 deletions

View File

@@ -24,15 +24,11 @@ wait
# Download and build SQLite
sqlite3/download.sh
embed/build.sh
embed/bcw2/build.sh
# Download and build sqlite-createtable-parser
util/vtabutil/parse/download.sh
util/vtabutil/parse/build.sh
# Download and build the bedrock branch (bcw2 patches)
if [[ "$OSTYPE" == "linux"* ]]; then
embed/bcw2/build.sh
fi
# Check diffs
git diff --exit-code

16
embed/bcw2/README.md Normal file
View File

@@ -0,0 +1,16 @@
# Embeddable Wasm build of SQLite
This folder includes an embeddable Wasm build of SQLite 3.46.0, including the experimental
[BEGIN CONCURRENT](https://sqlite.org/src/doc/begin-concurrent/doc/begin_concurrent.md) and
[Wal2](https://www.sqlite.org/cgi/src/doc/wal2/doc/wal2.md) patches.
> [!IMPORTANT]
> This package is experimental.
> It is built from the `bedrock` branch of SQLite,
> since that is _currently_ the most stable, maintained branch to include both features.
> [!CAUTION]
> The Wal2 journaling mode creates databases that other versions of SQLite cannot access.
The build is easily reproducible, and verifiable, using
[Artifact Attestations](https://github.com/ncruces/go-sqlite3/attestations).