system/mpich: Updated for version 3.2 + new maintainer
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
This commit is contained in:
parent
7002c78414
commit
6310a43dfe
|
@ -1,8 +1,10 @@
|
|||
MPICH is a high-performance and widely portable implementation of the
|
||||
Message Passing Interface (MPI) standard (MPI-1, MPI-2 and MPI-3).
|
||||
The goals of MPICH are: to provide an MPI implementation that
|
||||
efficiently supports different computation and communication
|
||||
platforms including commodity clusters, high-speed networks and
|
||||
proprietary high-end computing systems, and to enable cutting-edge
|
||||
research in MPI through an easy-to-extend modular framework for other
|
||||
derived implementations.
|
||||
The goals of MPICH are:
|
||||
(1) to provide an MPI implementation that efficiently supports different
|
||||
computation and communication platforms including commodity clusters
|
||||
(desktop systems, shared-memory systems, multicore architectures),
|
||||
high-speed networks (10 Gigabit Ethernet, InfiniBand, Myrinet, Quadrics)
|
||||
and proprietary high-end computing systems (Blue Gene, Cray) and
|
||||
(2) to enable cutting-edge research in MPI through an easy-to-extend
|
||||
modular framework for other derived implementations.
|
||||
|
|
|
@ -2,16 +2,36 @@
|
|||
|
||||
# Slackware build script for mpich
|
||||
|
||||
# Written by Wainamoinen <wainamoinen@gmail.com>
|
||||
# Earlier version written by Wainamoinen <wainamoinen@gmail.com>
|
||||
#
|
||||
# Copyright 2016 Christoph Willing Brisbane, Australia
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=mpich
|
||||
VERSION=${VERSION:-3.1.4}
|
||||
VERSION=${VERSION:-3.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -22,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -60,10 +80,12 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--enable-static=no \
|
||||
--enable-g=none \
|
||||
--enable-fast=O2,ndebug
|
||||
--disable-static \
|
||||
--enable-fortran \
|
||||
--enable-cxx \
|
||||
--enable-threads=multiple \
|
||||
--enable-fast \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
@ -75,8 +97,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
|
|||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CHANGES COPYRIGHT README README.envvar RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
cp -a \
|
||||
CHANGES COPYRIGHT README README.envvar RELEASE_NOTES \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="mpich"
|
||||
VERSION="3.1.4"
|
||||
VERSION="3.2"
|
||||
HOMEPAGE="http://www.mpich.org/"
|
||||
DOWNLOAD="http://www.mpich.org/static/downloads/3.1.4/mpich-3.1.4.tar.gz"
|
||||
MD5SUM="2ab544607986486562e076b83937bba2"
|
||||
DOWNLOAD="http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz"
|
||||
MD5SUM="f414cfa77099cd1fa1a5ae4e22db508a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Wainamoinen"
|
||||
EMAIL="wainamoinen@gmail.com"
|
||||
MAINTAINER="Christoph Willing"
|
||||
EMAIL="chris.willing@linux.com"
|
||||
|
|
Loading…
Reference in New Issue