diff --git a/starss_install.sh b/starss_install.sh index fbf9876..4d7c886 100755 --- a/starss_install.sh +++ b/starss_install.sh @@ -22,7 +22,16 @@ COMPILER_VERSION=${COMPILER_VERSION:=} # package to build CATEGORY="" PACKAGE="StarSs" -VERSION="2.3" +VERSION="2.3-r20" +SVN_BUILD="yes" # yes|no + +if [ "$SVN_BUILD" == "yes" ]; then + module use /opt/amtopt/autotools/modulefiles + module use ~/modulefiles # we should build a complete toolstack for AMT... + module load local + module load tools/gperf + module load tools/bison-rofi # bison-2.4.2 seems to work, too +fi # add a descriptor at the end of the installation path e.g. for special config options etc. PACKAGE_DESCRIPTOR=${PACKAGE_DESCRIPTOR:+-$PACKAGE_DESCRIPTOR}