[llvm-bugs] [Bug 32193] New: [modules] issues with "delete modules.cache" on edit-compile-debug cycles
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 9 06:36:05 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=32193
Bug ID: 32193
Summary: [modules] issues with "delete modules.cache" on
edit-compile-debug cycles
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Modules
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
delete.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170309/209d2fe0/attachment.html>
More information about the llvm-bugs
mailing list