wok-next view openmpi/receipt @ rev 20529

Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 24 15:55:55 2018 +0200 (2018-03-24)
parents c3a368c0cddb
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openmpi"
4 VERSION="1.5.3" # current stable is 3.0.0
5 CATEGORY="development"
6 SHORT_DESC="High performance message passing library (MPI)"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.open-mpi.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL"
14 BUILD_DEPENDS="gcc gfortran libtool openssh valgrind valgrind-dev"
15 SPLIT="openmpi-dev"
17 compile_rules() {
18 sed -i '/sysconfdir=/ s|^|#|' /etc/slitaz/cook.site # default sysconfdir=/etc
20 ./configure \
21 --sysconfdir=/etc/openmpi \
22 --enable-mpi-f90 \
23 --libdir=/usr/lib/openmpi \
24 --with-threads=posix \
25 --enable-mpi-threads \
26 --enable-smp-locks \
27 --with-valgrind \
28 --enable-pretty-print-stacktrace \
29 --without-slurm \
30 --with-libltdl=/usr \
31 FC=/usr/bin/gfortran \
32 LDFLAGS='-Wl,-z,noexecstack' &&
33 make && make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 openmpi)
39 copy @std
40 DEPENDS="gcc gfortran libtool openssh valgrind"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }