[llvm-bugs] [Bug 34352] New: [cmake][modules] 'ninja clean' does not remove modules.cache directory
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 28 15:20:45 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34352
Bug ID: 34352
Summary: [cmake][modules] 'ninja clean' does not remove
modules.cache directory
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: rtrieu at google.com
CC: llvm-bugs at lists.llvm.org
My system had an update to a library file, so it failed a modules build. I
tried to clean out the files and build again, but that didn't work. It
required a manual delete of the modules directory in order to get a rebuild of
Clang.
$ ninja
...
fatal error: file '/usr/include/linux/errno.h' has been modified since the
module file '<<build
directory>>/module.cache/VFOLNPBRXSUY/LLVM_IRReader-37GEUGWS2AK5A.pcm' was
built
note: please rebuild precompiled header '<<build
directory>>/module.cache/VFOLNPBRXSUY/LLVM_IRReader-37GEUGWS2AK5A.pcm'
1 error generated.
$ ninja clean
[1/1] Cleaning all built files...
Cleaning... 3806 files.
$ ninja
...
fatal error: file '/usr/include/linux/errno.h' has been modified since the
module file '<<build
directory>>/module.cache/VFOLNPBRXSUY/LLVM_IRReader-37GEUGWS2AK5A.pcm' was
built
note: please rebuild precompiled header '<<build
directory>>/module.cache/VFOLNPBRXSUY/LLVM_IRReader-37GEUGWS2AK5A.pcm'
1 error generated.
$ rm module.cache -r
$ ninja
<<build successful>>
--
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/20170828/0e5bc95a/attachment-0001.html>
More information about the llvm-bugs
mailing list