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] Add cache for enabling sccache builds #80023

Merged

Conversation

etcwilde
Copy link
Contributor

Add cmake cache for enabling sccache while building with the new runtime build when sccache is available.

To build with sccache, pass the sccache.cmake cache:

cmake \
  -B build \
  -S Runtime/Core \
  -C Runtimes/Core/cmake/cache/sccache.cmake

Add cmake cache for enabling sccache while building with the new runtime
build when sccache is available.

To build with sccache, pass the `sccache.cmake`

```
cmake \
  -B build \
  -S Runtime/Core \
  -C Runtimes/Core/cmake/cache/sccache.cmake
```
@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

@xavgru12
Copy link

Sounds great! What do you mean by new runtime and where is the old runtime?

@etcwilde
Copy link
Contributor Author

The new runtime build is under Runtimes/. The old runtime build is mostly under stdlib/.

@etcwilde etcwilde merged commit d280b14 into swiftlang:main Mar 15, 2025
3 checks passed
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