Skip to content

Add CMAKE_CROSSCOMPILING_EMULATOR to ICU tool invocations#227

Merged
iangrunert merged 2 commits intomainfrom
ig/use-crosscompiling-emulator
Feb 23, 2026
Merged

Add CMAKE_CROSSCOMPILING_EMULATOR to ICU tool invocations#227
iangrunert merged 2 commits intomainfrom
ig/use-crosscompiling-emulator

Conversation

@iangrunert
Copy link
Contributor

This allows us to get rid of the binfmt_misc requirement from the cross-compile, making it way easier to run inside a container.

Ian Grunert and others added 2 commits February 17, 2026 14:59
Prepend ${CMAKE_CROSSCOMPILING_EMULATOR} to all COMMAND lines that
invoke ICU data-generation tools (genrb, icupkg, gencnval, etc.).
This allows cross-compilation without binfmt_misc by explicitly
running .exe tools through Wine. When CMAKE_CROSSCOMPILING_EMULATOR
is undefined (native Windows builds), CMake drops it from the
argument list -- no behavior change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@iangrunert iangrunert merged commit 0b89229 into main Feb 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants