From 5f66718ec8ac615d7717d6c750c5ef2d249300ee Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 7 Jul 2011 23:24:40 +0000 Subject: [PATCH] Added new sit classfile for Mercurium compiler (git repository version). --- packages/compiler/mcxx-master | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 packages/compiler/mcxx-master diff --git a/packages/compiler/mcxx-master b/packages/compiler/mcxx-master new file mode 100755 index 0000000..344aaab --- /dev/null +++ b/packages/compiler/mcxx-master @@ -0,0 +1,53 @@ +#!/bin/sh +# Open MPI sit class file +# +# Christoph Niethammer (C) 2011 +# + +CATEGORY="compiler" +PACKAGE="mcxx" +VERSION="master" +URL="http://nanos.ac.upc.edu/content/mercurium-compiler" +INSTALLER="Christoph Niethammer " + +module load libs/nanox + +# Archive A and package name P +A=${PACKAGE}-${VERSION}.tar.bz2 +P=${PACKAGE}-${VERSION} + +SRCDIR="$SRC_POOL/mcxx/mcxx.git" + +# build with debugging symbols (0|1) +enable_debug=${enable_debug:=0} + + +# Other interesting configure options: +CONFIGURE_OPTS=" \ + --enable-openmpt \ + --with-nanox=$NANOX_HOME \ + " + + +src_unpack() { +# cd $src_dir +# git checkout master +# git pull + /bin/true +} + +src_prepare() { + rm -rf autom4te.cache + ./autogen.sh + version=$(git rev-list -n 1 master) +} + +src_install() { + make install + echo "$PACKAGE: $version" > $PREFIX/VERSION.txt +} + +src_pretest() { + /bin/true +} +