added sit command as comment, new package scripts
This commit is contained in:
parent
fc389d5a33
commit
27f32418be
5 changed files with 67 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# laki sit command:
|
||||
# PREFIX_BASE=/opt ./sit numlib/metis/5.1.0
|
||||
#
|
||||
# hermit sit command:
|
||||
# PREFIX_BASE=/opt/hlrs ./sit numlib/metis/5.1.0
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="metis"
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# laki sit command:
|
||||
# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/parmetis/4.0.3
|
||||
#
|
||||
# hermit sit command:
|
||||
# PREFIX_BASE=/opt/hlrs ./sit numlib/parmetis/4.0.3
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="parmetis"
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# sit command for intel:
|
||||
# PREFIX_BASE=/opt COMPILER=intel COMPILER_VERSION=13.1.2 MPI=impi MPI_VERSION=4.1.1.036 ./sit numlib/petsc/petsc-3.4.0
|
||||
#
|
||||
# sit command for gnu:
|
||||
# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/petsc/3.4.0
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="petsc"
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# laki sit command:
|
||||
# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/scotch/6.0.0
|
||||
#
|
||||
# hermit sit command:
|
||||
# PREFIX_BASE=/opt/hlrs ./sit numlib/scotch/6.0.0
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="scotch"
|
||||
|
|
47
packages/numlib/zoltan/3.6
Executable file
47
packages/numlib/zoltan/3.6
Executable file
|
@ -0,0 +1,47 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2012
|
||||
#
|
||||
# laki sit command:
|
||||
# PREFIX_BASE=/opt COMPILER=gnu COMPILER_VERSION=4.7.3 MPI=openmpi MPI_VERSION=1.6.4 ./sit numlib/zoltan/3.6
|
||||
#
|
||||
# hermit sit command:
|
||||
# TODO! not yet installed with sit...
|
||||
|
||||
CATEGORY="numlib"
|
||||
PACKAGE="zoltan"
|
||||
VERSION="3.6"
|
||||
URL="http://www.labri.fr/perso/pelegrin/scotch/"
|
||||
INSTALLER="Elke Flehmig <flehmig@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}_${VERSION}.tgz
|
||||
P=${PACKAGE}_${VERSION}/Zoltan_v3.6
|
||||
|
||||
src_prepare() {
|
||||
case $PLATFORM in
|
||||
hermit|hermit1)
|
||||
echo "Building for hermit."
|
||||
;;
|
||||
laki|*)
|
||||
echo "Building for laki."
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
CONFIGURE_OPTS="--with-id-type=ullong CC=mpicc CXX=mpicxx"
|
||||
|
||||
src_pretest() {
|
||||
sit_info "Checking zoltan ..."
|
||||
make check || sit_fail "Checking zoltan failed"
|
||||
sit_info "Building examples ..."
|
||||
make examples || sit_fail"Building examples failed"
|
||||
}
|
||||
|
||||
src_postinst() {
|
||||
# mv examples to target (not included in any make install version)
|
||||
mv $BUILDDIR/example $PREFIX
|
||||
# mv documentation to target (not included in make install)
|
||||
mv $SRCDIR/doc $PREFIX
|
||||
}
|
Loading…
Reference in a new issue