mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
testing/openmpi: new aport
https://www.open-mpi.org/ Message passing library for high-performance computing
This commit is contained in:
parent
0e4fc53ee4
commit
c3a22941a4
1 changed files with 35 additions and 0 deletions
35
testing/openmpi/APKBUILD
Normal file
35
testing/openmpi/APKBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
|
||||
# Maintainer:
|
||||
pkgname=openmpi
|
||||
pkgver=2.0.1
|
||||
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-threads=posix \
|
||||
|| return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
}
|
||||
|
||||
md5sums="6f78155bd7203039d2448390f3b51c96 openmpi-2.0.1.tar.bz2"
|
||||
sha256sums="fed74f4ae619b7ebcc18150bb5bdb65e273e14a8c094e78a3fea0df59b9ff8ff openmpi-2.0.1.tar.bz2"
|
||||
sha512sums="161cb2ab9dcf9cca3928acac6f6294c957a69d1314e8e749b36a26e21d231eda4ffc2636e3122a8dbf93a1da6077a15a079bf3643ea220a3cf060cfa923f5aed openmpi-2.0.1.tar.bz2"
|
Loading…
Add table
Add a link
Reference in a new issue