-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correctly propagate -target to swiftinterface clang deps
Summary: This change fixes the swiftinterface compilation to ensure that the transitive clang module deps of each swift module are compiled with the correct compiler target. Summary of changes: - remove `-target` from swiftinterface compilation, this will be picked from the swiftinterface file and is redundant - add the target to `SdkUncompiledModuleInfo` so we can pass it down to clang deps - don't pass `swift_cxx_flags` to swiftinterface compilation, these will be ignored anyway - modify `get_swift_sdk_pcm_anon_targets` to collect transitive clang module deps from all SDK deps, not just Swift ones - compile transitive clang deps of each swiftinterface using the correct target Reviewed By: milend Differential Revision: D48756624 fbshipit-source-id: 18b4210d4fc6ebc5e257bc90feb355587a0681fa
- Loading branch information
1 parent
e11cfc7
commit e2ffd0a
Showing
6 changed files
with
56 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters