system/openmpi: Updated for version 4.1.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Emmanuel N. Millan 2022-10-07 23:13:31 +01:00 committed by Willy Sudiarto Raharjo
parent 72165a91a3
commit 248c8057f4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 15 additions and 14 deletions

View file

@ -5,7 +5,7 @@
# Copyright 2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Copyright 2015-2021 Emmanuel N. Millan, Mendoza, Argentina.
# Copyright 2015-2022 Emmanuel N. Millan, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -28,18 +28,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openmpi
VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-4.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -54,6 +47,14 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@ -110,7 +111,7 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i
find $PKG/etc -type f -exec mv {} {}.new \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS INSTALL LICENSE NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE NEWS README VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="openmpi"
VERSION="4.1.0"
VERSION="4.1.4"
HOMEPAGE="https://www.open-mpi.org/"
DOWNLOAD="https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.0.tar.bz2"
MD5SUM="c24200d3b3401db465ab0efd6b696f80"
DOWNLOAD="https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.bz2"
MD5SUM="f057e12aabaf7dd5a6a658180fca404e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""