[llvm-commits] [PATCH] Teach CMake to only touch tablegen-generated files if anything actually changed.

Francois Pichet pichet2000 at gmail.com
Sat Oct 23 11:20:46 PDT 2010


I don't know if this patch is the problem but there is problem with
CMake dependency on VS2008 since 2-3 ago. When I select the the
"clang-test" project and build (to run the test). The project
LLVMX86CodeGen always get recompiled even if nothing has changed. This
is annoying as I run the test very very often. Now i have to revert
back to using the command line to run the clang lit test.



On Fri, Oct 22, 2010 at 1:44 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Frits van Bommel <fvbommel at gmail.com> writes:
>
>> On Fri, Oct 22, 2010 at 7:06 PM, Frits van Bommel <fvbommel at gmail.com> wrote:
>>> Note that I wasn't sure what COMMENT lines to use for the two
>>> different targets, but "Building ${ofn}.tmp..." and "Updating ${ofn}
>>> if necessary" seems reasonable. (Similar phrasing is used when
>>> regenerating library dependencies, I think)
>>
>> It appears that if you use COMMENT "" the entire line disappears, so
>> we can hide this implementation detail from the user interface.
>> Updated patch attached.
>
> Looks good. Committed as 117113.
>
> Time ago I fought quite a bit for solving this problem, and every trick
> I tried caused some kind of annoyance elsewhere. Let's hope that your
> patch got it right.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list