Skip to content

[Dependency Scanning] Do not include -target in extraPCMArgs when scanning an interface #38417

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

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Jul 15, 2021

#37774 (related to rdar://72480261) has made it so that the target of built clang modules (even downstream from Swift interface dependencies) can be consistent with that of the main module. This means that when building transitive Clang dependencies of the main module, they will always have a matching triple to the main module itself (ensured with -clang-target). This means we no longer have to report the target triple in the set of extraPCMArgs which encode an interface-specific requirement for building its dependencies.

When no -clang-target is specified on the scanner invocation (if the driver was invoked with -disable-clang-target, for example, preserve existing behavior.

… scanning an interface

swiftlang#37774 (related to rdar://72480261) has made it so that the target of built clang modules (even downstream from Swift interface dependencies) can be consistent with that of the main module. This means that when building transitive Clang dependencies of the main module, they will always have a matching triple to the main module itself (ensured with `-clang-target`). This means we no longer have to report the target triple in the set of `extraPCMArgs` which encode an interface-specific requirement for building its dependencies.
@artemcm artemcm requested a review from nkcsgexi July 15, 2021 23:25
@artemcm
Copy link
Contributor Author

artemcm commented Jul 15, 2021

@swift-ci please test

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