[PATCH] D69327: [Clang][ThinLTO] Add a cache for compile phase output.
Steven Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 23 15:03:43 PDT 2019
steven_wu added a comment.
Can you clarify what do you mean by 'waste time optimizing a file that finally hit the object file cache'?
No matter what build system to use, it should figure out during an incremental build that the input wasn't changed and not rerun the clang invocation on the same input. If you are looking to achieve what `ccache` is doing, I don't think implement in the compiler is a good option. That should really be done on the build system level. This solution is strictly worse than `ccache` because `ccache` is able to fetch the optimized bitcode without even running clang frontend and ir-gen.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69327/new/
https://reviews.llvm.org/D69327
More information about the cfe-commits
mailing list