Added sit class files for Berkeley UPC 2.14.0 translator and compiler.

This commit is contained in:
Christoph Niethammer 2012-03-15 14:50:47 +00:00
parent e8dc05c1db
commit 317b33ee8c
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="compiler"
PACKAGE="berkeley_upc"
VERSION="2.14.0"
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=" \
--enable-pshm
--disable-pshm-posix
--enable-pshm-sysv
BUPC_TRANS=$BUPC_TRANSLATOR
"
# GCCUPC_TRANS=PATH --with-multiconf=+dbg_gccupc,+opt_gccupc

View file

@ -0,0 +1,30 @@
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2011
#
CATEGORY="compiler"
PACKAGE="berkeley_upc_translator"
VERSION="2.14.0"
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
}