[llvm-commits] [llvm] r68708 - /llvm/trunk/Makefile.rules

Bill Wendling isanbard at gmail.com
Thu Apr 9 11:27:28 PDT 2009


Misha,

This was causing this failure in the self-hosting buildbot:

llvm[2]: Compiling lto.cpp for Debug build  (PIC)
make[2]: *** No rule to make target
`/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.sh.build/Debug/lib/libLLVMBitWriter.a',
needed by `/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.sh.build/Release/lib/libLTO.dylib'.
 Stop.
make[1]: *** [all] Error 1
make: *** [all] Error 1

Could you investigate please?

-bw

On Thu, Apr 9, 2009 at 7:57 AM, Misha Brukman <brukman+llvm at gmail.com> wrote:
> Author: brukman
> Date: Thu Apr  9 09:57:00 2009
> New Revision: 68708
>
> URL: http://llvm.org/viewvc/llvm-project?rev=68708&view=rev
> Log:
> Make sure to rebuild dependencies for the `check' and `unittests' targets so
> we're not testing out-of-date code.  This also makes "make check" and
> "make unittests" work out-of-the box right after the configure step, without
> requiring the user to run "make tools-only" or "make libs-only".
>
> Tested on Linux/x86_64 and Darwin/x86.
>
> Modified:
>    llvm/trunk/Makefile.rules
>
> Modified: llvm/trunk/Makefile.rules
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=68708&r1=68707&r2=68708&view=diff
>
> ==============================================================================
> --- llvm/trunk/Makefile.rules (original)
> +++ llvm/trunk/Makefile.rules Thu Apr  9 09:57:00 2009
> @@ -1547,7 +1547,7 @@
>  # CHECK: Running the test suite
>  ###############################################################################
>
> -check::
> +check:: tools-only
>        $(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
>          if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
>            $(EchoCmd) Running test suite ; \
> @@ -1564,7 +1564,7 @@
>  # UNITTESTS: Running the unittests test suite
>  ###############################################################################
>
> -unittests::
> +unittests:: libs-only
>        $(Verb) if test -d "$(PROJ_OBJ_ROOT)/unittests" ; then \
>          if test -f "$(PROJ_OBJ_ROOT)/unittests/Makefile" ; then \
>            $(EchoCmd) Running unittests test suite ; \
>
>
> _______________________________________________
> 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