Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SwiftCaching] Don't drop -Xcc during dependency scanning #1501

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

cachemeifyoucan
Copy link
Contributor

When using swift caching, -Xcc should not be appended to compilation commmands because dependency scanner returns the cc1 command needed to create clang importer. But -Xcc options were accidentally dropped from scan-dependencies command, causing them to be ignored.

rdar://119391228

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

When using swift caching, `-Xcc` should not be appended to compilation
commmands because dependency scanner returns the cc1 command needed to
create clang importer. But `-Xcc` options were accidentally dropped from
scan-dependencies command, causing them to be ignored.

rdar://119391228
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test windows platform

@cachemeifyoucan cachemeifyoucan merged commit 0c846ef into swiftlang:main Dec 10, 2023
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.

3 participants