extra/openmpi to 4.0.2-3

This commit is contained in:
Kevin Mihelich 2019-12-23 16:49:20 +00:00
parent c5fa54cfc7
commit eda200f81f

View file

@ -7,7 +7,7 @@
pkgname=openmpi
pkgver=4.0.2
pkgrel=2
pkgrel=3
pkgdesc='High performance message passing library (MPI)'
url='https://www.open-mpi.org'
arch=('x86_64')
@ -18,9 +18,17 @@ makedepends_armv7h=('valgrind')
makedepends_aarch64=('valgrind')
optdepends=('gcc-fortran: fortran support')
options=('staticlibs')
source=(https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('900bf751be72eccf06de9d186f7b1c4b5c2fa9fa66458e53b77778dffdfe4057')
sha512sums=('634d45d989f1e0b8848bfb4eb4527c7edd76d4fccd77a5f8d85a46a5822f97ba653adf13df857c87ae56a8117b4ae2d45ec24249c6ee41a562446d4112ddb770')
source=(https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2
openmpi-4.0.2-fix-calculation.patch::https://github.com/open-mpi/ompi/commit/41717c8b7318cedbb9ce070e82613ee0ed0205fc.patch)
sha256sums=('900bf751be72eccf06de9d186f7b1c4b5c2fa9fa66458e53b77778dffdfe4057'
'51b8606151bdc75cf7d34e94846a9213da3c347d3744ad19164917f7fc314166')
sha512sums=('634d45d989f1e0b8848bfb4eb4527c7edd76d4fccd77a5f8d85a46a5822f97ba653adf13df857c87ae56a8117b4ae2d45ec24249c6ee41a562446d4112ddb770'
'9eb105badb1007f61a5c7bc73acb54393dfa4e175f5eb6827000f111a64c9446c1df0e86e46e7442bebb139ce265f540f82fffffe82c7e1836d50e3d2c37d6ba')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 < ../openmpi-4.0.2-fix-calculation.patch
}
build() {
cd ${pkgname}-${pkgver}