<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Oct 27, 2013 at 10:09 PM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
On 28/10/2013 01:45, Andrew Trick wrote:<br>
> I really want this feature. It may not be clean, but would save a lot<br>
> of time in practice. However...<br>
><br>
> On Oct 24, 2013, at 10:35 PM, Alp Toker <<a href="mailto:alp@nuanti.com">alp@nuanti.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:alp@nuanti.com">alp@nuanti.com</a>>> wrote:<br>
><br>
>> lit shell tests and compiled unit tests are both supported. At the<br>
>> moment, the cache is implemented by scanning and modifying test<br>
>> source mtimes directly. This hasn't caused trouble but the technique<br>
>> could be refined in future to store test failures in a separate cache<br>
>> file if needed.<br>
><br>
> This doesn’t feel right. I don’t think it will personally cause me any<br>
> grief, but seems like someone or their tools will be confused. If<br>
> others think it’s ok, I won’t object. I just don’t want to accept the<br>
> patch until others review this aspect.<br>
<br>
</div>I agree, no build / test tool should touch the source directory so this<br>
feature isn't really ready for landing yet.<br>
<br>
I'm willing to take a stab at storing the cache in a local file, but<br>
wanted to gage the level of interest first.<br></blockquote><div><br></div><div>FYI Python ships with sqlite in the stdlib: <<a href="http://docs.python.org/3/library/sqlite3.html">http://docs.python.org/3/library/sqlite3.html</a>>. Depending on what exactly you want to store and how you need to access it, it might be useful.</div>
<div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
In my experience this is the kind of feature where once you have it,<br>
it's hard to go back :-)<br>
<div class="im"><br>
Alp.<br>
<br>
<br>
--<br>
<a href="http://www.nuanti.com" target="_blank">http://www.nuanti.com</a><br>
the browser experts<br>
<br>
</div><div class=""><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>