[darcs-users] Review: Use make -j4 to run disttest.
Trent W. Buck
trentbuck at gmail.com
Thu Nov 6 12:42:15 UTC 2008
E.Y.Kow at brighton.ac.uk writes:
> Thu Nov 6 11:43:26 GMT 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> * Use make -j4 to run disttest.
> Trent had done some Makefile cleanups to eliminate the naughty practice
> of calling $(MAKE) -j4 within make. This patch restores the parallel
> builds (which makes tests run faster) without the naughtiness.
>
>
> New patches:
>
> [Use make -j4 to run disttest.
> Eric Kow <E.Y.Kow at brighton.ac.uk>**20081106114326
> Ignore-this: 5818b80001e1ce589057b6adc61c4973
> Trent had done some Makefile cleanups to eliminate the naughty practice
> of calling $(MAKE) -j4 within make. This patch restores the parallel
> builds (which makes tests run faster) without the naughtiness.
> ] changepref test
> make disttest
> make -j4 disttest
Looks OK to me.
Just for my peace of mind, can someone assert that -j4 significantly
increases build time even on single-core uniprocessor systems?
Incidentally, why -j4 and not -j2 or -j8?
I've just kicked off this test on my machine (600MHz Celeron, 1GB RAM),
but obviously it won't finish for about an hour:
map time bash -c '{ make maintainer-clean && autoconf && ./configure && make 0 darcs ;} &>/dev/null' -- '' -j2 -j4 -j8
More information about the darcs-users
mailing list