Skip to content

cmake/cross: fix the stale coreaudio-encoder group and check cross sources exist (#1294) - #1967

Merged
zackees merged 2 commits into
masterfrom
fix/1294-cross-win-x64
Oct 23, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/1294-cross-win-x64

Conversation

@zackees

@zackees zackees commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Refs #1294 (part 3: the cross check runs to the end again). Part 2 (running cmake/cross in CI) is still open.

The local cross-compile check (cmake/cross/docker.sh) had drifted from the tree because no CI job runs it:

  • win-x64 failed at configure: cmake/cross/CMakeLists.txt named coreaudio-encoder.core+.hpp.cpp, which facade: isolate CoreAudio encoder platform policy #1607 split into .windows+/.macos+ (with coreaudio-platform-types.hpp moved under hosts/<os>/).
  • mac-arm64 failed in decklink: decklink-platform.hpp now lives in hosts/<os>/, which wasn't on the cross include path.

The win-dshow header gap this part was filed for no longer reproduces: win-dshow-cross compiles.

RED (ci: check that every source cmake/cross names exists): the new ci/test_cross_sources.py (run by ./lint with every ci/test_*.py) fails on master, listing coreaudio-encoder-cross: plugins/coreaudio-encoder/build/coreaudio-encoder.core+.hpp.cpp.

GREEN: the cross targets name the current groups and add the same hosts/<os> include paths the native CMakeLists use. ci/test_cross_sources.py passes, cmake/cross/docker.sh win-x64 mac-arm64 builds every target with exit code 0, and ./lint passes.

Tiers 1–4 do not apply (build-check configuration only, no shipped code). No user-visible change.

…REEN, #1294)

#1607 split coreaudio-encoder.core+ into .windows+/.macos+ and moved its
platform types under hosts/<os>/; decklink-platform.hpp moved the same way.
The cross check still named the old group and lacked the hosts/ include
paths, so win-x64 failed at configure and mac-arm64 failed in decklink.
@zackees
zackees marked this pull request as ready for review October 23, 2026 19:27
@zackees
zackees added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit d0d5570 Oct 23, 2026
30 checks passed
@zackees
zackees deleted the fix/1294-cross-win-x64 branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant