[arch-general] PKGBUILD - Howto build openmpi w/o valgrind or valgrind w/o openmpi - what's the trick?

Doug Newgard scimmia at archlinux.info
Sun Jun 12 02:11:22 UTC 2016


On Sat, 11 Jun 2016 20:56:14 -0500
"David C. Rankin" <drankinatty at suddenlinkmail.com> wrote:

> All,
> 
>   This seems like a chicken-and-the-egg problem that I'm not understanding. How
> do you build openmpi when it's makedepends requires valgrind, but you cannot
> build valgrind because it's makedepends requires openmpi??
> 
>   Specifically:
> 
> $ cat /var/abs/extra/valgrind/PKGBUILD
> pkgname=valgrind
> ...
> makedepends=(gdb openmpi)
> 
> $ cat /var/abs/extra/openmpi/PKGBUILD
> pkgname=openmpi
> ...
> makedepends=(inetutils valgrind gcc-fortran)
> 
>   Is there some type of trick?
> 

This is why we have binary repos. Just install one and build the other.


More information about the arch-general mailing list