Skip to content

build: use CMAKE_COMMAND instead of hardcoded cmake #359

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

Merged
merged 4 commits into from
Jun 14, 2018

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Jun 6, 2018

This ensures that the cmake used to build is the cmake invoked when
running the custom command. In the case that cmake is not in PATH,
you would fail to invoke the command, failing the build.

@compnerd
Copy link
Member Author

compnerd commented Jun 6, 2018

CC: @MadCoder

@compnerd
Copy link
Member Author

compnerd commented Jun 6, 2018

@swift-ci please test

compnerd added 3 commits June 7, 2018 13:08
This ensures that the cmake used to build is the cmake invoked when
running the custom command.  In the case that `cmake` is not in PATH,
you would fail to invoke the command, failing the build.
lld is the LLVM linker which is faster than gold.  Prefer lld over gold
(that is, if `-DUSE_LLD_LINKER` is provided, gold will not be used).
@compnerd
Copy link
Member Author

compnerd commented Jun 7, 2018

@swift-ci please test

We would previously not honor the linker settings for the tests.  Adjust
the build process to account for that.
@compnerd
Copy link
Member Author

compnerd commented Jun 7, 2018

@swift-ci please test

@compnerd
Copy link
Member Author

@MadCoder - ping!

@MadCoder MadCoder merged commit 03696d7 into swiftlang:master Jun 14, 2018
@compnerd compnerd deleted the cmake branch June 14, 2018 16:38
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
build: use `CMAKE_COMMAND` instead of hardcoded cmake
Signed-off-by: Kim Topley <[email protected]>
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