Skip to content

Speed up macOS Xcode CMake configuration#2394

Open
vkedwardli wants to merge 1 commit into
flyinghead:masterfrom
vkedwardli:feat/DarwinXcodeProbeCache
Open

Speed up macOS Xcode CMake configuration#2394
vkedwardli wants to merge 1 commit into
flyinghead:masterfrom
vkedwardli:feat/DarwinXcodeProbeCache

Conversation

@vkedwardli

@vkedwardli vkedwardli commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

This PR speeds up native macOS Xcode project generation by pre-seeding stable CMake feature checks

Original CI run:

  • Configure time: 550.4s
  • Probes: 272

With this PR:

  • Configure time: 56.4s
  • Probes: 10
image

The remaining probes are ObjC compiler discovery, CPU architecture checks, immintrin.h, and some weird outdated CPU_SUPPORTS_ALTIVEC checks.

Validation:

  • Compared preseeded cache values against the original CMakeCache.txt from CI
  • Verified no missing or mismatched preseeded values
  • Verified x86_64 and arm64 Xcode cache results locally also

Speed up macOS Xcode project generation by skipping repeated feature checks, can be disabled with `FLYCAST_PRESEED_DARWIN_XCODE_CHECKS=OFF`
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.

1 participant