aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openmpi
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2017-09-21 11:43:26 -0400
committerDaniel Sabogal <dsabogalcc@gmail.com>2017-09-21 11:43:26 -0400
commit1c1e2c23c012357a7f76fd7b885798bd1c2d2f09 (patch)
tree5c1af715b1204223541fce5d28ada605cfe1484c /testing/openmpi
parentb0ed51b1bcb6f0a500298b08f3480a9587ce89ed (diff)
downloadaports-1c1e2c23c012357a7f76fd7b885798bd1c2d2f09.tar.bz2
aports-1c1e2c23c012357a7f76fd7b885798bd1c2d2f09.tar.xz
testing/openmpi: upgrade to 3.0.0
Diffstat (limited to 'testing/openmpi')
-rw-r--r--testing/openmpi/APKBUILD15
-rw-r--r--testing/openmpi/include-unistd.patch21
2 files changed, 6 insertions, 30 deletions
diff --git a/testing/openmpi/APKBUILD b/testing/openmpi/APKBUILD
index c8c41a051a..ab34985561 100644
--- a/testing/openmpi/APKBUILD
+++ b/testing/openmpi/APKBUILD
@@ -1,15 +1,14 @@
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=openmpi
-pkgver=2.1.1
+pkgver=3.0.0
pkgrel=0
pkgdesc="Message passing library for high-performance computing"
url="https://www.open-mpi.org/"
-arch="all !ppc64le"
+arch="all"
license="BSD"
makedepends="perl gfortran hwloc-dev libevent-dev libgomp"
subpackages="$pkgname-dev:_dev $pkgname-doc"
-source="https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2
- include-unistd.patch"
+source="https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -18,8 +17,6 @@ build() {
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc/$pkgname \
- --enable-mpi-fortran=all \
- --enable-mpi-cxx \
--enable-ipv6 \
--with-threads=posix \
--with-hwloc=/usr
@@ -38,7 +35,8 @@ _dev() {
default_dev
local bins="mpiCC mpic++ mpicc mpicxx mpif77 mpif90 mpifort
- ortecc opal_wrapper oshcc oshfort shmemcc shmemfort"
+ ortecc opal_wrapper oshCC oshc++ oshcc oshcxx oshfort
+ shmemCC shmemc++ shmemcc shmemcxx shmemfort"
mkdir -p "$subpkgdir"/usr/bin
local i; for i in $bins; do
@@ -46,5 +44,4 @@ _dev() {
done
}
-sha512sums="c11bba6ec815f9c8d32fce3578f8995f6cd694e02fb850d7e6cd3975989bb38fdbef348064264a1de418d0a21411c70ca74347ecff4f27eb5a2f6835019d6bca openmpi-2.1.1.tar.bz2
-5f4720e3d078c4e6938c0c970972c9ab574e37aebc31bebd9fb2a2712020c6bf6b4e366e6a75ed23c4568a8c2b3b3a2fa3b8407edb6ec1629e2c242403edd103 include-unistd.patch"
+sha512sums="7e37eacf959a803d6d89dff4291b64a1f3d83bc7941b778a2fb13d12be0f205cb904e4a807d79676ad1e31fd99ffb15f255c8a227e830673455abb144f14616a openmpi-3.0.0.tar.bz2"
diff --git a/testing/openmpi/include-unistd.patch b/testing/openmpi/include-unistd.patch
deleted file mode 100644
index e7add10edf..0000000000
--- a/testing/openmpi/include-unistd.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- openmpi-2.1.1/opal/include/opal/sys/cma.h.orig
-+++ openmpi-2.1.1/opal/include/opal/sys/cma.h
-@@ -28,7 +28,7 @@
- #endif
-
- #ifdef HAVE_UNISTD_H
--#include <sys/unistd.h>
-+#include <unistd.h>
- #endif
-
- #ifdef __linux__
---- openmpi-2.1.1/opal/mca/pmix/pmix112/pmix/include/pmix/pmix_common.h.orig
-+++ openmpi-2.1.1/opal/mca/pmix/pmix112/pmix/include/pmix/pmix_common.h
-@@ -51,6 +51,7 @@
- #include <stdint.h>
- #include <string.h>
- #include <sys/time.h> /* for struct timeval */
-+#include <unistd.h>
-
- #include <pmix_version.h>
-