Skip to content

[stable/20221013][CAS/libclang] Add libclang APIs for handling and replaying cached compilations #7306

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

akyrtzi
Copy link

@akyrtzi akyrtzi commented Aug 23, 2023

  • Lookup a cached compilation using a compilation cache key
  • Get information about the compilation outputs and materialize them (bring them in the local CAS)
  • Replay a cached compilation

These allow a client to retrieve the data of a prior cached compilation and replay it without needing to invoke clang as a separate process.

(cherry picked from commit 9c0b819)

…mpilations

* Lookup a cached compilation using a compilation cache key
* Get information about the compilation outputs and materialize them (bring them in the local CAS)
* Replay a cached compilation

These allow a client to retrieve the data of a prior cached compilation and replay it without needing
to invoke clang as a separate process.

(cherry picked from commit 9c0b819)
@akyrtzi
Copy link
Author

akyrtzi commented Aug 23, 2023

@swift-ci Please test

@akyrtzi
Copy link
Author

akyrtzi commented Aug 24, 2023

@swift-ci test macOS platform

@akyrtzi akyrtzi merged commit 843dcf6 into swiftlang:stable/20221013 Aug 24, 2023
@akyrtzi akyrtzi deleted the akyrtzi/pr/stable-libclang-cas-queries branch August 24, 2023 15:39
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.

1 participant