Opened 7 years ago

Last modified 6 years ago

#526 new enhancement

enable parallel builds

Reported by: zbigniew 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 zbigniew 7 years ago.
parallel-build-tarball.txt (926 bytes) - added by zbigniew 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by zbigniew

comment:1 Changed 7 years ago by felix

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 7 years ago by zbigniew

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

comment:3 Changed 7 years ago by zbigniew

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 7 years ago by zbigniew

comment:4 Changed 6 years ago by felix

  • Milestone 4.7.0 deleted
Note: See TracTickets for help on using tickets.