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

Persist pch files in output dir #701

Merged

Conversation

jerrymarino
Copy link
Contributor

Introduce a feature to persist pch files created internally. This simply
adds the flag pch_output_dir to point at a directory when the feature is
present

Introduce a feature to persist pch files created internally. This simply
adds the flag pch_output_dir to point at a directory when the feature is
present
@google-cla google-cla bot added the cla: yes label Oct 19, 2021
@keith
Copy link
Member

keith commented Oct 19, 2021

what's the used for? can you add a test?

@jerrymarino
Copy link
Contributor Author

jerrymarino commented Oct 19, 2021

Swift compiles a pch in some cases and you can enable this flag to persist them amongst different invocations. For a test you mean asserting the flag is passed w/ the configurator - something like test/module_cache_settings_tests.bzl?

@keith
Copy link
Member

keith commented Oct 19, 2021

yea something like that is good

@jerrymarino
Copy link
Contributor Author

Nice, added a quick check for that 👍

@keith keith merged commit 1af61b8 into bazelbuild:master Oct 19, 2021
@jerrymarino
Copy link
Contributor Author

@keith thanks for the quick turnaround 🙇‍♂️

@jerrymarino jerrymarino deleted the jmarino/pch_output_dir_configurator branch October 20, 2021 02:02
@keith
Copy link
Member

keith commented Oct 20, 2021

Thanks for the PR!

tymurmustafaiev pushed a commit to tymurmustafaiev/rules_swift that referenced this pull request Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants