Summary
enable parallel builds
Metadata
- Id: dd887951dd23d9417eea78559afa01759ccd6d09
- Trac id: 526
- Type: enhancement
- Reporter: zbigniew
- Owner:
- Cc:
- Status: closed
- Component: unknown
- Estimated difficulty:
- Resolution: fixed
- Priority: not urgent at all
- Milestone:
- Version: 4.6.x
- Changetime: 2023-06-03 11:18:13 UTC
- Created: 2011-03-12 00:53:16 UTC
- Keywords:
Attachments
- dd887951dd23d9417eea78559afa01759ccd6d09/attachments/parallel-build-tarball.txt
- dd887951dd23d9417eea78559afa01759ccd6d09/attachments/parallel-build-2.diff.txt
Description
Patch adds support for reliable parallel builds. At the least, it does not hurt normal builds.
Changes and comments
[2011-03-12 00:53:44 UTC] zbigniew attached parallel-build-2.diff.txt (description=#f)
[2011-03-14 07:04:26 UTC] felix wrote:
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?
[2011-03-17 22:48:00 UTC] zbigniew wrote:
No, thanks for the tip. I will look into it.
[2011-03-18 02:18:21 UTC] zbigniew wrote:
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.
[2011-03-18 02:18:45 UTC] zbigniew attached parallel-build-tarball.txt (description=#f)
[2011-03-28 09:42:34 UTC] felix removed milestone 4.7.0
[2023-06-03 11:18:13 UTC] felix wrote:
This is implemented in C5