Skip to content

Conversation

@compnerd
Copy link
Member

This should repair the Windows build after #29451. The quoting
behaviour was incorrect and was constructing an invalid compiler
invocation. Solve the issue by using target_include_directories
instead. However, since this needs the target, hoist the flag
computation to the local sites. This replicates more logic because of
the custom build trying to replicate the CMake build logic in CMake.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

CC: @xiaobai

@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd force-pushed the duplication-is-good-for-you branch from 18469dd to eadd215 Compare January 27, 2020 23:45
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd force-pushed the duplication-is-good-for-you branch from eadd215 to f9c75fd Compare January 28, 2020 00:04
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd force-pushed the duplication-is-good-for-you branch from f9c75fd to c0f9053 Compare January 28, 2020 00:52
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd force-pushed the duplication-is-good-for-you branch 2 times, most recently from d76b142 to 07cf446 Compare January 28, 2020 05:18
This should repair the Windows build after swiftlang#29451.  The quoting
behaviour was incorrect and was constructing an invalid compiler
invocation.  Solve the issue by using `target_include_directories`
instead.  However, since this needs the target, hoist the flag
computation to the local sites.  This replicates more logic because of
the custom build trying to replicate the CMake build logic in CMake.
@compnerd compnerd force-pushed the duplication-is-good-for-you branch from 07cf446 to a1c9719 Compare January 28, 2020 06:35
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd
Copy link
Member Author

@swift-ci please clean test Windows platform

@compnerd compnerd merged commit 02b6161 into swiftlang:master Jan 28, 2020
@compnerd compnerd deleted the duplication-is-good-for-you branch February 15, 2020 19:37
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.

1 participant