wok diff openmpi/receipt @ rev 21917
linux-zram: split swap according to cores count
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 11:36:18 2019 +0200 (2019-10-05) |
parents | ff9bdf719828 |
children | 6c6bce6aa9f9 |
line diff
1.1 --- a/openmpi/receipt Thu Dec 13 13:26:13 2018 +0100 1.2 +++ b/openmpi/receipt Sat Oct 05 11:36:18 2019 +0200 1.3 @@ -1,14 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="openmpi" 1.7 -VERSION="1.5.3" 1.8 +VERSION="4.0.1" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="High performance message passing library (MPI)" 1.11 +SHORT_DESC="High performance message passing library (MPI)." 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://www.open-mpi.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.open-mpi.org" 1.18 -WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL" 1.19 +WGET_URL="${WEB_SITE}software/ompi/v${VERSION%.*}/downloads/$TARBALL" 1.20 1.21 DEPENDS="gcc gfortran libtool openssh valgrind" 1.22 BUILD_DEPENDS="$DEPENDS valgrind-dev file" 1.23 @@ -16,28 +17,31 @@ 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - ./configure --sysconfdir=/etc/${PACKAGE} \ 1.28 - --enable-mpi-f90 \ 1.29 - --libdir=/usr/lib/${pkgname} \ 1.30 - --with-threads=posix \ 1.31 - --enable-mpi-threads \ 1.32 - --enable-smp-locks \ 1.33 - --with-valgrind \ 1.34 - --enable-pretty-print-stacktrace \ 1.35 - --without-slurm \ 1.36 - --with-libltdl=/usr \ 1.37 - FC=/usr/bin/gfortran \ 1.38 - LDFLAGS='-Wl,-z,noexecstack' && 1.39 - make && make install 1.40 + ./configure \ 1.41 + --sysconfdir=/etc/${PACKAGE} \ 1.42 + --enable-mpi-f90 \ 1.43 + --libdir=/usr/lib/${pkgname} \ 1.44 + --with-threads=posix \ 1.45 + --enable-mpi-threads \ 1.46 + --enable-smp-locks \ 1.47 + --with-valgrind \ 1.48 + --enable-pretty-print-stacktrace \ 1.49 + --without-slurm \ 1.50 + --with-libltdl=/usr \ 1.51 + FC=/usr/bin/gfortran \ 1.52 + LDFLAGS='-Wl,-z,noexecstack' && 1.53 + make && 1.54 + make install 1.55 } 1.56 1.57 # Rules to gen a SliTaz package suitable for Tazpkg. 1.58 genpkg_rules() 1.59 { 1.60 mkdir -p $fs/usr/lib/$PACKAGE 1.61 - cp -a $install/etc $fs 1.62 - cp -a $install/usr/bin $fs/usr 1.63 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.64 - cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.65 - cp -a $install/usr/lib/mpi.mod $fs/usr/lib 1.66 + 1.67 + cp -a $install/etc $fs 1.68 + cp -a $install/usr/bin $fs/usr 1.69 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.70 + cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.71 + cp -a $install/usr/lib/mpi.mod $fs/usr/lib 1.72 }