Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2014 17:10:15 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r276307 - in stable/10/gnu/usr.bin/groff: . src src/devices src/libs src/preproc src/roff src/utils
Message-ID:  <201412271710.sBRHAFlW092169@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Dec 27 17:10:14 2014
New Revision: 276307
URL: https://svnweb.freebsd.org/changeset/base/276307

Log:
  MFC r275866:
  
    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
  
    Submitted by: Jia-Shiun Li <jiashiun@gmail.com>
    Sponsored by: EMC / Isilon Storage Division

Modified:
  stable/10/gnu/usr.bin/groff/Makefile
  stable/10/gnu/usr.bin/groff/src/Makefile
  stable/10/gnu/usr.bin/groff/src/devices/Makefile
  stable/10/gnu/usr.bin/groff/src/libs/Makefile
  stable/10/gnu/usr.bin/groff/src/preproc/Makefile
  stable/10/gnu/usr.bin/groff/src/roff/Makefile
  stable/10/gnu/usr.bin/groff/src/utils/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/gnu/usr.bin/groff/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -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: stable/10/gnu/usr.bin/groff/src/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/src/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -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: stable/10/gnu/usr.bin/groff/src/devices/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/devices/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/src/devices/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -2,4 +2,6 @@
 
 SUBDIR=		grodvi grohtml grolbp grolj4 grops grotty
 
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>

Modified: stable/10/gnu/usr.bin/groff/src/libs/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/libs/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/src/libs/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -2,4 +2,6 @@
 
 SUBDIR=		libgroff libdriver libbib
 
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>

Modified: stable/10/gnu/usr.bin/groff/src/preproc/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/preproc/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/src/preproc/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -2,4 +2,6 @@
 
 SUBDIR=		eqn grn html pic refer soelim tbl
 
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>

Modified: stable/10/gnu/usr.bin/groff/src/roff/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/roff/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/src/roff/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -2,4 +2,6 @@
 
 SUBDIR=		groff grog nroff psroff troff
 
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>

Modified: stable/10/gnu/usr.bin/groff/src/utils/Makefile
==============================================================================
--- stable/10/gnu/usr.bin/groff/src/utils/Makefile	Sat Dec 27 17:02:09 2014	(r276306)
+++ stable/10/gnu/usr.bin/groff/src/utils/Makefile	Sat Dec 27 17:10:14 2014	(r276307)
@@ -2,4 +2,6 @@
 
 SUBDIR=		addftinfo afmtodit hpftodit indxbib lkbib lookbib pfbtops tfmtodit
 
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412271710.sBRHAFlW092169>