[llvm-commits] [Patch Proposal] Reduction of build time to get rid of invoking shells

Chris Lattner clattner at apple.com
Tue Aug 3 15:53:52 PDT 2010


Wow, nice speedup!  Committed in r110166, thanks!

-Chris

On Aug 3, 2010, at 3:39 PM, NAKAMURA Takumi wrote:

> This patch brings extreme reduction of build time on certain hosts.
> (eg. NTOS!!!)
> 
> We can use $realpath function with GNU Make >= 3.81.
> The macro realpath in this patch should be activated with prior versions.
> 
> The expression $(call realpath, path/to) is evaluated as built-in
> when realpath is built-in function.
> Otherwise the macro realpath should be expanded.
> 
> 
> The case on "up-to-date" tree.
> 6m42.119s->1m32.030s    cygwin Atom 2.0GHz
> 10.781s->3.719s    msys Core i7 2.66GHz
> 38.253s->25.518s    Fedora 12 Cell BE
> <r107774-Makefile-realpath.diff.txt>_______________________________________________
> 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