blob: 97572da9345eb40408bd34807aeb54bc280fa7e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
pkgname=openmpi
pkgver=2.0.2
pkgrel=0
pkgdesc="Message passing library for high-performance computing"
url="https://www.open-mpi.org/"
arch="all"
license="BSD"
depends=""
makedepends="perl hwloc-dev libgomp"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc/$pkgname \
--enable-ipv6 \
--with-hwloc=/usr \
--with-threads=posix \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="ecd99aa436a1ca69ce936a96d6a3fa48 openmpi-2.0.2.tar.bz2"
sha256sums="cae396e643f9f91f0a795f8d8694adf7bacfb16f967c22fb39e9e28d477730d3 openmpi-2.0.2.tar.bz2"
sha512sums="87dc3c23db4b9cb92dbacc9b384b21ce8c4288fe4edc204fbf4a3bef70d8ac4329269e777ed190fa87933d78b73b9e5550ea3b925b2039599cfef3953567232a openmpi-2.0.2.tar.bz2"
|