[PATCH 3 of 3] ppl.sh: Build only C and C++ interfaces for PPL
Anthony Foiani
anthony.foiani@gmail.com
Thu May 19 13:36:00 GMT 2011
# HG changeset patch
# User Anthony Foiani <anthony.foiani@gmail.com>
# Date 1305805196 21600
# Branch ppl-config-fixes
# Node ID 800c6903f76e8dada53015e482a8b3dff84ccbf9
# Parent 0442260718791bfc5031594e87ceeaae787764ea
ppl.sh: Build only C and C++ interfaces for PPL
By default, PPL wants to build interfaces for any of a variety of
langauges it finds on the local host (python, java, possibly perl, also
more esoteric languages such as ocaml and prolog).
These extra interfaces can double the compile time for the library. For
single-process builds, I found a savings of more than 40%:
default / j1: 716s total, 143.2s avg, 0.52s stdev
just_c / j1: 406s total, 81.2s avg, 0.33s stdev
just_c_cpp / j1: 413s total, 82.6s avg, 0.22s stdev
And for multi-process builds, it approached 50%:
default / j4: 625s total, 125.0s avg, 0.57s stdev
just_c / j4: 338s total, 67.6s avg, 1.25s stdev
just_c_cpp / j4: 327s total, 65.4s avg, 0.36s stdev
Since the PPL we build within ct-ng is only used by GCC, we only need to
build the C and C++ interfaces.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
diff -r 044226071879 -r 800c6903f76e scripts/build/companion_libs/ppl.sh
--- a/scripts/build/companion_libs/ppl.sh Thu May 19 05:33:17 2011 -0600
+++ b/scripts/build/companion_libs/ppl.sh Thu May 19 05:39:56 2011 -0600
@@ -48,10 +48,10 @@
--disable-ppl_lcdd \
--disable-ppl_lpsol \
--disable-shared \
+ --enable-interfaces='c c++' \
--enable-static
# Maybe-options:
- # --enable-interfaces=...
# --enable-optimization=speed or sspeed (yes, with 2 's')
CT_DoLog EXTRA "Building PPL"
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list