From a1b6715971640a6308e18b6e3753266fceb802e0 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Wed, 17 Jul 2013 19:21:09 +0000 Subject: [PATCH] revised scalasca-1.4.2 --- packages/performance/scalasca/scalasca-1.4.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/performance/scalasca/scalasca-1.4.2 b/packages/performance/scalasca/scalasca-1.4.2 index 4346c91..95b067c 100755 --- a/packages/performance/scalasca/scalasca-1.4.2 +++ b/packages/performance/scalasca/scalasca-1.4.2 @@ -55,7 +55,11 @@ LOGDIR=${LOGDIR:="/tmp/$USER-$PACKAGE-$VERSION/"} # and the build dir name seems to change src_build() { #cd build-linux-${COMPILER}-${MPI} - cd build-linux-gomp-${MPI} + if [ $PLATFORM="laki" ] ; then + cd build-linux-gomp-${MPI} + else + cd build-crayxt-gnu + fi make cd - }