Skip to content
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

[cmake] Build with CMake on macOS #1834

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Steelskin
Copy link

  • Add CXX as a language. This is required to link in the standard library on macOS, which is used by dependencies.
  • Set up rpath for the macOS binary. This is necessary to produce a working binary post-installation.

* Add CXX as a language. This is required to link in the standard
  library on macOS, which is used by dependencies.
* Set up rpath for the macOS binary. This is necessary to produce a
  working binary post-installation.
@Steelskin Steelskin requested a review from ahoppen as a code owner November 19, 2024 00:48
@ahoppen
Copy link
Member

ahoppen commented Nov 19, 2024

Thanks for the PR. Out of curiosity: What’s your motivation to build SourceKit-LSP using CMake on macOS?

@Steelskin
Copy link
Author

Thanks for the PR. Out of curiosity: What’s your motivation to build SourceKit-LSP using CMake on macOS?

We are building our own Swift toolchain and would like to share most of the build infrastructure with our existing Windows build, which uses CMake. Specifically, we would like to lower total install size so we are building with shared libraries.

@Steelskin
Copy link
Author

I am temporarily moving this PR to draft as I am changing the installation directories in other repositories. See this comment for details.

@Steelskin Steelskin marked this pull request as draft November 21, 2024 02:16
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.

2 participants