memlnaut-nisps/scripts
monkey-w1n5t0n aa60fbb466 fix(build): resolve a bare EMCC command name in build-wasm.sh
Third failure uncovered by the restored pipeline. With checkout and the C++
build fixed, CI reached the WASM step and died on `[build-wasm] emcc not found
at emcc`: ci.yml passed `EMCC: emcc`, but the script's existence check
(`[[ ! -x "$EMCC" && ! -f "$EMCC" ]]`) only understands paths, so it looked for
a file literally named "emcc" in the working directory. This has been broken
for as long as the override existed; it was invisible because CI never got past
checkout to run it.

Resolve a bare command name through `command -v` before the check, and drop the
now-redundant EMCC override in ci.yml — setup-emsdk already puts emcc on PATH,
which is what the script's own default looks for.

Verified by invoking it the way CI does: `EMCC=emcc bash scripts/build-wasm.sh`
now builds. Incidentally confirms the new freshness gate is sound — the local
toolchain is the same pinned emcc 3.1.69, and the rebuild reproduced the
committed artifact byte-for-byte.

run-all-tests.sh ALL GREEN.
2026-07-21 12:14:21 +02:00
..
build-and-flash-firmware.sh Add firmware variant selection to build scripts 2026-04-16 00:37:58 +09:00
build-cpp-tests.sh Stream 11: verification infrastructure (golden vectors + parity + lint + CI + Playwright migration) 2026-04-29 19:50:55 +03:00
build-firmware-arch.sh ci: restore verification — reachable submodule pin, codegen + WASM freshness gates 2026-07-21 11:57:32 +02:00
build-firmware.sh Preserve firmware variant capitalization 2026-04-16 00:46:02 +09:00
build-wasm.sh fix(build): resolve a bare EMCC command name in build-wasm.sh 2026-07-21 12:14:21 +02:00
firmware-common.sh refactor(ml)!: P2.1 storage-policy split — MLPCore<Storage>, fixed + dynamic models 2026-07-13 23:47:03 +02:00
flash-firmware.sh Improve UF2 bootloader detection 2026-04-16 00:52:39 +09:00
lint-cpp.sh refactor(ml)!: P2.1 storage-policy split — MLPCore<Storage>, fixed + dynamic models 2026-07-13 23:47:03 +02:00
parity-check.sh chore(build): P0 plumbing — WASM build/parity retarget to manifold/public 2026-07-13 23:14:23 +02:00
run-all-tests.sh ci: restore verification — reachable submodule pin, codegen + WASM freshness gates 2026-07-21 11:57:32 +02:00
setup-firmware-toolchain.sh feat(firmware): wire Explore-and-place glue to hardware buttons + selftest 2026-06-28 04:14:30 +02:00