fix(build): invalidate native objects when the Qt SDK changes

Fingerprint Qt SDK headers for C++ cache inputs and share bounded debug/release startup gates between local tooling and CI.

cx
This commit is contained in:
vicrodh committed 2026-09-06 03:53:05 -06:00
1 parent 088fac93c6
commit 6794e15257
13 files changed
+489 -65

No files matched your search

+2 -2
View File
@@ -47,7 +47,7 @@ die() { say "ERROR: $*" >&2; exit 1; }
# Build deps for the Qt `qbz` binary — the same list as build-qt-linux.yml
# minus what aqt provides there (here the distro's Qt provides it).
DEPS=(
build-essential pkg-config cmake clang libclang-dev nasm curl
build-essential pkg-config cmake clang libclang-dev nasm curl python3
libasound2-dev libjack-jackd2-dev libdbus-1-dev libssl-dev
libgl1-mesa-dev libegl1-mesa-dev libxkbcommon-dev
qt6-base-dev qt6-base-private-dev
@@ -89,7 +89,7 @@ case "$arch" in
else jobs="$(nproc)"; fi
say "RAM ${mem_mb} MB -> CARGO_BUILD_JOBS=${jobs}"
# No RUSTFLAGS, no mold, stable: same cache rule as qt-run.sh.
( cd crates && CARGO_BUILD_JOBS="$jobs" CARGO_INCREMENTAL=0 cargo build --release -p qbz-qt )
CARGO_BUILD_JOBS="$jobs" CARGO_INCREMENTAL=0 python3 scripts/qt-cargo.py build --release --manifest-path crates/Cargo.toml -p qbz-qt
install -Dm755 "crates/target/release/qbz" "$OUT"
;;
x86_64 | amd64)