git: build - Support concurrent SUBDIR traversal, fix make depen

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1E-WYmJe (DFBSD_commit)