extra/openmpi to 4.1.5-4

This commit is contained in:
Kevin Mihelich 2023-09-05 12:38:40 +00:00
parent 8b6fb6df69
commit 661630c3a8

View file

@ -8,7 +8,7 @@
pkgname=openmpi pkgname=openmpi
pkgver=4.1.5 pkgver=4.1.5
pkgrel=3 pkgrel=4
pkgdesc='High performance message passing library (MPI)' pkgdesc='High performance message passing library (MPI)'
arch=(x86_64) arch=(x86_64)
url='https://www.open-mpi.org' url='https://www.open-mpi.org'
@ -48,16 +48,21 @@ provides=(
source=( source=(
https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2 https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2
$pkgname-4.1.5-openpmix_4.2.3.patch $pkgname-4.1.5-openpmix_4.2.3.patch
$pkgname-4.1.5-openpmix_4.2.3_spawn.patch::https://github.com/open-mpi/ompi/commit/3a7f9e62742e8470dab85aa2250df6182207ef8f.patch
) )
sha256sums=('a640986bc257389dd379886fdae6264c8cfa56bc98b71ce3ae3dfbd8ce61dbe3' sha256sums=('a640986bc257389dd379886fdae6264c8cfa56bc98b71ce3ae3dfbd8ce61dbe3'
'46edac3dbf32f2a611d45e8a3c8edd3ae2f430eec16a1373b510315272115c40') '46edac3dbf32f2a611d45e8a3c8edd3ae2f430eec16a1373b510315272115c40'
'eea9454842bd9442b0b6feb7e11b982a2501bb83da6ef0baf251ef987701a011')
b2sums=('135a8373ed6173b7a94def18e3b964c6b6050c909382e0dbb1898a6d261ae428931358121ef6d325d303f4f510017a94970f7c66b280a5fc460365821f36dece' b2sums=('135a8373ed6173b7a94def18e3b964c6b6050c909382e0dbb1898a6d261ae428931358121ef6d325d303f4f510017a94970f7c66b280a5fc460365821f36dece'
'1268d65f5e521bd466d6bcf92b5920919a0374d985c57e9268ea6db50175fd4646751e3bd73215fbd6d22fed52bdb15e8db58c121adba7dc87c6b81e53c48c15') '1268d65f5e521bd466d6bcf92b5920919a0374d985c57e9268ea6db50175fd4646751e3bd73215fbd6d22fed52bdb15e8db58c121adba7dc87c6b81e53c48c15'
'aeda6d76d438c58ac62be386660afbb8c31a57b2a79fb36cedb9a987588de8481b2378f0c2f0fb5628c955f6c811df001c75e69f7f08c3c52202d39b61db7ffb')
prepare() { prepare() {
# fix issues with openpmix 4.2.3: https://github.com/open-mpi/ompi/issues/10416 # fix issues with openpmix 4.2.3: https://github.com/open-mpi/ompi/issues/10416
# backport of https://github.com/open-mpi/ompi/pull/11472 # backport of https://github.com/open-mpi/ompi/pull/11472
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-4.1.5-openpmix_4.2.3.patch patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-4.1.5-openpmix_4.2.3.patch
# backport of https://github.com/open-mpi/ompi/pull/11767
patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-4.1.5-openpmix_4.2.3_spawn.patch
} }
build() { build() {