From 317b33ee8c2fce37b823fc9ee6912591504e28e9 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 15 Mar 2012 14:50:47 +0000 Subject: [PATCH] Added sit class files for Berkeley UPC 2.14.0 translator and compiler. --- .../compiler/berkeley_upc/berkeley_upc-2.14.0 | 32 +++++++++++++++++++ .../berkeley_upc_translator-2.14.0 | 30 +++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100755 packages/compiler/berkeley_upc/berkeley_upc-2.14.0 create mode 100755 packages/compiler/berkeley_upc_translator/berkeley_upc_translator-2.14.0 diff --git a/packages/compiler/berkeley_upc/berkeley_upc-2.14.0 b/packages/compiler/berkeley_upc/berkeley_upc-2.14.0 new file mode 100755 index 0000000..9eb5e6b --- /dev/null +++ b/packages/compiler/berkeley_upc/berkeley_upc-2.14.0 @@ -0,0 +1,32 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2011 +# + +CATEGORY="compiler" +PACKAGE="berkeley_upc" +VERSION="2.14.0" + +PACKAGENAME="" +URL="http://upc.lbl.gov" +INSTALLER="Christoph Niethammer " + +# 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 diff --git a/packages/compiler/berkeley_upc_translator/berkeley_upc_translator-2.14.0 b/packages/compiler/berkeley_upc_translator/berkeley_upc_translator-2.14.0 new file mode 100755 index 0000000..1887879 --- /dev/null +++ b/packages/compiler/berkeley_upc_translator/berkeley_upc_translator-2.14.0 @@ -0,0 +1,30 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (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 " + +# 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 +}