Ignore:
Timestamp:
Feb 19, 2020, 3:37:13 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
32ce9b7
Parents:
921cd82
Message:

Fixed jenkins benchmark

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r921cd82 r4aac9ff  
    7272        echo "int main() { return 0; }" > ${@}
    7373
    74 #.SILENT:               # do not print recipe
    75 .ONESHELL:              # use one shell to execute recipe
     74.SILENT:                # do not print recipe
    7675.NOTPARALLEL:
    77 .PHONY: compile.csv basic.csv ctxswitch.csv mutex.csv schedint.csv
     76.PHONY: jenkins cleancsv
    7877
    7978## =========================================================================================================
     
    142141FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@
    143142
    144 jenkins$(EXEEXT):
     143cleancsv:
     144        rm -f compile.csv basic.csv ctxswitch.csv mutex.csv schedint.csv
     145
     146jenkins$(EXEEXT): cleancsv
    145147@DOifskipcompile@
    146148        +make compile.csv
    147149        -+make compile.diff.csv
    148150@DOendif@
    149         +make basic.csv
    150         -+make basic.diff.csv
    151151        +make ctxswitch.csv
    152152        -+make ctxswitch.diff.csv
     
    159159        -cat compile.diff.csv
    160160@DOendif@
    161         cat basic.csv
    162         -cat basic.diff.csv
    163161        cat ctxswitch.csv
    164162        -cat ctxswitch.diff.csv
     
    169167
    170168compile.csv:
     169        echo "building $@"
    171170        echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@
    172171        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@
     
    180179        $(srcdir)/fixcsv.sh $@
    181180
    182 basic.csv:
    183         echo "generator,coroutine,thread" > $@
    184         +make basic-cfa_generator.runquiet >> $@ && echo -n ',' >> $@
    185         +make basic-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@
    186         +make basic-cfa_thread.runquiet >> $@
    187         $(srcdir)/fixcsv.sh $@
     181# basic.csv:
     182#       echo "$@"
     183#       echo "generator,coroutine,thread" > $@
     184#       +make basic-cfa_generator.runquiet >> $@ && echo -n ',' >> $@
     185#       +make basic-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@
     186#       +make basic-cfa_thread.runquiet >> $@
     187#       $(srcdir)/fixcsv.sh $@
    188188
    189189ctxswitch.csv:
     190        echo "building $@"
    190191        echo "generator,coroutine,thread" > $@
    191192        +make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@
     
    195196
    196197mutex.csv:
     198        echo "building $@"
    197199        echo "1-monitor,2-monitor" > $@
    198200        +make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@
     
    201203
    202204schedint.csv:
     205        echo "building $@"
    203206        echo "schedint-1,schedint-2,schedext-1,schedext-2" > $@
    204207        +make schedint-cfa1.runquiet >> $@ && echo -n ',' >> $@
Note: See TracChangeset for help on using the changeset viewer.