r184794 - Reorder builds based by ordering.

Eric Christopher echristo at gmail.com
Mon Jun 24 17:31:22 PDT 2013


>From Chandler:

"You should reread your commit messages out loud."

So, basically split these out by dependencies. The things that depend
upon libclang in DIRS, everything else in parallel.

Helps by about a minute on my makefile builds (out of 7.5 mins).

-eric


On Mon, Jun 24, 2013 at 5:21 PM, Eric Christopher <echristo at gmail.com> wrote:
> Author: echristo
> Date: Mon Jun 24 19:21:29 2013
> New Revision: 184794
>
> URL: http://llvm.org/viewvc/llvm-project?rev=184794&view=rev
> Log:
> Reorder builds based by ordering.
>
> Modified:
>     cfe/trunk/tools/Makefile
>
> Modified: cfe/trunk/tools/Makefile
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/Makefile?rev=184794&r1=184793&r2=184794&view=diff
> ==============================================================================
> --- cfe/trunk/tools/Makefile (original)
> +++ cfe/trunk/tools/Makefile Mon Jun 24 19:21:29 2013
> @@ -11,14 +11,14 @@ CLANG_LEVEL := ..
>
>  include $(CLANG_LEVEL)/../../Makefile.config
>
> -DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
> -        clang-check clang-format
> +DIRS := libclang c-index-test arcmt-test c-arcmt-test
> +PARALLEL_DIRS := driver diagtool clang-check clang-format
>
>  # Recurse into the extra repository of tools if present.
> -OPTIONAL_DIRS := extra
> +OPTIONAL_PARALLEL_DIRS := extra
>
>  ifeq ($(BUILD_CLANG_ONLY),YES)
> -  DIRS := driver libclang c-index-test
> +  PARALLEL_DIRS := driver libclang c-index-test
>    OPTIONAL_DIRS :=
>  endif
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list