Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| davidforsythe:forsythesoc2008 [2008/05/29 06:19] – DavidForsythe | davidforsythe:forsythesoc2008 [2020/10/29 03:53] (current) – Remove the broken link and add possible alternative on archive.org SashaVigole | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Allowing for parallel builds in the FreeBSD Ports Collection ===== | ===== Allowing for parallel builds in the FreeBSD Ports Collection ===== | ||
| + | Proposal: '' | ||
| - | [http:// | + | Possible alternative on the archive.org: |
| Building ports in parallel is considered unsafe and is generally a bad idea. The goal of this project is make building multiple ports at one time as safe as possible, and eventually enable parallel dependency building. | Building ports in parallel is considered unsafe and is generally a bad idea. The goal of this project is make building multiple ports at one time as safe as possible, and eventually enable parallel dependency building. | ||
| ===== TODO ===== | ===== TODO ===== | ||
| + | Updated 07/07/2008 | ||
| - | | $PKG_DBDIR locks | INCOMPLETE | + | | $PKG_DBDIR locks | |
| - | | Install awareness | INCOMPLETE | + | | Install awareness | |
| - | | Fetch awareness | INCOMPLETE | + | | Fetch awareness | |
| - | | Work awareness | INCOMPLETE | + | | Work awareness | |
| - | | $PORT_DBDIR locks | INCOMPLETE | + | | $PORT_DBDIR locks | |
| - | | Working --jobs switch | + | | Implement FAKE_J |
| - | | Usable interface | INCOMPLETE | + | | Usable interface | |
| - | | Add features to pkg_install suite | INCOMPLETE | + | | Add features to pkg_install suite | |
| + | |||
| + | ===== Project Update 07/07/2008 ===== | ||
| + | * bsd.parallel.mk has been added to hold information and the safe fake-pkg target, for the time being. | ||
| + | * Entry lock has been added in the form of BASE_LOCK, which is by default set to ${.CURDIR}/ | ||
| + | * The *-depends targets have been changed so that all dependencies are given their own targets (' | ||
| + | * For all subtargets, a lock on BASE_LOCK in the dependency directory has been added, to that working dependencies aren't simply written off as not found. | ||
| + | * For package registration, | ||
| + | * Locks added for distfile and patchfile fetching in do-fetch. | ||
| + | * A FAKE_J flag has been added, and it will be used instead of passing a -j argument | ||
| + | |||
| + | ===== Project Update 08/14/08 ===== | ||
| + | * All modified target moved into bsd.parallel.mk. | ||
| + | * pkg_add and pkg_delete modified to honor locks on PKG_DBDIR. | ||
| + | * FAKE_J implemented, | ||
| + | * Parallel fetching has been implemented with a modified do-fetch target. | ||