Repository navigation
Allow cross-compiling Linux binaries on a macOS host - #131330
Conversation
|
Workflow [PR], commit [bdb88da] Summary: ❌
AI ReviewSummaryPR #131330 restricts host CPU probes to Linux hosts, defers importing Missing context / blind spots
Final VerdictStatus: ✅ Approve |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Slowest function optimization changes (ThinLTO)Median per-function time ratio to the master baseline:
Compile time of recompiled translation units6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline. |
88d8610
Configuring a Linux build on a macOS host failed in
cmake/cpu_features.cmake: the build-host CPU checks run whenever the target is Linux and read the host's/proc/cpuinfo, which does not exist on macOS. The checks are about build-time tools running on the host, so they now run only on Linux hosts.With that, a Linux ARM64 binary cross-compiled on a Mac runs integration tests through the Apple container setup in
tests/integration/README.md. The README now documents the cross build and the Homebrew packages. The local runner also failed without therequestsmodule becauseci/praktika/cidb.pydecided whether it is a local run at import time, before that was known;requestsis now imported where it is used.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Allow cross-compiling Linux binaries on a macOS host.
Workflow [PR]
Sync PR [sync-upstream/pr/131330]
Version info
26.11.1.2244-master(included in26.11and later)