Skip to content

Conversation

@github-actions
Copy link

This PR was automatically opened by a GitHub action. Review the changes included in this PR and determine if they should be included in the release branch. If yes, merge the PR. Otherwise revert changes that should not be included on this branch.

ahoppen and others added 26 commits November 11, 2025 11:56
We were passing `-index-store-compress` to the compiler even though we don’t pass `-index-store-path` if `INDEX_STORE_ENABLE = YES` but `COMPILER_INDEX_STORE_ENABLE = NO`. This is because `CLANG_INDEX_STORE_ENABLE` still evaluated to `YES` and thus the `Condition` of `CLANG_INDEX_STORE_COMPRESS` also evaluated to `YES` but we didn’t pass `-index-store-path` because the condition of `CLANG_INDEX_STORE_ENABLE` evaluated to `NO`.

This was a misconception on my side when I added these build settings because I assumed that the `Condition` would influence the value of the build setting instead of just influencing `ComandLineArgs`.

I don’t like how we need to repeat the same condition in multiple build settings now but haven’t found a better solution.

rdar://164248532
Do not pass index store options if indexing is disabled
Use the platform of a stub binary when looking up compatible architectures
The title appears in two places; one of them was still backwards.
We were still going through the lock once for every `MacroValueAssignment` which was causing performance issues during config file parsing. This didn't really make sense since we can instead do the insert in `MacroConfigFileParser` and otherwise only deal in index references. Real locations only need to be materialized for code that deals with them.

rdar://164650188
Fix IndexDependencyResolutionTests when EnableDebugActivityLogs is enabled
Cleanup targetArchitecture handling in macOS test run destination
FreeBSD's pkg returns 1 if a package isn't installed. Across all platforms, we really only care about parsing the tool's output, not whether it exited successfully or not. This allows tests to be properly skipped on FreeBSD when the requisite tool is not installed.
Whatever toolchain issue caused this to originally be skipped is no longer present.
This avoids incorrectly diagnosing an entitlements change during the build.
Stop passing -fobjc-arc to linker invocations
A couple incremental entitlements processing / signing fixes
On Linux, chown is at /usr/bin/chown, while on BSDs it's at /usr/sbin/chown

It was also being incorrectly located based on the target platform, which is incorrect. Only the host platform matters for this lookup. This meant macOS to Android or WebAssembly cross compilation, FreeBSD to Linux cross compilation, or FreeBSD native compilation could have failed if the build graph contained any chown commands. Also use a search path so we don't have to hardcode knowledge of any specific platform for this.
Correct linker file list escaping depending on the LINKER_DRIVER used
Flip direction of the 6.3 merge workflow
@owenv owenv marked this pull request as ready for review November 17, 2025 22:53
@owenv
Copy link
Collaborator

owenv commented Nov 17, 2025

@swift-ci test

@owenv owenv enabled auto-merge November 17, 2025 22:53
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.

6 participants