[pacman-dev] [PATCH] Speed up 'make check' operation

Miklos Vajna vmiklos at frugalware.org
Mon Aug 4 02:58:55 EDT 2008


On Sun, Aug 03, 2008 at 10:00:40PM -0500, Dan McGee <dan at archlinux.org> wrote:
> Instead of using our "binaries" in our calls to pactest and vercmptest, use the
> libtool linked ones. We need to ensure they are created by calling the scripts
> once, and from there we can use them directly. This has some pretty large
> benefits due to much reduced forking of processes.
> 
> Note: I am not sure this will work on all platforms, namely Cygwin. Further
> testing is necessary.

The other problem is IMHO that lt-pacman will use the system-wide
libalpm, which is not what you want when you use make check.

If you really want such a hack, then you should set LD_LIBRARY_PATH
correctly, but what about just using dolt from
http://gitweb.freedesktop.org/?p=dolt.git;a=summary ?

IIRC it worked fine with pacman-g2, so it'll be OK with pacman as well,
I guess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080804/8499b543/attachment.pgp>


More information about the pacman-dev mailing list