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 - }