mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/openmpi fix
This commit is contained in:
parent
e01e4d3a0e
commit
6e35134f6f
1 changed files with 1 additions and 16 deletions
|
@ -5,8 +5,6 @@
|
|||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org
|
||||
# - only use valgrind with v7
|
||||
|
||||
noautobuild=1
|
||||
|
||||
pkgname=openmpi
|
||||
pkgver=1.8.5
|
||||
pkgrel=2
|
||||
|
@ -16,25 +14,12 @@ url='http://www.open-mpi.org'
|
|||
license=(custom)
|
||||
depends=(libltdl hwloc)
|
||||
makedepends=(inetutils gcc-fortran)
|
||||
makedepends_armv7h=(valgrind)
|
||||
optdepends=('gcc-fortran: fortran support')
|
||||
options=(staticlibs)
|
||||
source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2)
|
||||
sha1sums=('2e0408dbb033b0df21d1f95fffb872f2a8237de6')
|
||||
|
||||
[[ $CARCH = armv7h ]] && makedepends+=('valgrind')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# Make sure we use the system ltdl library rather than the ones in the tarball
|
||||
rm -r opal/libltdl
|
||||
patch -p1 < ../system_ltdl.patch
|
||||
|
||||
# Fix for fortran on ARM
|
||||
patch -p1 -i ../0001-Fortran-only-emit-real16-and-complex32-if-supported.patch
|
||||
./autogen.pl
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
|
|
Loading…
Reference in a new issue