Subject: | lib build is parallel |
Date: | Wed, 18 Mar 2015 11:27:33 +0000 |
To: | bug-Memcached-libmemcached [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
libmemcached by default builds itself in a heavily parallel fashion.
In the context of a CPAN module build, this isn't ideal: CPAN module
builds are generally serial internally, so it makes more sense to
arrange parallelism at a higher level, and when that's done a single
internally-parallel module build results in more parallelism than is
desired. I think the CPAN module should tell the C library to build
itself serially (which it supports via configure option).
The attached patch implements the serialisation, in an unconditional
manner. If you believe the parallel building to be of significant
value in the CPAN context, I'd also be totally satisfied if the choice
between serial and parallel building were controlled by a Makefile.PL
command-line option or an environment variable.
-zefram
Message body is not shown because sender requested not to inline it.