From 8859d83c5a2d41b1b93e12fd59651dec10b7138e Mon Sep 17 00:00:00 2001 From: bdemsky Date: Sun, 3 Apr 2011 03:17:22 +0000 Subject: [PATCH] trying to build specjbb on intel --- Robust/src/buildscript | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Robust/src/buildscript b/Robust/src/buildscript index 5d304118..b158326f 100755 --- a/Robust/src/buildscript +++ b/Robust/src/buildscript @@ -220,6 +220,7 @@ GCCACHEADAPTPOLICYFLAG=false GCCACHEADAPTPOLICY='' GCCACHESAMPLINGFLAG=false MGCFLAG=false +MGCINTELFLAG=false OBJECTLOCKDEBUGFLAG=false MAPPINGTBLDEBUGFLAG=false USEDMALLOC=false @@ -534,6 +535,9 @@ elif [[ $1 = '-mgc' ]] then MGCFLAG=true JAVAOPTS="$JAVAOPTS -mgc" +elif [[ $1 = '-mgcintel' ]] +then +MGCINTELFLAG=true elif [[ $1 = '-objectlockdebug' ]] then OBJECTLOCKDEBUGFLAG=true @@ -756,6 +760,10 @@ fi # Setup class path +if $MGCINTELFLAG +then +JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/MGC/ -classlibrary $ROBUSTROOT/ClassLibrary/MGC/gnu/" +else if $MGCFLAG then #base multicore gc files @@ -788,6 +796,7 @@ fi JAVAOPTS="$JAVAOPTS -classlibrary $ROBUSTROOT/ClassLibrary/Java" fi fi +fi # Build bristlecone/java sources @@ -800,6 +809,14 @@ then exit $? fi else #if ! ${ROBUSTROOT}/ourjava -Xms5m -Xmx100m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \ +if $MGCINTELFLAG +then +if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx1500m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main $JAVAOPTS -classlibrary \ +$ROBUSTROOT/ClassLibrary/ -classlibrary $ROBUSTROOT/ClassLibrary/gnu/ -dir $BUILDDIR -precise \ +$SRCFILES +then exit $? +fi +else if ! $NOJAVA then if ! ${ROBUSTROOT}/ourjava -Xms50m -Xmx1500m $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \ @@ -809,6 +826,7 @@ then exit $? fi fi fi +fi if $EXITAFTERANALYSIS then -- 2.34.1