Christoph Niethammer
25da0150af
* 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.
29 lines
620 B
Bash
Executable file
29 lines
620 B
Bash
Executable file
#!/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
|