[Libreoffice-commits] .: config_host.mk.in configure.in solenv/gbuild

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 8 12:46:51 PDT 2012


 config_host.mk.in             |    1 +
 configure.in                  |   11 +++++++++++
 solenv/gbuild/JavaClassSet.mk |    2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

New commits:
commit 48b2d6adccee986390c923ff1acb4dd101a05595
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Mon Oct 8 20:44:54 2012 +0100

    use icerun to avoid compilation process explosions using icecream.
    
    Change-Id: I3539bfcfbbb43f44a6fc8fae60bda84267938116

diff --git a/config_host.mk.in b/config_host.mk.in
index 251847e..eaf0d61 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -254,6 +254,7 @@ export HUNSPELL_CFLAGS=@HUNSPELL_CFLAGS@
 export HUNSPELL_LIBS=@HUNSPELL_LIBS@
 export HYPHEN_LIB=@HYPHEN_LIB@
 export HYPH_SYSTEM_DIR=@HYPH_SYSTEM_DIR@
+export ICECREAM_RUN=@ICECREAM_RUN@
 export ICU_MAJOR=@ICU_MAJOR@
 export ICU_MICRO=@ICU_MICRO@
 export ICU_MINOR=@ICU_MINOR@
diff --git a/configure.in b/configure.in
index 169d994..8d1f904 100644
--- a/configure.in
+++ b/configure.in
@@ -12614,6 +12614,17 @@ fi
 AC_MSG_RESULT([$BUILD_MAX_JOBS])
 AC_SUBST(BUILD_MAX_JOBS)
 
+dnl ===================================================================
+dnl icerun is a wrapper that stops us spawning tens of processes
+dnl locally - for tools that can't be executed on the compile cluster
+dnl this avoids a dozen javac's ganging up on your laptop to kill it.
+dnl ===================================================================
+ICECREAM_RUN=
+if test "$enable_icecream" = "yes"; then
+   ICECREAM_RUN=icerun
+fi
+AC_SUBST(ICECREAM_RUN)
+
 # =====================================================================
 # determine the parallelism for gnu make
 # =====================================================================
diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk
index 3f65099..b5b7439 100644
--- a/solenv/gbuild/JavaClassSet.mk
+++ b/solenv/gbuild/JavaClassSet.mk
@@ -26,7 +26,7 @@
 #
 #*************************************************************************
 
-gb_JavaClassSet_JAVACCOMMAND := $(JAVACOMPILER) $(JAVAFLAGS) \
+gb_JavaClassSet_JAVACCOMMAND := $(ICECREAM_RUN) $(JAVACOMPILER) $(JAVAFLAGS) \
     -source $(JAVA_SOURCE_VER) -target $(JAVA_TARGET_VER)
 gb_JavaClassSet_JAVACDEBUG :=
 


More information about the Libreoffice-commits mailing list