svn commit: r275866 - in head/gnu/usr.bin/groff: . src src/devices src/libs src/preproc src/roff src/utils
Garrett Cooper
ngie at FreeBSD.org
Wed Dec 17 19:46:15 UTC 2014
Author: ngie
Date: Wed Dec 17 19:46:12 2014
New Revision: 275866
URL: https://svnweb.freebsd.org/changeset/base/275866
Log:
Parallelize building gnu/usr.bin/groff
This speeds up building the directory from the bootstrap-tools stage in
buildworld as well as building from the subdirectory
Based on a patch submitted via -arch:
https://lists.freebsd.org/pipermail/freebsd-arch/2014-December/016493.html
MFC after: 1 week
Submitted by: Jia-Shiun Li <jiashiun at gmail.com>
Sponsored by: EMC / Isilon Storage Division
Modified:
head/gnu/usr.bin/groff/Makefile
head/gnu/usr.bin/groff/src/Makefile
head/gnu/usr.bin/groff/src/devices/Makefile
head/gnu/usr.bin/groff/src/libs/Makefile
head/gnu/usr.bin/groff/src/preproc/Makefile
head/gnu/usr.bin/groff/src/roff/Makefile
head/gnu/usr.bin/groff/src/utils/Makefile
Modified: head/gnu/usr.bin/groff/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,8 @@
SUBDIR= contrib doc font man src tmac
+.for subdir in ${SUBDIR:Nsrc}
+SUBDIR_DEPEND_${subdir}= src
+.endfor
+
.include <bsd.subdir.mk>
Modified: head/gnu/usr.bin/groff/src/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/src/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,10 @@
SUBDIR= libs devices preproc roff utils
+SUBDIR_PARALLEL=
+
+.for subdir in ${SUBDIR:Nlibs}
+SUBDIR_DEPEND_${subdir}= libs
+.endfor
+
.include <bsd.subdir.mk>
Modified: head/gnu/usr.bin/groff/src/devices/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/devices/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/src/devices/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,6 @@
SUBDIR= grodvi grohtml grolbp grolj4 grops grotty
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
Modified: head/gnu/usr.bin/groff/src/libs/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/libs/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/src/libs/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,6 @@
SUBDIR= libgroff libdriver libbib
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
Modified: head/gnu/usr.bin/groff/src/preproc/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/preproc/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/src/preproc/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,6 @@
SUBDIR= eqn grn html pic refer soelim tbl
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
Modified: head/gnu/usr.bin/groff/src/roff/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/roff/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/src/roff/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,6 @@
SUBDIR= groff grog nroff psroff troff
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
Modified: head/gnu/usr.bin/groff/src/utils/Makefile
==============================================================================
--- head/gnu/usr.bin/groff/src/utils/Makefile Wed Dec 17 17:30:54 2014 (r275865)
+++ head/gnu/usr.bin/groff/src/utils/Makefile Wed Dec 17 19:46:12 2014 (r275866)
@@ -2,4 +2,6 @@
SUBDIR= addftinfo afmtodit hpftodit indxbib lkbib lookbib pfbtops tfmtodit
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
More information about the svn-src-all
mailing list