From: adash <adash> Date: Fri, 3 Apr 2009 22:08:28 +0000 (+0000) Subject: small changes to buildscript to add runtime check for STM X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=076937a58fcf44ecdc5c810f900c65f1ccf21301;p=IRC.git small changes to buildscript to add runtime check for STM --- diff --git a/Robust/src/buildscript b/Robust/src/buildscript index 427f3b54..3b4efbc7 100755 --- a/Robust/src/buildscript +++ b/Robust/src/buildscript @@ -141,6 +141,7 @@ DSMFLAG=true elif [[ $1 = '-singleTM' ]] then JAVAOPTS="$JAVAOPTS -singleTM" +EXTRAOPTIONS="$EXTRAOPTIONS -DSTM" SINGLETM=true elif [[ $1 = '-prefetch' ]] then @@ -477,8 +478,8 @@ fi if $SINGLETM then -EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -I$DSMRUNTIME" -FILES="$FILES $DSMRUNTIME/singleTMCommit.c $DSMRUNTIME/objstr.c $DSMRUNTIME/clookup.c $DSMRUNTIME/threadnotify.c" +EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER" +FILES="$FILES $DSMRUNTIME/dsmlock.c $DSMRUNTIME/singleTMCommit.c $DSMRUNTIME/clookup.c" fi if $ABORTREADERS