Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions workloads/sqlite3-wasm/build.log
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Built on 2025-01-21T15:10:24Z
Built on 2026-10-28T21:51:11Z

Toolchain versions
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.73 (ac676d5e437525d15df5fd46bc2c208ec6d376a3)
wasm-strip 1.0.34
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 6.0.13 (e13ee988ce3d87a738dd8f3661d02223308c412a)
wasm-strip 1.0.36

Getting sources from https://sqlite.org/2025/sqlite-src-3480000.zip

Expand Down
8 changes: 7 additions & 1 deletion workloads/sqlite3-wasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@ unzip "$SQLITE_SRC_FILE"
# Paths and information in make output could be sensitive, so don't save in log.
echo "Building..." | tee -a "$BUILD_LOG"
pushd sqlite-src-*/
# SQLite 3.48.0's JS glue predates Emscripten 4.0's async MODULARIZE factory,
# see the patch description. Drop the patch when updating to SQLite >= 3.49.0.
patch -p1 -i ../emscripten-4-post-load-init.patch
./configure
cd ext/wasm
make dist
# Emscripten 6.0.2 removed `wasmBinary` from the default INCOMING_MODULE_JS_API
# list, and setting the list replaces the default, so name every Module property
# that benchmark.js and the speedtest1 glue code pass in.
EMCC_CFLAGS="-sINCOMING_MODULE_JS_API=wasmBinary,print,printErr,preRun,postRun,noInitialRun" make dist
popd

echo "Copying files from sqlite-src-*/ext/wasm/ into build/" | tee -a "$BUILD_LOG"
Expand Down
Loading
Loading