mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/openmpi to 4.1.5-1
This commit is contained in:
parent
1b9c44df1b
commit
c3d118ae7a
1 changed files with 20 additions and 22 deletions
|
@ -7,21 +7,19 @@
|
|||
# - remove make/optdepend on cuda and configure option
|
||||
|
||||
pkgname=openmpi
|
||||
pkgver=4.1.4
|
||||
pkgrel=4
|
||||
pkgver=4.1.5
|
||||
pkgrel=1
|
||||
pkgdesc='High performance message passing library (MPI)'
|
||||
arch=(x86_64)
|
||||
url='https://www.open-mpi.org'
|
||||
license=('custom:OpenMPI')
|
||||
depends=(gcc-libs glibc hwloc libevent libnl openpmix zlib)
|
||||
depends=(gcc-libs glibc hwloc libevent libnl openpmix openssh zlib)
|
||||
makedepends=(gcc-fortran inetutils valgrind)
|
||||
optdepends=(
|
||||
'gcc-fortran: fortran support'
|
||||
'openssh: for offloading to remote hosts'
|
||||
'perl: for aggregate_profile.pl and profile2mat.pl'
|
||||
)
|
||||
provides=(
|
||||
libmca_common_cuda.so
|
||||
libmca_common_monitoring.so
|
||||
libmca_common_ompio.so
|
||||
libmca_common_sm.so
|
||||
|
@ -34,29 +32,29 @@ provides=(
|
|||
libopen-pal.so
|
||||
libopen-rte.so
|
||||
)
|
||||
options=(debug)
|
||||
source=(https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2)
|
||||
sha256sums=('92912e175fd1234368c8730c03f4996fe5942e7479bb1d10059405e7f2b3930d')
|
||||
b2sums=('b020e3530ae5dde7b144e7c33b1a3f26f622526a4b48a97a0956fc6f49bbf9dfd5be9ebeeaf3bdc5168a307507408ba5dd8e2a537148821e1d476678177dc5d6')
|
||||
sha256sums=('a640986bc257389dd379886fdae6264c8cfa56bc98b71ce3ae3dfbd8ce61dbe3')
|
||||
b2sums=('135a8373ed6173b7a94def18e3b964c6b6050c909382e0dbb1898a6d261ae428931358121ef6d325d303f4f510017a94970f7c66b280a5fc460365821f36dece')
|
||||
|
||||
build() {
|
||||
local configure_options=(
|
||||
--prefix=/usr
|
||||
--enable-builtin-atomics
|
||||
--enable-memchecker
|
||||
--enable-mpi-cxx
|
||||
--enable-mpi-fortran=all
|
||||
--enable-pretty-print-stacktrace
|
||||
--libdir=/usr/lib
|
||||
--sysconfdir=/etc/$pkgname
|
||||
--with-hwloc=external
|
||||
--with-libevent=external
|
||||
--with-pmix=external
|
||||
--with-valgrind
|
||||
)
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# TODO: depend on prrte with openmpi >= 5
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-builtin-atomics \
|
||||
--enable-memchecker \
|
||||
--enable-mpi-cxx \
|
||||
--enable-mpi-fortran=all \
|
||||
--enable-pretty-print-stacktrace \
|
||||
--libdir=/usr/lib \
|
||||
--sysconfdir=/etc/$pkgname \
|
||||
--with-hwloc=external \
|
||||
--with-libevent=external \
|
||||
--with-pmix=external \
|
||||
--with-valgrind
|
||||
|
||||
./configure "${configure_options[@]}"
|
||||
# prevent excessive overlinking due to libtool
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make V=1
|
||||
|
|
Loading…
Reference in a new issue