Opened 15 years ago

Closed 3 years 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 15 years ago.
parallel-build-tarball.txt (926 bytes ) - added by Jim Ursetto 15 years ago.

Download all attachments as: .zip

Change History (7)

by Jim Ursetto, 15 years ago

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

comment:1 by felix winkelmann, 15 years ago

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 by Jim Ursetto, 15 years ago

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

comment:3 by Jim Ursetto, 15 years ago

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.

by Jim Ursetto, 15 years ago

Attachment: parallel-build-tarball.txt added

comment:4 by felix winkelmann, 15 years ago

Milestone: 4.7.0

comment:5 by felix winkelmann, 3 years ago

Resolution: fixed
Status: newclosed

This is implemented in C5

Note: See TracTickets for help on using tickets.