Changeset 451ccd5 for benchmark/Makefile.am
- Timestamp:
- Oct 2, 2018, 11:21:14 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ee27df2
- Parents:
- 519242e (diff), 88e139e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
r519242e r451ccd5 20 20 include $(top_srcdir)/src/cfa.make 21 21 22 UPPC OMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)22 UPPCC = u++ 23 23 24 24 AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread … … 34 34 PRINT_FORMAT = %20s: #Comments needed for spacing 35 35 36 #prevent any tests in parallel 36 37 .NOTPARALLEL: 37 38 38 noinst_PROGRAMS = 39 39 #make sure automake includes the compile rules for C and C++ 40 EXTRA_PROGRAMS = dummy 41 dummy_SOURCES = c.c cxx.cpp 42 43 ## ========================================================================================================= 40 44 all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT) 41 45 … … 47 51 @${STATS} .result.log 48 52 @echo "------------------------------------------------------" 49 @rm -f a.out .result.log 53 @rm -f a.out .result.log *.class 50 54 51 55 %.runquiet : … … 100 104 ## ========================================================================================================= 101 105 loop$(EXEEXT): 102 $( COMPILE) -DBENCH_N=5000000000loop.c106 $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c 103 107 104 108 function$(EXEEXT): 105 $( COMPILE) -DBENCH_N=5000000000function.c109 $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c 106 110 107 111 fetch_add$(EXEEXT): 108 $( COMPILE) -DBENCH_N=500000000fetch_add.c112 $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c 109 113 110 114 ## ========================================================================================================= … … 129 133 130 134 ctxswitch-kos_fibre$(EXEEXT): 131 @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp -I$(LIBFIBRE_DIR) -lfibre135 $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp -I$(LIBFIBRE_DIR) -lfibre 132 136 133 137 ctxswitch-kos_fibre2$(EXEEXT): 134 @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre138 $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre 135 139 endif 136 140 … … 138 142 139 143 ctxswitch-pthread$(EXEEXT): 140 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c144 $(AM_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c 141 145 142 146 ctxswitch-cfa_coroutine$(EXEEXT): 143 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c147 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c 144 148 145 149 ctxswitch-cfa_thread$(EXEEXT): 146 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c150 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c 147 151 148 152 ctxswitch-cfa_thread2$(EXEEXT): 149 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c153 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c 150 154 151 155 ctxswitch-upp_coroutine$(EXEEXT): 152 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc156 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc 153 157 154 158 ctxswitch-upp_thread$(EXEEXT): 155 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc159 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc 156 160 157 161 ctxswitch-goroutine$(EXEEXT): 158 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go162 $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go 159 163 160 164 ctxswitch-java_thread$(EXEEXT): 161 @javac$(srcdir)/ctxswitch/JavaThread.java165 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java 162 166 @echo "#!/bin/sh" > a.out 163 @echo " cd ctxswitch &&java JavaThread" >> a.out167 @echo "java JavaThread" >> a.out 164 168 @chmod a+x a.out 165 169 … … 177 181 178 182 mutex-pthread_lock$(EXEEXT): 179 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c183 $(AM_V_CC)$(COMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c 180 184 181 185 mutex-upp$(EXEEXT): 182 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc186 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc 183 187 184 188 mutex-cfa1$(EXEEXT): 185 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.c189 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.c 186 190 187 191 mutex-cfa2$(EXEEXT): 188 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.c192 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.c 189 193 190 194 mutex-cfa4$(EXEEXT): 191 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.c195 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.c 192 196 193 197 mutex-java_thread$(EXEEXT): 194 @javac$(srcdir)/mutex/JavaThread.java198 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java 195 199 @echo "#!/bin/sh" > a.out 196 @echo " cd mutex &&java JavaThread" >> a.out200 @echo "java JavaThread" >> a.out 197 201 @chmod a+x a.out 198 202 … … 207 211 208 212 signal-pthread_cond$(EXEEXT): 209 @$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c213 $(AM_V_CC)$(COMPILE) -DBENCH_N=500000 $(srcdir)/schedint/pthreads.c 210 214 211 215 signal-upp$(EXEEXT): 212 @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc216 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc 213 217 214 218 signal-cfa1$(EXEEXT): 215 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.c219 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.c 216 220 217 221 signal-cfa2$(EXEEXT): 218 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.c222 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.c 219 223 220 224 signal-cfa4$(EXEEXT): 221 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.c225 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.c 222 226 223 227 signal-java_thread$(EXEEXT): 224 @javac$(srcdir)/schedint/JavaThread.java228 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java 225 229 @echo "#!/bin/sh" > a.out 226 @echo " cd schedint &&java JavaThread" >> a.out230 @echo "java JavaThread" >> a.out 227 231 @chmod a+x a.out 228 232 … … 236 240 237 241 waitfor-upp$(EXEEXT): 238 @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc242 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc 239 243 240 244 waitfor-cfa1$(EXEEXT): 241 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.c245 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.c 242 246 243 247 waitfor-cfa2$(EXEEXT): 244 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.c248 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.c 245 249 246 250 waitfor-cfa4$(EXEEXT): 247 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.c251 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.c 248 252 249 253 ## ========================================================================================================= … … 259 263 260 264 creation-cfa_coroutine$(EXEEXT): 261 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c265 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c 262 266 263 267 creation-cfa_coroutine_eager$(EXEEXT): 264 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c268 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c 265 269 266 270 creation-cfa_thread$(EXEEXT): 267 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c271 $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c 268 272 269 273 creation-upp_coroutine$(EXEEXT): 270 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc274 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc 271 275 272 276 creation-upp_thread$(EXEEXT): 273 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc277 $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc 274 278 275 279 creation-pthread$(EXEEXT): 276 @$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c280 $(AM_V_CC)$(COMPILE) -DBENCH_N=250000 $(srcdir)/creation/pthreads.c 277 281 278 282 creation-goroutine$(EXEEXT): 279 @go build -o a.out $(srcdir)/creation/goroutine.go283 $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go 280 284 281 285 creation-java_thread$(EXEEXT): 282 @javac$(srcdir)/creation/JavaThread.java286 $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java 283 287 @echo "#!/bin/sh" > a.out 284 @echo " cd creation &&java JavaThread" >> a.out288 @echo "java JavaThread" >> a.out 285 289 @chmod a+x a.out 286 290 … … 301 305 302 306 compile-array$(EXEEXT): 303 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c307 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c 304 308 305 309 compile-attributes$(EXEEXT): 306 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c310 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c 307 311 308 312 compile-empty$(EXEEXT): 309 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c313 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c 310 314 311 315 compile-expression$(EXEEXT): 312 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c316 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c 313 317 314 318 compile-io$(EXEEXT): 315 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c319 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c 316 320 317 321 compile-monitor$(EXEEXT): 318 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c322 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c 319 323 320 324 compile-operators$(EXEEXT): 321 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c325 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c 322 326 323 327 compile-thread$(EXEEXT): 324 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c328 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c 325 329 326 330 compile-typeof$(EXEEXT): 327 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c328 331 $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c 332
Note: See TracChangeset
for help on using the changeset viewer.