wok-next view openmpi/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 4a67f7e79846
children
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="devel@slitaz.org"
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="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --sysconfdir=/etc/openmpi \
20 --enable-mpi-f90 \
21 --libdir=/usr/lib/openmpi \
22 --with-threads=posix \
23 --enable-mpi-threads \
24 --enable-smp-locks \
25 --with-valgrind \
26 --enable-pretty-print-stacktrace \
27 --without-slurm \
28 --with-libltdl=/usr \
29 FC=/usr/bin/gfortran \
30 LDFLAGS='-Wl,-z,noexecstack' &&
31 fix libtool &&
32 make &&
33 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 }