Opened 14 years ago
Closed 18 months ago
#526 closed enhancement (fixed)
enable parallel builds
Reported by: | Jim Ursetto | Owned by: | |
---|---|---|---|
Priority: | not urgent at all | Milestone: | |
Component: | unknown | Version: | 4.6.x |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
Patch adds support for reliable parallel builds. At the least, it does not hurt normal builds.
Attachments (2)
Change History (7)
Changed 14 years ago by
Attachment: | parallel-build-2.diff.txt added |
---|
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
It works as far as I can tell. Created a dist tarball and then built from it -- build process is attached.
Only thing to note is at -j2 or higher, it is not legal to do make install
from a clean tarball, as the install target does not depend on any of the output files. However, it is legal to do make all install
. At -j1, plain make install
works fine.
I repeated this build process several times and Mario says it worked for him too.
Changed 14 years ago by
Attachment: | parallel-build-tarball.txt added |
---|
comment:4 Changed 14 years ago by
Milestone: | 4.7.0 |
---|
comment:5 Changed 18 months ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is implemented in C5
Note: See
TracTickets for help on using
tickets.
I think the rule that makes some .c files depend on setup-api.c might break building from a release tarball. Has this case been tested?