Added sit class files for
* Berkeley UPC translator (source to source compiler) * Berkeley UPC (runtime) The environment variable BUPC_TRANSLATOR has to be defined by the berkeley_upc_translator module to build Berkeley UPC.
This commit is contained in:
parent
a6473e6997
commit
25da0150af
3 changed files with 61 additions and 1 deletions
29
packages/compiler/berkeley_upc-2.12.2
Executable file
29
packages/compiler/berkeley_upc-2.12.2
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
|
||||
#
|
||||
|
||||
CATEGORY="compiler"
|
||||
PACKAGE="berkeley_upc"
|
||||
VERSION="2.12.2"
|
||||
|
||||
PACKAGENAME=""
|
||||
URL="http://upc.lbl.gov"
|
||||
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}-${VERSION}.tar.gz
|
||||
P=${PACKAGE}-${VERSION}
|
||||
|
||||
module load compiler/berkeley_upc_translator
|
||||
|
||||
MAKEOPTS+=" MPI_CC=$MPICC"
|
||||
|
||||
# Other interesting configure options:
|
||||
# --with-multiconf=+dbg_tv
|
||||
# --with-multiconf=+opt_inst
|
||||
CONFIGURE_OPTS=" \
|
||||
BUPC_TRANS=$BUPC_TRANSLATOR
|
||||
"
|
||||
# GCCUPC_TRANS=PATH --with-multiconf=+dbg_gccupc,+opt_gccupc
|
30
packages/compiler/berkeley_upc_translaotr-2.12.2
Executable file
30
packages/compiler/berkeley_upc_translaotr-2.12.2
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
# Berkeley UPC translator sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
|
||||
#
|
||||
|
||||
CATEGORY="compiler"
|
||||
PACKAGE="berkeley_upc_translator"
|
||||
VERSION="2.12.2"
|
||||
|
||||
PACKAGENAME="Berkeley UPC-to-C translator"
|
||||
URL="http://upc.lbl.gov/"
|
||||
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}-${VERSION}.tar.gz
|
||||
P=${PACKAGE}-${VERSION}
|
||||
|
||||
BUILDDIR=$SRCDIR
|
||||
MAKEOPTS=""
|
||||
|
||||
src_configure() {
|
||||
sit_info "nothing to do for the translator"
|
||||
/bin/true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sit_info $PWD
|
||||
make install PREFIX=$PREFIX
|
||||
}
|
3
sit
3
sit
|
@ -102,7 +102,8 @@ if [ ! -z "$MPI" ] ; then
|
|||
fi
|
||||
echo "Loading MPI module ${MPI_MODULE}"
|
||||
module load $MPI_MODULE
|
||||
MPI_DIR=${MPI_DIR:=$(dirname $(dirname $(which mpicc)))}
|
||||
MPICC="mpicc"
|
||||
MPI_DIR=${MPI_DIR:=$(dirname $(dirname $(which $MPICC)))}
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue