Skip to content

[cmake] Move ar linking optimization rule into UnixCompileRules.cmake and only run it on Unix-like platforms. #32111

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

Conversation

gottesmm
Copy link
Contributor

This doesn't make sense on Windows and from what compnerd has said it doesnt
even appear in the ninja rules file. This also moves this rule out of the main
flow of the top level CMakeLists.txt file so I can reuse it when compiling the
stdlib using a sub-cmake invocation.

… and only run it on Unix-like platforms.

This doesn't make sense on Windows and from what compnerd has said it doesnt
even appear in the ninja rules file. This also moves this rule out of the main
flow of the top level CMakeLists.txt file so I can reuse it when compiling the
stdlib using a sub-cmake invocation.
@gottesmm gottesmm requested a review from compnerd May 31, 2020 04:36
@gottesmm
Copy link
Contributor Author

@swift-ci clean test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 72d8d9b

@gottesmm
Copy link
Contributor Author

The linux error is I think the weird module issue. Going to try again with a smoke test.

@gottesmm
Copy link
Contributor Author

@swift-ci smoke test linux platform

@compnerd
Copy link
Member

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 72d8d9b

@compnerd
Copy link
Member

@swift-ci please smoke test Linux platform

@compnerd
Copy link
Member

compnerd commented Jun 1, 2020

@swift-ci please test Linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Jun 1, 2020

Build failed
Swift Test Linux Platform
Git Sha - 72d8d9b

@compnerd
Copy link
Member

compnerd commented Jun 1, 2020

@swift-ci please test Linux platform

@gottesmm gottesmm merged commit 21ca9d4 into swiftlang:master Jun 1, 2020
@gottesmm gottesmm deleted the pr-846f5396754c136c8adbf30b79b0b1c4b33ff9e5 branch June 1, 2020 18: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.

3 participants