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 <jiash...@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> _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"