[llvm-bugs] [Bug 32193] New: [modules] issues with "delete modules.cache" on edit-compile-debug cycles
llvm-bugs at lists.llvm.org
Thu Mar 9 06:36:05 PST 2017
Bug ID: 32193
Summary: [modules] issues with "delete modules.cache" on
Assignee: unassignedclangbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
When I am using modules in a edit-compile-debug-repeat cycle, I am usually
editing some header files that are part of a single module.
On recompilation, clang complains that the module changed.
I then need to rm -rf modules.cache completely, and retry compiling my code,
which is now slower since all the modules need to be recompiled.
Multiple issues with this:
- 1. I would expect clang to delete the cache itself and recompile, instead of
bailing out and doing nothing.
- 2. I would expect clang to delete only the modules that need to be
recompiled, not the whole cache.
- 3. If I am going to be doing this manually for a while, I would like a way to
have multiple caches, so that I can put e.g. the external dependencies of my
project, which never change, on a different cache that I then do not need to
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs