summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel N. Millan <emmanueln@gmail.com>2022-10-07 23:13:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-08 09:12:49 +0700
commit248c8057f447edf0b459f8b4656e609ff1546791 (patch)
tree3a5c7d0f8c2346f15c575a98844c68cc42714bb7
parent72165a91a3cc107572341f0ac2776740469fa357 (diff)
downloadslackbuilds-248c8057f447edf0b459f8b4656e609ff1546791.tar.gz
system/openmpi: Updated for version 4.1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/openmpi/openmpi.SlackBuild23
-rw-r--r--system/openmpi/openmpi.info6
2 files changed, 15 insertions, 14 deletions
diff --git a/system/openmpi/openmpi.SlackBuild b/system/openmpi/openmpi.SlackBuild
index 7e06914bd4..8d3fc89a0e 100644
--- a/system/openmpi/openmpi.SlackBuild
+++ b/system/openmpi/openmpi.SlackBuild
@@ -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
diff --git a/system/openmpi/openmpi.info b/system/openmpi/openmpi.info
index 827dbf8fcd..95c28adcb7 100644
--- a/system/openmpi/openmpi.info
+++ b/system/openmpi/openmpi.info
@@ -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=""