DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: build - Support concurrent SUBDIR traversal, fix make depend bug


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Nov 2011 13:37:01 -0800 (PST)

commit 67be553814c6242d4a801d26dc2f6e5ca4b1aa8a
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]