ci: bump the wx build-cache epoch (poisoned pcre chartables symlink)

The v0.1.14.1 release gate died in "Build wxWidgets (wxUniversal WASM)" with
"No rule to make target 3rdparty/pcre/src/pcre2_chartables.c". Nothing in the
tree changed wx — the submodule is the same SHA that released fine as v0.1.13
— and the two main CI runs on this tree built wx and went on to run e2e. The
restored build-wasm/wxwidgets cache is the variable: pcre's makefile rm's that
path and re-links it to pcre2_chartables.c.dist at configure time, so a cache
captured around that window restores a tree whose pcre rule cannot be
satisfied from a clean checkout.

CI's wx cache key hashes scripts/build-wx-wasm.sh, so a header edit is the
lever that discards it. Documented as an explicit epoch counter there, since
the next person hitting this will not guess that editing a build script is how
you evict a cache.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H8jo7zz1ZwzYpjJ64UZKN4
This commit is contained in:
Gergő Törcsvári 2026-07-29 17:42:45 +02:00
commit da556f6202
No known key found for this signature in database
GPG key ID: 8E75F2CDE64E5322

View file

@ -1,6 +1,15 @@
#!/bin/bash
# Build wxWidgets for WebAssembly (the DOM port: widgets are real HTML
# elements; owner-drawn widgets render into per-window canvas islands)
#
# CI cache epoch: 2 (2026-07-29). CI's wx cache key hashes THIS FILE
# (.github/workflows/wasm-build.yml "Restore wx build cache"), so editing this
# header is how a poisoned build-wasm/wxwidgets cache gets discarded. Bumped
# after a restored cache failed with "No rule to make target
# 3rdparty/pcre/src/pcre2_chartables.c": pcre's makefile rm's that path and
# re-links it to pcre2_chartables.c.dist at configure time, so a cache captured
# around that window restores a build tree whose pcre rule can no longer be
# satisfied from a clean checkout. Bump the number to force a fresh wx build.
# Redirect all output to a log file (re-execs script with redirection)
source "$(dirname "$0")/common/logging.sh"