wok view openmpi/receipt @ rev 24295
Up ventoy (1.0.64)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 14 17:35:36 2022 +0000 (2022-01-14) |
parents | 534a7246f0c9 |
children | ad8b9ff412d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openmpi"
4 VERSION="4.0.3"
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="${WEB_SITE}software/ompi/v${VERSION%.*}/downloads/$TARBALL"
14 DEPENDS="gcc gfortran libtool openssh valgrind"
15 BUILD_DEPENDS="$DEPENDS file valgrind-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc/${PACKAGE} \
22 --enable-mpi-f90 \
23 --libdir=/usr/lib/${pkgname} \
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 &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/$PACKAGE
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
46 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
47 }