Skip to content

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