summaryrefslogtreecommitdiff
path: root/system/openmpi/openmpi.SlackBuild
diff options
context:
space:
mode:
authorEmmanuel N. Millan <emmanueln@gmail.com>2019-08-24 07:08:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 07:08:39 +0700
commit9cde194db4da4b7a72c9f2972cf2a904867dfbfe (patch)
tree36b8dcb99e2b8aa4ec935b09df07ff56f0e5207d /system/openmpi/openmpi.SlackBuild
parentd4c5f2d9b62f9b1549d9056007b98e55fced3bcc (diff)
downloadslackbuilds-9cde194db4da4b7a72c9f2972cf2a904867dfbfe.tar.gz
system/openmpi: Added new option.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/openmpi/openmpi.SlackBuild')
-rw-r--r--system/openmpi/openmpi.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/openmpi/openmpi.SlackBuild b/system/openmpi/openmpi.SlackBuild
index f16c3959ee..63d3d97832 100644
--- a/system/openmpi/openmpi.SlackBuild
+++ b/system/openmpi/openmpi.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=openmpi
VERSION=${VERSION:-4.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -60,6 +60,8 @@ fi
set -eu
+pmi="" ; [ "${PMI:-no}" != "no" ] && pmi="--with-slurm --with-pmix"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -80,8 +82,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--mandir=/usr/man/ \
- --enable-mpi1-compability \
+ --enable-mpi1-compatibility \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ $pmi \
--disable-static \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux