From: stephan Date: Thu, 8 Sep 2022 20:04:52 +0000 (+0000) Subject: Minor build cleanups and tweaks in the speedtest1 wasm apps. X-Git-Tag: version-3.40.0~169^2~133 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1174c23e0dd8354a19d79c09dad8214c7ed85f02;p=thirdparty%2Fsqlite.git Minor build cleanups and tweaks in the speedtest1 wasm apps. FossilOrigin-Name: 5240fb4d795dea826f23cf5d2152b519f5a46f49bb2499ea868fa7c7f4ce788b --- diff --git a/ext/wasm/GNUmakefile b/ext/wasm/GNUmakefile index a312bbdab4..576b8d320f 100644 --- a/ext/wasm/GNUmakefile +++ b/ext/wasm/GNUmakefile @@ -273,8 +273,8 @@ sqlite3-wasm.o := $(dir.api)/sqlite3-wasm.o $(sqlite3-wasm.o): emcc.cflags += $(SQLITE_OPT) $(sqlite3-wasm.o): $(dir.top)/sqlite3.c $(dir.api)/wasm_util.o: emcc.cflags += $(SQLITE_OPT) -sqlite3-wasm.c := $(dir.api)/sqlite3-wasm.c \ - $(dir.jacc)/jaccwabyt_test.c +sqlite3-wasm.c := $(dir.api)/sqlite3-wasm.c +jaccwabyt_test.c := $(dir.jacc)/jaccwabyt_test.c # ^^^ FIXME (how?): jaccwabyt_test.c is only needed for the test apps, # so we don't really want to include it in release builds. However, we # want to test the release builds with those apps, so we cannot simply @@ -290,7 +290,7 @@ $$($(1).o): $$(MAKEFILE) $(1) $$(emcc.bin) $$(emcc_opt) $$(emcc.flags) $$(emcc.cflags) -c $(1) -o $$@ CLEAN_FILES += $$($(1).o) endef -$(foreach c,$(sqlite3-wasm.c),$(eval $(call WASM_C_COMPILE,$(c)))) +$(foreach c,$(sqlite3-wasm.c) $(jaccwabyt_test.c),$(eval $(call WASM_C_COMPILE,$(c)))) $(sqlite3.js): $(sqlite3.js): $(MAKEFILE) $(sqlite3.wasm.obj) \ EXPORTED_FUNCTIONS.api \ diff --git a/ext/wasm/speedtest1-worker.html b/ext/wasm/speedtest1-worker.html index 60c475798c..f537ccacf7 100644 --- a/ext/wasm/speedtest1-worker.html +++ b/ext/wasm/speedtest1-worker.html @@ -50,12 +50,27 @@ -
+
+
+
+ Tips: + +