git: build - Support concurrent SUBDIR traversal, fix make depend bug
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Nov 29 13:37:54 PST 2011
commit 67be553814c6242d4a801d26dc2f6e5ca4b1aa8a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Nov 29 13:34:03 2011 -0800
build - Support concurrent SUBDIR traversal, fix make depend bug
* Support concurrent SUBDIR traversals during a make -j N.
Create individual targets for each target/directory combination so Make
will run them in parallel when possible.
* SUBDIR_ORDERED, if it exists, indicates the subset of SUBDIR which must
be ordered. Any directories not mentioned can run concurrently.
* If SUBDIR_ORDERED does not exist at all then all directories default
to being strongly ordered and will NOT run concurrently.
* Try to make sure that all include files and generated source files
are generated before running the depend core.
Summary of changes:
share/mk/bsd.dep.mk | 16 +++++++++-
share/mk/bsd.subdir.mk | 73 +++++++++++++++++++++++++++++++++--------------
2 files changed, 65 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/67be553814c6242d4a801d26dc2f6e5ca4b1aa8a
--
DragonFly BSD source repository
More information about the Commits
mailing list