[llvm-dev] MSBuild incremental builds are broken with LLVM 6 (and beyond)

Scott Funkenhauser via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 25 07:00:01 PST 2019


Starting with LLVM 6, MSBuild incremental builds stopped working. I've
tracked this down to a CL that modified how file renaming was done on
Windows. It appears that FileTracker does not recognize renaming a file
with SetFileInformationByHandle.


You can repro this fairly easily by:
1) Downloading the prebuilt binaries of LLVM 6 or 7 for Windows.
2) Creating a new C++ project (I just chose the default console
application) in VS 2017.
3) Mess with the project settings to disable all the features clang doesn't
support (Conformance mode, Just my code, etc...)
4) Build

Every time you build it will rebuild everything.

I'm curious if this is a known issue? (I couldn't find any open bugs
relating to this)
Is MSBuild incremental builds something that is officially supported? Or
did it just work in the past by chance?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190125/35b73cf8/attachment.html>

More information about the llvm-dev mailing list