Skip to content

Destinations: pass -Xfrontend -validate-tbd-against-ir=none #6377

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

Closed
wants to merge 1 commit into from

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Apr 4, 2023

This fixes an issue with the Windows build introduced with the conversion of SwiftDestinationTool to AsyncParsableCommand, as reported at #6361 (comment)

@MaxDesiatov MaxDesiatov added the bug label Apr 4, 2023
@MaxDesiatov MaxDesiatov requested a review from compnerd April 4, 2023 15:14
@MaxDesiatov MaxDesiatov requested a review from abertelrud as a code owner April 4, 2023 15:14
@MaxDesiatov MaxDesiatov self-assigned this Apr 4, 2023
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov MaxDesiatov changed the title Destinations CMake: pass -Xfrontend -validate-tbd-against-ir=none Destinations: pass -Xfrontend -validate-tbd-against-ir=none Apr 4, 2023
@@ -26,6 +26,10 @@ target_link_libraries(CrossCompilationDestinationsTool PUBLIC
# NOTE(compnerd) workaround for CMake not setting up include flags yet
set_target_properties(CrossCompilationDestinationsTool PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose that we should file an issue and tag it here so that we can clean this up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this conditional on windows + add a comment why we need this?

This fixes an issue with the Windows build highlighted in #6361 (comment)
@MaxDesiatov MaxDesiatov force-pushed the maxd/disable-tbd-validation branch from 6dcc3c3 to c4f74ab Compare April 4, 2023 15:32
@MaxDesiatov
Copy link
Contributor Author

@swift-ci smoke test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@compnerd
Copy link
Member

I think that this should no longer be needed given that swiftlang/swift#64920 has been merged

@MaxDesiatov MaxDesiatov deleted the maxd/disable-tbd-validation branch April 11, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants