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)

parallel-build-2.diff.txt (2.6 KB) - added by Jim Ursetto 14 years ago.
parallel-build-tarball.txt (926 bytes) - added by Jim Ursetto 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by Jim Ursetto

Attachment: parallel-build-2.diff.txt added

comment:1 Changed 14 years ago by felix winkelmann

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?

comment:2 Changed 14 years ago by Jim Ursetto

No, thanks for the tip. I will look into it.

comment:3 Changed 14 years ago by Jim Ursetto

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 Jim Ursetto

Attachment: parallel-build-tarball.txt added

comment:4 Changed 14 years ago by felix winkelmann

Milestone: 4.7.0

comment:5 Changed 18 months ago by felix winkelmann

Resolution: fixed
Status: newclosed

This is implemented in C5

Note: See TracTickets for help on using tickets.