[kde-freebsd] parallelizing the build of Qt, etc.
Mikhail T.
mi at aldan.algebra.com
Wed Aug 22 18:48:06 CEST 2007
Hello!
The mini-patch below scales the build of the Qt port to the number of
available processes. I think, it should be put in while the portmgr is
debating/devising a more general solution -- something may be needed
to accomodate machines, where multiple such ports may be built in
parallel -- such as in their own jails.
Similarly, other KDE components should have similar modifications to
ease the pain involved in upgrading them.
I just updated my devel/qmake with this "trick".
Yours,
-mi
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/qt33/Makefile,v
retrieving revision 1.216
diff -U2 -r1.216 Makefile
--- Makefile 1 Aug 2007 12:41:43 -0000 1.216
+++ Makefile 22 Aug 2007 16:46:05 -0000
@@ -52,5 +52,5 @@
LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
-ALL_TARGET= sub-tools
+ALL_TARGET= -j`${SYSCTL} -n hw.ncpu` sub-tools
EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
--exclude '${DISTNAME}/mkspecs' --exclude '${DISTNAME}/qmake' \
More information about the kde-freebsd
mailing list