[Lunar-commits] r22626 - in moonbase/trunk: distributed/distcc/plugin.d utils/ccache/plugin.d

Jannis Pohlmann jannis at lunar-linux.org
Sun Dec 17 20:07:55 CET 2006


Author: jannis
Date: 2006-12-17 20:07:55 +0100 (Sun, 17 Dec 2006)
New Revision: 22626

Modified:
   moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin
   moonbase/trunk/utils/ccache/plugin.d/optimize-ccache.plugin
Log:
Add C++/g++ support for ccache and distcc. I tested successfully with 
licq. Please let me know if there are any problems with other modules.



Modified: moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin
===================================================================
--- moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin	2006-12-17 18:25:07 UTC (rev 22625)
+++ moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin	2006-12-17 19:07:55 UTC (rev 22626)
@@ -13,10 +13,13 @@
 		# we append distcc in case ccache is also used to
 		# make sure that distcc goes first!
 		CC_EXT="$CC_EXT distcc"
+		CXX_EXT="$CXX_EXT distcc"
 		export CC_EXT
+		export CXX_EXT
 		export DISTCC_HOSTS
 		export DISTCC_ALLOW
 		verbose_msg "CC_EXT=\"$CC_EXT\""
+		verbose_mgs "CXX_EXT=\"$CXX_EXT\""
 		verbose_msg "DISTCC_HOSTS=\"$DISTCC_HOSTS\""
 		verbose_msg "DISTCC_ALLOW=\"$DISTCC_ALLOW\""
 	fi

Modified: moonbase/trunk/utils/ccache/plugin.d/optimize-ccache.plugin
===================================================================
--- moonbase/trunk/utils/ccache/plugin.d/optimize-ccache.plugin	2006-12-17 18:25:07 UTC (rev 22625)
+++ moonbase/trunk/utils/ccache/plugin.d/optimize-ccache.plugin	2006-12-17 19:07:55 UTC (rev 22626)
@@ -13,8 +13,11 @@
 		# we PRE-pend ccache in case distcc is also used to
 		# make sure that ccache goes first!
 		CC_EXT="ccache $CC_EXT"
+		CXX_EXT="ccache $CXX_EXT"
 		export CC_EXT
+		export CXX_EXT
 		verbose_msg "CC_EXT=\"$CC_EXT\""
+		verbose_msg "CXX_EXT=\"$CXX_EXT\""
 	fi
 	return 2
 }



More information about the Lunar-commits mailing list