Skip to content

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.
@ahoppen
Copy link
Member

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.

@SteelskinSteelskin marked this pull request as draft November 21, 2024 02:16
Sign up for freeto 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

@Steelskin@ahoppen