1######################################################################## 2# This GNU makefile drives the build of the sqlite3 WASM 3# components. It is not part of the canonical build process. 4######################################################################## 5SHELL := $(shell which bash 2>/dev/null) 6MAKEFILE := $(lastword $(MAKEFILE_LIST)) 7all: 8release: all 9 10# Emscripten SDK home dir and related binaries... 11EMSDK_HOME ?= $(word 1,$(wildcard $(HOME)/src/emsdk $(HOME)/emsdk)) 12emcc.bin ?= $(word 1,$(wildcard $(shell which emcc) $(EMSDK_HOME)/upstream/emscripten/emcc)) 13ifeq (,$(emcc.bin)) 14 $(error Cannot find emcc.) 15endif 16 17wasm-strip ?= $(shell which wasm-strip 2>/dev/null) 18ifeq (,$(filter clean,$(MAKECMDGOALS))) 19ifeq (,$(wasm-strip)) 20 $(info WARNING: *******************************************************************) 21 $(info WARNING: builds using -O2/-O3/-Os/-Oz will minify WASM-exported names,) 22 $(info WARNING: breaking _All The Things_. The workaround for that is to build) 23 $(info WARNING: with -g3 (which explodes the file size) and then strip the debug) 24 $(info WARNING: info after compilation, using wasm-strip, to shrink the wasm file.) 25 $(info WARNING: wasm-strip was not found in the PATH so we cannot strip those.) 26 $(info WARNING: If this build uses any optimization level higher than -O1 then) 27 $(info WARNING: the ***resulting WASM binary WILL NOT BE USABLE***.) 28 $(info WARNING: wasm-strip is part of the wabt package:) 29 $(info WARNING: https://github.com/WebAssembly/wabt) 30 $(info WARNING: on Ubuntu-like systems it can be installed with:) 31 $(info WARNING: sudo apt install wabt) 32 $(info WARNING: *******************************************************************) 33endif 34endif # 'make clean' check 35 36ifeq (,$(wasm-strip)) 37 maybe-wasm-strip = echo "not wasm-stripping" 38else 39 maybe-wasm-strip = $(wasm-strip) 40endif 41 42dir.top := ../.. 43# Reminder: some Emscripten flags require absolute paths 44dir.wasm := $(patsubst %/,%,$(dir $(abspath $(MAKEFILE)))) 45dir.api := api 46dir.jacc := jaccwabyt 47dir.common := common 48dir.fiddle := fiddle 49CLEAN_FILES := *~ $(dir.jacc)/*~ $(dir.api)/*~ $(dir.common)/*~ 50emcc_enable_bigint ?= 1 51sqlite3.c := $(dir.top)/sqlite3.c 52SQLITE_OPT = \ 53 -DSQLITE_ENABLE_FTS4 \ 54 -DSQLITE_ENABLE_RTREE \ 55 -DSQLITE_ENABLE_EXPLAIN_COMMENTS \ 56 -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION \ 57 -DSQLITE_ENABLE_STMTVTAB \ 58 -DSQLITE_ENABLE_DBPAGE_VTAB \ 59 -DSQLITE_ENABLE_DBSTAT_VTAB \ 60 -DSQLITE_ENABLE_BYTECODE_VTAB \ 61 -DSQLITE_ENABLE_OFFSET_SQL_FUNC \ 62 -DSQLITE_OMIT_LOAD_EXTENSION \ 63 -DSQLITE_OMIT_DEPRECATED \ 64 -DSQLITE_OMIT_UTF16 \ 65 -DSQLITE_OMIT_SHARED_CACHE \ 66 -DSQLITE_THREADSAFE=0 \ 67 -DSQLITE_TEMP_STORE=3 \ 68 -DSQLITE_OS_KV_OPTIONAL=1 \ 69 '-DSQLITE_DEFAULT_UNIX_VFS="unix-none"' \ 70 -DSQLITE_USE_URI=1 71#SQLITE_OPT += -DSQLITE_ENABLE_MEMSYS5 72# ^^^ MEMSYS5 is hypothetically useful for non-Emscripten builds but 73# requires adding more infrastructure and fixing one spot in the 74# sqlite3 internals which calls malloc() early on. 75 76# SQLITE_OMIT_LOAD_EXTENSION: if this is true, sqlite3_vfs::xDlOpen 77# and friends may be NULL. 78 79ifneq (,$(filter release,$(MAKECMDGOALS))) 80emcc_opt ?= -Oz -flto 81else 82emcc_opt ?= -O0 83# ^^^^ build times for -O levels higher than 0 are painful at 84# dev-time. 85endif 86# When passing emcc_opt from the CLI, += and re-assignment have no 87# effect, so emcc_opt+=-g3 doesn't work. So... 88emcc_opt_full := $(emcc_opt) -g3 89# ^^^ ALWAYS use -g3. See below for why. 90# 91# ^^^ -flto improves runtime speed at -O0 considerably but doubles 92# build time. 93# 94# ^^^^ -O3, -Oz, -Os minify symbol names and there appears to be no 95# way around that except to use -g3, but -g3 causes the binary file 96# size to absolutely explode (approx. 5x larger). This minification 97# utterly breaks the resulting module, making it unsable except as 98# self-contained/self-referential-only code, as ALL of the exported 99# symbols get minified names. 100# 101# However, we have an option for using -Oz or -Os: 102# 103# Build with (-Os -g3) or (-Oz -g3) then use wasm-strip, from the wabt 104# tools package (https://github.com/WebAssembly/wabt), to strip the 105# debugging symbols. That results in a small build with unmangled 106# symbol names. -Oz gives ever-so-slightly better compression than 107# -Os: not quite 1% in some completely unscientific tests. Runtime 108# speed for the unit tests is all over the place either way so it's 109# difficult to say whether -Os gives any speed benefit over -Oz. 110# 111# (Much later: -O2 consistently gives the best speeds.) 112######################################################################## 113 114 115$(sqlite3.c): 116 $(MAKE) -C $(dir.top) sqlite3.c 117 118clean: 119 -rm -f $(CLEAN_FILES) 120 121ifeq (release,$(filter release,$(MAKECMDGOALS))) 122 ifeq (,$(wasm-strip)) 123 $(error Cannot make release-quality binary because wasm-strip is not available. \ 124 See notes in the warning above) 125 endif 126else 127 $(info Development build. Use '$(MAKE) release' for a smaller release build.) 128endif 129 130EXPORTED_FUNCTIONS.api.in := $(dir.api)/EXPORTED_FUNCTIONS.sqlite3-api \ 131 $(dir.jacc)/jaccwabyt_test.exports 132 133EXPORTED_FUNCTIONS.api: $(EXPORTED_FUNCTIONS.api.in) $(MAKEFILE) 134 cat $(EXPORTED_FUNCTIONS.api.in) > $@ 135CLEAN_FILES += EXPORTED_FUNCTIONS.api 136 137sqlite3-api.jses := $(dir.api)/sqlite3-api-prologue.js 138sqlite3-api.jses += $(dir.common)/whwasmutil.js 139sqlite3-api.jses += $(dir.jacc)/jaccwabyt.js 140sqlite3-api.jses += $(dir.api)/sqlite3-api-glue.js 141sqlite3-api.jses += $(dir.api)/sqlite3-api-oo1.js 142sqlite3-api.jses += $(dir.api)/sqlite3-api-worker1.js 143sqlite3-api.jses += $(dir.api)/sqlite3-api-opfs.js 144sqlite3-api.jses += $(dir.api)/sqlite3-api-cleanup.js 145 146sqlite3-api.js := sqlite3-api.js 147CLEAN_FILES += $(sqlite3-api.js) 148$(sqlite3-api.js): $(sqlite3-api.jses) $(MAKEFILE) 149 @echo "Making $@..." 150 @for i in $(sqlite3-api.jses); do \ 151 echo "/* BEGIN FILE: $$i */"; \ 152 cat $$i; \ 153 echo "/* END FILE: $$i */"; \ 154 done > $@ 155 156post-js.js := post-js.js 157CLEAN_FILES += $(post-js.js) 158post-jses := \ 159 $(dir.api)/post-js-header.js \ 160 $(sqlite3-api.js) \ 161 $(dir.api)/post-js-footer.js 162$(post-js.js): $(post-jses) $(MAKEFILE) 163 @echo "Making $@..." 164 @for i in $(post-jses); do \ 165 echo "/* BEGIN FILE: $$i */"; \ 166 cat $$i; \ 167 echo "/* END FILE: $$i */"; \ 168 done > $@ 169extern-post-js.js := $(dir.api)/extern-post-js.js 170sqlite3.js.flags.--post-js := --post-js=$(post-js.js) --extern-post-js=$(extern-post-js.js) 171post-jses.deps := $(post-js.js) $(extern-post-js.js) 172 173######################################################################## 174# emcc flags for .c/.o/.wasm/.js. 175emcc.flags = 176#emcc.flags += -v # _very_ loud but also informative about what it's doing 177# -g is needed to keep -O2 and higher from creating broken JS via 178# minification. 179 180######################################################################## 181# emcc flags for .c/.o. 182emcc.cflags := 183emcc.cflags += -std=c99 -fPIC 184# -------------^^^^^^^^ we currently need c99 for WASM-specific sqlite3 APIs. 185emcc.cflags += -I. -I$(dir.top) 186 187######################################################################## 188# emcc flags specific to building the final .js/.wasm file... 189emcc.jsflags := -fPIC 190emcc.jsflags += --minify 0 191emcc.jsflags += --no-entry 192emcc.jsflags += -sMODULARIZE 193emcc.jsflags += -sSTRICT_JS 194emcc.jsflags += -sDYNAMIC_EXECUTION=0 195emcc.jsflags += -sNO_POLYFILL 196emcc.jsflags += -sEXPORTED_FUNCTIONS=@$(dir.wasm)/EXPORTED_FUNCTIONS.api 197emcc.exportedRuntimeMethods := \ 198 -sEXPORTED_RUNTIME_METHODS=FS,wasmMemory,allocateUTF8OnStack 199 # FS ==> stdio/POSIX I/O proxies 200 # wasmMemory ==> required by our code for use with -sIMPORTED_MEMORY 201 # allocateUTF8OnStack => for kvvfs internals 202emcc.jsflags += $(emcc.exportedRuntimeMethods) 203emcc.jsflags += -sUSE_CLOSURE_COMPILER=0 204emcc.jsflags += -sIMPORTED_MEMORY 205emcc.environment := -sENVIRONMENT=web 206emcc.jsflags += -sALLOW_MEMORY_GROWTH 207# emcc: warning: USE_PTHREADS + ALLOW_MEMORY_GROWTH may run non-wasm code 208# slowly, see https://github.com/WebAssembly/design/issues/1271 209# [-Wpthreads-mem-growth] 210emcc.jsflags += -sINITIAL_MEMORY=13107200 211#emcc.jsflags += -sINITIAL_MEMORY=64225280 212# ^^^^ 64MB is not enough for WASMFS/OPFS test runs using batch-runner.js 213emcc.jsflags += $(emcc.environment) 214#emcc.jsflags += -sTOTAL_STACK=4194304 215 216sqlite3.js.init-func := sqlite3InitModule 217# ^^^^ $(sqlite3.js.init-func) symbol name is hard-coded in $(extern-post-js.js) 218 219emcc.jsflags += -sEXPORT_NAME=$(sqlite3.js.init-func) 220emcc.jsflags += -sGLOBAL_BASE=4096 # HYPOTHETICALLY keep func table indexes from overlapping w/ heap addr. 221#emcc.jsflags += -sSTRICT # fails due to missing __syscall_...() 222#emcc.jsflags += -sALLOW_UNIMPLEMENTED_SYSCALLS 223#emcc.jsflags += -sFILESYSTEM=0 # only for experimentation. sqlite3 needs the FS API 224#emcc.jsflags += -sABORTING_MALLOC 225emcc.jsflags += -sALLOW_TABLE_GROWTH 226emcc.jsflags += -Wno-limited-postlink-optimizations 227# ^^^^^ it likes to warn when we have "limited optimizations" via the -g3 flag. 228#emcc.jsflags += -sSTANDALONE_WASM # causes OOM errors, not sure why 229# https://lld.llvm.org/WebAssembly.html 230emcc.jsflags += -sERROR_ON_UNDEFINED_SYMBOLS=0 231emcc.jsflags += -sLLD_REPORT_UNDEFINED 232#emcc.jsflags += --allow-undefined 233emcc.jsflags += --import-undefined 234#emcc.jsflags += --unresolved-symbols=import-dynamic --experimental-pic 235#emcc.jsflags += --experimental-pic --unresolved-symbols=ingore-all --import-undefined 236#emcc.jsflags += --unresolved-symbols=ignore-all 237emcc.jsflags += -sWASM_BIGINT=$(emcc_enable_bigint) 238# ^^^^ MEMORY64=1 fails to load, erroring with: 239# invalid memory limits flags 0x5 240# (enable via --experimental-wasm-memory64) 241# 242# ^^^^ MEMORY64=2 builds and loads but dies when we do things like: 243# 244# new Uint8Array(heapWrappers().HEAP8U.buffer, ptr, n) 245# 246# because ptr is now a BigInt, so is invalid for passing to arguments 247# which have strict must-be-a-Number requirements. 248######################################################################## 249 250 251######################################################################## 252# -sSINGLE_FILE: 253# https://github.com/emscripten-core/emscripten/blob/main/src/settings.js#L1704 254# -sSINGLE_FILE=1 would be really nice but we have to build with -g 255# for -O2 and higher to work (else minification breaks the code) and 256# cannot wasm-strip the binary before it gets encoded into the JS 257# file. The result is that the generated JS file is, because of the -g 258# debugging info, _huge_. 259######################################################################## 260 261######################################################################## 262# Maintenance reminder: the output .js and .wasm files of emcc must be 263# in _this_ dir, rather than a subdir, or else parts of the generated 264# code get confused and cannot load property (namely, the 265# sqlite3.worker.js generated in conjunction with -sWASMFS). 266sqlite3.js := sqlite3.js 267emcc.jsflags += $(sqlite3.js.flags.--post-js) 268sqlite3.wasm := sqlite3.wasm 269sqlite3-wasm.o := $(dir.api)/sqlite3-wasm.o 270$(sqlite3-wasm.o): emcc.cflags += $(SQLITE_OPT) 271$(sqlite3-wasm.o): $(dir.top)/sqlite3.c 272sqlite3-wasm.c := $(dir.api)/sqlite3-wasm.c 273jaccwabyt_test.c := $(dir.jacc)/jaccwabyt_test.c 274# ^^^ FIXME (how?): jaccwabyt_test.c is only needed for the test apps, 275# so we don't really want to include it in release builds. However, we 276# want to test the release builds with those apps, so we cannot simply 277# elide that file in release builds. That component is critical to the 278# VFS bindings so needs to be tested along with the core APIs. 279define WASM_C_COMPILE 280$(1).o := $$(subst .c,.o,$(1)) 281sqlite3.wasm.obj += $$($(1).o) 282$$($(1).o): $$(MAKEFILE) $(1) 283 $$(emcc.bin) $$(emcc_opt_full) $$(emcc.flags) $$(emcc.cflags) -c $(1) -o $$@ 284CLEAN_FILES += $$($(1).o) 285endef 286$(foreach c,$(sqlite3-wasm.c) $(jaccwabyt_test.c),$(eval $(call WASM_C_COMPILE,$(c)))) 287$(sqlite3.js): $(MAKEFILE) $(sqlite3.wasm.obj) \ 288 EXPORTED_FUNCTIONS.api \ 289 $(post-jses.deps) 290 @echo "Building $@ ..." 291 $(emcc.bin) -o $@ $(emcc_opt_full) $(emcc.flags) $(emcc.jsflags) $(sqlite3.wasm.obj) 292 chmod -x $(sqlite3.wasm) 293 $(maybe-wasm-strip) $(sqlite3.wasm) 294 @ls -la $@ $(sqlite3.wasm) 295 296CLEAN_FILES += $(sqlite3.js) $(sqlite3.wasm) 297all: $(sqlite3.js) 298wasm: $(sqlite3.js) 299# End main Emscripten-based module build 300######################################################################## 301 302######################################################################## 303# batch-runner.js... 304dir.sql := sql 305speedtest1 := ../../speedtest1 306speedtest1.c := ../../test/speedtest1.c 307speedtest1.sql := $(dir.sql)/speedtest1.sql 308speedtest1.cliflags := --size 25 --big-transactions 309$(speedtest1): 310 $(MAKE) -C ../.. speedtest1 311$(speedtest1.sql): $(speedtest1) $(MAKEFILE) 312 $(speedtest1) $(speedtest1.cliflags) --script $@ 313batch-runner.list: $(MAKEFILE) $(speedtest1.sql) $(dir.sql)/000-mandelbrot.sql 314 bash split-speedtest1-script.sh $(dir.sql)/speedtest1.sql 315 ls -1 $(dir.sql)/*.sql | grep -v speedtest1.sql | sort > $@ 316clean-batch: 317 rm -f batch-runner.list $(dir.sql)/speedtest1*.sql 318# ^^^ we don't do this along with 'clean' because we clean/rebuild on 319# a regular basis with different -Ox flags and rebuilding the batch 320# pieces each time is an unnecessary time sink. 321batch: batch-runner.list 322all: batch 323# end batch-runner.js 324######################################################################## 325# speedtest1.js... 326# speedtest1-common.eflags = emcc flags used by multiple builds of speedtest1 327# speedtest1.eflags = emcc flags used by main build of speedtest1 328speedtest1-common.eflags := $(emcc_opt_full) 329speedtest1.eflags := 330speedtest1.eflags += -sENVIRONMENT=web 331speedtest1-common.eflags += -sINVOKE_RUN=0 332speedtest1-common.eflags += --no-entry 333#speedtest1-common.eflags += -flto 334speedtest1-common.eflags += -sABORTING_MALLOC 335speedtest1-common.eflags += -sINITIAL_MEMORY=128450560 336speedtest1-common.eflags += -sSTRICT_JS 337speedtest1-common.eflags += -sMODULARIZE 338speedtest1-common.eflags += -Wno-limited-postlink-optimizations 339speedtest1-common.eflags += -sEXPORTED_FUNCTIONS=@$(dir.wasm)/EXPORTED_FUNCTIONS.speedtest1 340speedtest1-common.eflags += $(emcc.exportedRuntimeMethods) 341speedtest1-common.eflags += -sALLOW_TABLE_GROWTH 342speedtest1-common.eflags += -sDYNAMIC_EXECUTION=0 343speedtest1-common.eflags += --minify 0 344speedtest1-common.eflags += -sEXPORT_NAME=$(sqlite3.js.init-func) 345speedtest1-common.eflags += $(sqlite3.js.flags.--post-js) 346speedtest1-common.eflags += -sWASM_BIGINT=$(emcc_enable_bigint) 347speedtest1.exit-runtime0 := -sEXIT_RUNTIME=0 348speedtest1.exit-runtime1 := -sEXIT_RUNTIME=1 349# Re -sEXIT_RUNTIME=1 vs 0: if it's 1 and speedtest1 crashes, we get 350# this error from emscripten: 351# 352# > native function `free` called after runtime exit (use 353# NO_EXIT_RUNTIME to keep it alive after main() exits)) 354# 355# If it's 0 and it crashes, we get: 356# 357# > stdio streams had content in them that was not flushed. you should 358# set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline 359# when you printf etc. 360# 361# and pending output is not flushed because it didn't end with a 362# newline (by design). The lesser of the two evils seems to be 363# -sEXIT_RUNTIME=1 but we need EXIT_RUNTIME=0 for the worker-based app 364# which runs speedtest1 multiple times. 365 366EXPORTED_FUNCTIONS.speedtest1: EXPORTED_FUNCTIONS.api 367 { echo _wasm_main; cat EXPORTED_FUNCTIONS.api; } > $@ 368CLEAN_FILES += EXPORTED_FUNCTIONS.speedtest1 369speedtest1.js := speedtest1.js 370speedtest1.wasm := $(subst .js,.wasm,$(speedtest1.js)) 371speedtest1.cflags := \ 372 -I. -I.. -I$(dir.top) \ 373 -DSQLITE_SPEEDTEST1_WASM 374speedtest1.cs := $(speedtest1.c) $(sqlite3-wasm.c) $(jaccwabyt_test.c) 375$(speedtest1.js): emcc.cflags+= 376# speedtest1 notes re. sqlite3-wasm.o vs sqlite3-wasm.c: building against 377# the latter (predictably) results in a slightly faster binary, but we're 378# close enough to the target speed requirements that the 500ms makes a 379# difference. 380$(speedtest1.js): $(MAKEFILE) $(speedtest1.cs) $(post-jses.deps) \ 381 EXPORTED_FUNCTIONS.speedtest1 382 @echo "Building $@ ..." 383 $(emcc.bin) \ 384 $(speedtest1.eflags) $(speedtest1-common.eflags) $(speedtest1.cflags) \ 385 $(SQLITE_OPT) \ 386 $(speedtest1.exit-runtime0) \ 387 -o $@ $(speedtest1.cs) -lm 388 $(maybe-wasm-strip) $(speedtest1.wasm) 389 ls -la $@ $(speedtest1.wasm) 390 391speedtest1: $(speedtest1.js) 392all: speedtest1 393CLEAN_FILES += $(speedtest1.js) $(speedtest1.wasm) 394# end speedtest1.js 395######################################################################## 396 397######################################################################## 398# fiddle_remote is the remote destination for the fiddle app. It 399# must be a [user@]HOST:/path for rsync. 400# Note that the target "should probably" contain a symlink of 401# index.html -> fiddle.html. 402fiddle_remote ?= 403ifeq (,$(fiddle_remote)) 404ifneq (,$(wildcard /home/stephan)) 405 fiddle_remote = wh:www/wh/sqlite3/. 406else ifneq (,$(wildcard /home/drh)) 407 #fiddle_remote = if appropriate, add that user@host:/path here 408endif 409endif 410$(fiddle_files): default 411push-fiddle: $(fiddle_files) 412 @if [ x = "x$(fiddle_remote)" ]; then \ 413 echo "fiddle_remote must be a [user@]HOST:/path for rsync"; \ 414 exit 1; \ 415 fi 416 rsync -va fiddle/ $(fiddle_remote) 417# end fiddle remote push 418######################################################################## 419 420######################################################################## 421# Convenience rules to rebuild with various -Ox levels. Much 422# experimentation shows -O2 to be the clear winner in terms of speed. 423# Note that build times with anything higher than -O0 are somewhat 424# painful. 425 426.PHONY: o0 o1 o2 o3 os oz 427o-xtra := -g3 428# ^^^ -g3 is important to keep higher -O levels from mangling (via 429# minification), or outright removing, otherwise working code. 430 431o-xtra += -flto 432# ^^^^ -flto can have a considerably performance boost at -O0 but 433# doubles the build time and seems to have negligible effect on 434# higher optimization levels. 435o0: clean 436 $(MAKE) -e "emcc_opt=-O0 $(o-xtra)" 437o1: clean 438 $(MAKE) -e "emcc_opt=-O1 $(o-xtra)" 439o2: clean 440 $(MAKE) -e "emcc_opt=-O2 $(o-xtra)" 441o3: clean 442 $(MAKE) -e "emcc_opt=-O3 $(o-xtra)" 443os: clean 444 @echo "WARNING: -Os can result in a build with mysteriously missing pieces!" 445 $(MAKE) -e "emcc_opt=-Os $(o-xtra)" 446oz: clean 447 $(MAKE) -e "emcc_opt=-Oz $(o-xtra)" 448 449######################################################################## 450# Sub-makes... 451 452include fiddle.make 453 454######################################################################## 455# Some platforms do not support the WASMFS build. Raspberry Pi OS is one 456# of them. As such platforms are discovered, add their (uname -m) name 457# to PLATFORMS_WITH_NO_WASMFS to exclude the wasmfs build parts. 458PLATFORMS_WITH_NO_WASMFS := aarch64 # add any others here 459THIS_ARCH := $(shell /usr/bin/uname -m) 460ifneq (,$(filter $(THIS_ARCH),$(PLATFORMS_WITH_NO_WASMFS))) 461$(info This platform does not support the WASMFS build.) 462else 463include wasmfs.make 464endif 465 466######################################################################## 467# Push files to public wasm-testing.sqlite.org server 468wasm-testing.include = *.wasm *.js *.html \ 469 batch-runner.list sql common fiddle jaccwabyt 470wasm-testing.exclude = sql/speedtest1.sql 471wasm-testing.dir = /jail/sites/wasm-testing 472wasm-testing.dest ?= wasm-testing:$(wasm-testing.dir) 473# ---------------------^^^^^^^^^^^^ ssh alias 474push: 475 rsync -z -e ssh --ignore-times --chown=stephan:www-data --group -r \ 476 $(patsubst %,--exclude=%,$(wasm-testing.exclude)) \ 477 $(wasm-testing.include) $(wasm-testing.dest) 478 ssh wasm-testing 'cd $(wasm-testing.dir) && bash .gzip' || \ 479 echo "SSH failed: it's likely that stale content will be served via old gzip files." 480 481