Skip to content

🍒 Test the Isystem flag before using -Isystem#555

Merged
ian-twilightcoder merged 1 commit into
swiftlang:release/6.2from
ian-twilightcoder:Isystem-feature-flag
Jun 4, 2025
Merged

🍒 Test the Isystem flag before using -Isystem#555
ian-twilightcoder merged 1 commit into
swiftlang:release/6.2from
ian-twilightcoder:Isystem-feature-flag

Conversation

@ian-twilightcoder

Copy link
Copy Markdown
Contributor

swift-build needs to support older versions of swift-frontend that don't support -Isystem. Check the driver and front end before using it. Also set TEST_LIBRARY_SEARCH_PATHS in SWIFT_SYSTEM_INCLUDE_PATHS rather than SWIFT_INCLUDE_PATHS, to match the handling for TEST_FRAMEWORK_SEARCH_PATHS -> SYSTEM_FRAMEWORK_SEARCH_PATHS.

rdar://152540600

swift-build needs to support older versions of swift-frontend that don't support -Isystem. Check the driver and front end before using it.
Also set TEST_LIBRARY_SEARCH_PATHS in SWIFT_SYSTEM_INCLUDE_PATHS rather than SWIFT_INCLUDE_PATHS, to match the handling for TEST_FRAMEWORK_SEARCH_PATHS -> SYSTEM_FRAMEWORK_SEARCH_PATHS.

rdar://152540600
@ian-twilightcoder ian-twilightcoder merged commit 68d6704 into swiftlang:release/6.2 Jun 4, 2025
20 of 21 checks passed
@ian-twilightcoder ian-twilightcoder deleted the Isystem-feature-flag branch June 17, 2025 22:58
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