mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/openmpi to 2.1.1-1
This commit is contained in:
parent
7268fcb037
commit
bb2cd1d567
1 changed files with 6 additions and 10 deletions
|
@ -6,8 +6,8 @@
|
|||
# - only use valgrind with v7/v8
|
||||
|
||||
pkgname=openmpi
|
||||
pkgver=1.10.6
|
||||
pkgrel=2
|
||||
pkgver=2.1.1
|
||||
pkgrel=1
|
||||
pkgdesc='High performance message passing library (MPI)'
|
||||
arch=(i686 x86_64)
|
||||
url='http://www.open-mpi.org'
|
||||
|
@ -19,7 +19,7 @@ makedepends_aarch64=(valgrind)
|
|||
optdepends=('gcc-fortran: fortran support')
|
||||
options=(staticlibs)
|
||||
source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
|
||||
sha1sums=('cbb3121d30869ee89b5484af274b6b477d8ac72f')
|
||||
sha1sums=('3aaee35c17b6ef02f4cee274f2670d5b7b2c968a')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
@ -27,13 +27,15 @@ build() {
|
|||
# enable valgrind and memchecker for v7
|
||||
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--with-valgrind --enable-memchecker'
|
||||
|
||||
./autogen.pl
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/${pkgname} \
|
||||
--enable-mpi-fortran=all \
|
||||
--libdir=/usr/lib/${pkgname} \
|
||||
--with-threads=posix \
|
||||
--enable-mpi-thread-multiple \
|
||||
--enable-smp-locks \
|
||||
--enable-builtin-atomics \
|
||||
--enable-mpi-cxx \
|
||||
--enable-pretty-print-stacktrace \
|
||||
--without-slurm \
|
||||
--with-hwloc=/usr \
|
||||
|
@ -61,12 +63,6 @@ package() {
|
|||
ln -sf /usr/lib/openmpi/pkgconfig/$i "$pkgdir"/usr/lib/pkgconfig/
|
||||
done
|
||||
|
||||
# Openmpi's otfinfo conflicts with the one from texlive
|
||||
mv "$pkgdir"/usr/bin/otfinfo{,mpi}
|
||||
|
||||
# Remove dangling symlink and useless file
|
||||
rm "$pkgdir"/usr/share/vampirtrace/config.log
|
||||
|
||||
install -d -m 755 "$pkgdir"/etc/ld.so.conf.d
|
||||
echo "/usr/lib/$pkgname" > "$pkgdir"/etc/ld.so.conf.d/$pkgname.conf
|
||||
|
||||
|
|
Loading…
Reference in a new issue