Ignore:
Timestamp:
Sep 27, 2018, 3:29:06 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
3aeee3c, 451ccd5
Parents:
2a1af5b
Message:

A better fix for java benchmarks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r2a1af5b r88e139e  
    5151        @${STATS} .result.log
    5252        @echo "------------------------------------------------------"
    53         @rm -f a.out .result.log
     53        @rm -f a.out .result.log *.class
    5454
    5555%.runquiet :
     
    163163
    164164ctxswitch-java_thread$(EXEEXT):
    165         $(AM_V_JAVAC)javac $(srcdir)/ctxswitch/JavaThread.java
     165        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    166166        @echo "#!/bin/sh" > a.out
    167         @echo "cd $(srcdir)/ctxswitch && java JavaThread" >> a.out
     167        @echo "java JavaThread" >> a.out
    168168        @chmod a+x a.out
    169169
     
    196196
    197197mutex-java_thread$(EXEEXT):
    198         $(AM_V_JAVAC)javac $(srcdir)/mutex/JavaThread.java
     198        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    199199        @echo "#!/bin/sh" > a.out
    200         @echo "cd $(srcdir)/mutex && java JavaThread" >> a.out
     200        @echo "java JavaThread" >> a.out
    201201        @chmod a+x a.out
    202202
     
    226226
    227227signal-java_thread$(EXEEXT):
    228         @javac $(srcdir)/schedint/JavaThread.java
     228        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    229229        @echo "#!/bin/sh" > a.out
    230         @echo "cd $(srcdir)/schedint && java JavaThread" >> a.out
     230        @echo "java JavaThread" >> a.out
    231231        @chmod a+x a.out
    232232
     
    284284
    285285creation-java_thread$(EXEEXT):
    286         $(AM_V_JAVAC)javac $(srcdir)/creation/JavaThread.java
     286        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    287287        @echo "#!/bin/sh" > a.out
    288         @echo "cd $(srcdir)/creation && java JavaThread" >> a.out
     288        @echo "java JavaThread" >> a.out
    289289        @chmod a+x a.out
    290290
Note: See TracChangeset for help on using the changeset viewer.