#12280 closed enhancement (fixed)
RFE: buildmakejobs setting (simultaneous make)
Reported by: | afb@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.6 |
Component: | base | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
When building with Make and multiple CPUs (or slow Makefile targets), sometimes things go a lot faster when using multiple commands at once with "make -j2". Support for that MacPorts is good.
Note that setting the number of jobs higher than e.g. "# CPU + 1" is a good way of using too much memory and making the build slow to a crawl due to lack of available memory and swapping instead.
Attachments (1)
Change History (8)
Changed 17 years ago by afb@…
Attachment: | macports-makejobs.patch added |
---|
comment:1 Changed 17 years ago by afb@…
patch adds the "buildmakejobs" setting, and the port variables "build.jobs" and "build.max_jobs".
Where build.jobs would override the users preferences (probably not recommended practice), and build.max_jobs can be used if the Port has a flawed Makefile that chokes on high -j...
comment:2 Changed 17 years ago by afb@…
Maybe toast the "build.max_jobs" altogether, and only use a portlocal "build.jobs 1" to override ?
comment:3 Changed 17 years ago by afb@…
Milestone: | → Needs developer review |
---|
comment:4 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | Needs developer review → MacPorts base bugs |
---|
Milestone Needs developer review deleted
comment:5 Changed 17 years ago by nox@…
Milestone: | MacPorts base bugs → MacPorts base enhancements |
---|---|
Priority: | Expected → Normal |
Summary: | buildmakejobs setting (simultaneous make) → RFE: buildmakejobs setting (simultaneous make) |
comment:6 Changed 17 years ago by afb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.5 → 1.6.0 |
Applied in r28634, with "max_jobs" toasted and "nice" added.
comment:7 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.6 |
---|
macports-makejobs.patch