ci: preserve Xcode compiler discovery with ccache launchers - #1610
Draft
mrousavy wants to merge 1 commit into
Draft
ci: preserve Xcode compiler discovery with ccache launchers#1610mrousavy wants to merge 1 commit into
mrousavy wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Xcode could not discover
libclang.dylibwhen the iOS builds replaced its compiler with bareclangnames. Use Xcode's compiler defaults across the example, Release, Harness, and benchmark builds. The example and Harness workflows useC_COMPILER_LAUNCHERfor ccache and enable its Clang explicit-module opt-in, following Apple's compiler launcher guidance.Remove ccache compiler symlinks and React Native's compiler/linker wrapper injection together, preserving the real-compiler discovery required by ASan in #1417. Use a generic arm64 simulator destination for the build-only example job, remove the matching local example compiler overrides, and remove redundant benchmark libc++ and Swift toolchain search entries.
Validated locally with Xcode 26.6 and ccache 4.14: the real example ASan build succeeds, links its sanitizer runtime, and runs 25 dependency scans plus 74 module precompilations without compiler-discovery or launcher fallback messages. Recompiling ArrayBuffer.cpp produces a direct ccache hit; explicit-module commands pass through ccache. The current Release benchmark app also builds and passes C++/Swift deferred-Promise and native-owned-buffer cases through calibration plus fresh-process measurement. Actionlint, ShellCheck, shell syntax, project syntax, and diff checks pass.
CI pins Xcode 26.5; the full hosted matrix has not been run, and new PR workflows are intentionally cancelled as requested. CocoaPods still generates an obsolete Swift toolchain search path on this machine; that remaining warning is outside the checked-in project settings.