On Fri, Jan 31, 2014 at 1:35 PM, Renato Golin <renato.golin at linaro.org>wrote:> On 31 January 2014 09:22, Alexey Samsonov <samsonov at google.com> wrote: > >> 1) If ASan runtime has changed, re-build it, and re-run tests. >> 2) If FileCheck or lit sources have changed, I should re-build them (but >> not ASan runtime) and re-run tests. >> 3) If Clang sources have changed, I should re-build Clang, re-build ASan >> runtime (*) and re-run tests. >> > > Yeah, this is the major pain I'm having right now, as there isn't a target > that I can make to re-compile the rt dependencies, not even check-all does > that. (I have no idea how it gets compiled in the first place!). >> Maybe anyone knows of a way I can force it to re-compile, like removing > the build directory just for the rt or something. >In CMake build system you can just run "make compiler-rt". Not sure how to do this in configure+make w/o "make clean"...> > > IIRC, "make check-all" in configure+make build tree doesn't re-build the >> necessary libraries automatically. >> > > Correct. > > --renato >-- Alexey Samsonov, MSK -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140131/fa9b090d/attachment.html>
On 31 January 2014 09:47, Alexey Samsonov <samsonov at google.com> wrote:> In CMake build system you can just run "make compiler-rt". > Not sure how to do this in configure+make w/o "make clean"... >Make compiler-rt doesn't re-make it on changes. Nor does make check-asan or check-all. cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140131/93bc51d2/attachment.html>
On Fri, Jan 31, 2014 at 1:48 PM, Renato Golin <renato.golin at linaro.org>wrote:> On 31 January 2014 09:47, Alexey Samsonov <samsonov at google.com> wrote: > >> In CMake build system you can just run "make compiler-rt". >> Not sure how to do this in configure+make w/o "make clean"... >> > > Make compiler-rt doesn't re-make it on changes. Nor does make check-asan > or check-all. >Right now, in my CMake build tree I've ran "make compiler-rt", then changed compiler-rt/lib/absvsi2.c, then ran "make compiler-rt" again, and saw that lib/clang/3.5/lib/linux/libclang_rt.x86_64.a was indeed rebuilt.> > cheers, > --renato >-- Alexey Samsonov, MSK -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140131/267e6e88/attachment.html>