Changeset 944a90f for src/benchmark
- Timestamp:
- Jul 30, 2018, 11:27:44 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ad486c5b
- Parents:
- 7fb69f6 (diff), a4248de1 (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. - Location:
- src/benchmark
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/Makefile.am
r7fb69f6 r944a90f 17 17 # applies to both programs 18 18 CFLAGS = 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 19 AM_CFLAGS = \ 20 -g \ 21 -O2 \ 22 -Wall \ 23 -Wno-unused-function \ 24 -quiet \ 25 -I$(srcdir) \ 26 @BUILD_IN_TREE_FLAGS@ 27 20 28 CC = @CFACC@ 21 29 TOOLSDIR = ${abs_top_srcdir}/tools/ … … 93 101 ## ========================================================================================================= 94 102 loop$(EXEEXT): 95 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}103 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 96 104 97 105 function$(EXEEXT): 98 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}106 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 99 107 100 108 fetch_add$(EXEEXT): 101 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}109 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 102 110 103 111 ## ========================================================================================================= … … 118 126 119 127 ctxswitch-pthread$(EXEEXT): 120 @@BACKEND_CC@ ctxswitch/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}128 @@BACKEND_CC@ $(srcdir)/ctxswitch/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 121 129 122 130 ctxswitch-cfa_coroutine$(EXEEXT): 123 @${CC} ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}131 @${CC} $(srcdir)/ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 124 132 125 133 ctxswitch-cfa_thread$(EXEEXT): 126 @${CC} ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}134 @${CC} $(srcdir)/ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 127 135 128 136 ctxswitch-cfa_thread2$(EXEEXT): 129 @${CC} ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}137 @${CC} $(srcdir)/ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 130 138 131 139 ctxswitch-upp_coroutine$(EXEEXT): 132 @u++ ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}140 @u++ $(srcdir)/ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 133 141 134 142 ctxswitch-upp_thread$(EXEEXT): 135 @u++ ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}143 @u++ $(srcdir)/ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 136 144 137 145 ctxswitch-kos_fibre$(EXEEXT): 138 @${CXX} ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt146 @${CXX} $(srcdir)/ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 139 147 140 148 ctxswitch-kos_fibre2$(EXEEXT): 141 @${CXX} ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt149 @${CXX} $(srcdir)/ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 142 150 143 151 ctxswitch-goroutine$(EXEEXT): 144 @go build -o a.out ctxswitch/goroutine.go152 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go 145 153 146 154 ctxswitch-java_thread$(EXEEXT): 147 @javac ctxswitch/JavaThread.java155 @javac $(srcdir)/ctxswitch/JavaThread.java 148 156 @echo "#!/bin/sh" > a.out 149 157 @echo "cd ctxswitch && java JavaThread" >> a.out … … 163 171 164 172 mutex-pthread_lock$(EXEEXT): 165 @@BACKEND_CC@ mutex/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}173 @@BACKEND_CC@ $(srcdir)/mutex/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 166 174 167 175 mutex-upp$(EXEEXT): 168 @u++ mutex/upp.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}176 @u++ $(srcdir)/mutex/upp.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 169 177 170 178 mutex-cfa1$(EXEEXT): 171 @${CC} mutex/cfa1.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}179 @${CC} $(srcdir)/mutex/cfa1.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 172 180 173 181 mutex-cfa2$(EXEEXT): 174 @${CC} mutex/cfa2.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}182 @${CC} $(srcdir)/mutex/cfa2.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 175 183 176 184 mutex-cfa4$(EXEEXT): 177 @${CC} mutex/cfa4.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}185 @${CC} $(srcdir)/mutex/cfa4.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 178 186 179 187 mutex-java_thread$(EXEEXT): 180 @javac mutex/JavaThread.java188 @javac $(srcdir)/mutex/JavaThread.java 181 189 @echo "#!/bin/sh" > a.out 182 190 @echo "cd mutex && java JavaThread" >> a.out … … 193 201 194 202 signal-pthread_cond$(EXEEXT): 195 @@BACKEND_CC@ schedint/pthreads.c -DBENCH_N=500000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}203 @@BACKEND_CC@ $(srcdir)/schedint/pthreads.c -DBENCH_N=500000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 196 204 197 205 signal-upp$(EXEEXT): 198 @u++ schedint/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}206 @u++ $(srcdir)/schedint/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 199 207 200 208 signal-cfa1$(EXEEXT): 201 @${CC} schedint/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}209 @${CC} $(srcdir)/schedint/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 202 210 203 211 signal-cfa2$(EXEEXT): 204 @${CC} schedint/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}212 @${CC} $(srcdir)/schedint/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 205 213 206 214 signal-cfa4$(EXEEXT): 207 @${CC} schedint/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}215 @${CC} $(srcdir)/schedint/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 208 216 209 217 signal-java_thread$(EXEEXT): 210 @javac schedint/JavaThread.java218 @javac $(srcdir)/schedint/JavaThread.java 211 219 @echo "#!/bin/sh" > a.out 212 220 @echo "cd schedint && java JavaThread" >> a.out … … 222 230 223 231 waitfor-upp$(EXEEXT): 224 @u++ schedext/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}232 @u++ $(srcdir)/schedext/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 225 233 226 234 waitfor-cfa1$(EXEEXT): 227 @${CC} schedext/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}235 @${CC} $(srcdir)/schedext/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 228 236 229 237 waitfor-cfa2$(EXEEXT): 230 @${CC} schedext/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}238 @${CC} $(srcdir)/schedext/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 231 239 232 240 waitfor-cfa4$(EXEEXT): 233 @${CC} schedext/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}241 @${CC} $(srcdir)/schedext/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 234 242 235 243 ## ========================================================================================================= … … 245 253 246 254 creation-cfa_coroutine$(EXEEXT): 247 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}255 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 248 256 249 257 creation-cfa_coroutine_eager$(EXEEXT): 250 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER258 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER 251 259 252 260 creation-cfa_thread$(EXEEXT): 253 @${CC} creation/cfa_thrd.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}261 @${CC} $(srcdir)/creation/cfa_thrd.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 254 262 255 263 creation-upp_coroutine$(EXEEXT): 256 @u++ creation/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}264 @u++ $(srcdir)/creation/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 257 265 258 266 creation-upp_thread$(EXEEXT): 259 @u++ creation/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}267 @u++ $(srcdir)/creation/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 260 268 261 269 creation-pthread$(EXEEXT): 262 @@BACKEND_CC@ creation/pthreads.c -DBENCH_N=250000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}270 @@BACKEND_CC@ $(srcdir)/creation/pthreads.c -DBENCH_N=250000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 263 271 264 272 creation-goroutine$(EXEEXT): 265 @go build -o a.out creation/goroutine.go273 @go build -o a.out $(srcdir)/creation/goroutine.go 266 274 267 275 creation-java_thread$(EXEEXT): 268 @javac creation/JavaThread.java276 @javac $(srcdir)/creation/JavaThread.java 269 277 @echo "#!/bin/sh" > a.out 270 278 @echo "cd creation && java JavaThread" >> a.out … … 284 292 285 293 294 testdir = $(top_srcdir)/src/tests 295 286 296 compile-array$(EXEEXT): 287 @${CC} -quiet -fsyntax-only -w ../tests/array.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}297 @${CC} -quiet -fsyntax-only -w $(testdir)/array.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 288 298 289 299 compile-attributes$(EXEEXT): 290 @${CC} -quiet -fsyntax-only -w ../tests/attributes.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}300 @${CC} -quiet -fsyntax-only -w $(testdir)/attributes.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 291 301 292 302 compile-empty$(EXEEXT): 293 @${CC} -quiet -fsyntax-only -w compile/empty.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}303 @${CC} -quiet -fsyntax-only -w $(srcdir)/compile/empty.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 294 304 295 305 compile-expression$(EXEEXT): 296 @${CC} -quiet -fsyntax-only -w ../tests/expression.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}306 @${CC} -quiet -fsyntax-only -w $(testdir)/expression.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 297 307 298 308 compile-io$(EXEEXT): 299 @${CC} -quiet -fsyntax-only -w ../tests/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}309 @${CC} -quiet -fsyntax-only -w $(testdir)/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 300 310 301 311 compile-monitor$(EXEEXT): 302 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}312 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 303 313 304 314 compile-operators$(EXEEXT): 305 @${CC} -quiet -fsyntax-only -w ../tests/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}315 @${CC} -quiet -fsyntax-only -w $(testdir)/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 306 316 307 317 compile-thread$(EXEEXT): 308 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/thread.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}318 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/thread.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 309 319 310 320 compile-typeof$(EXEEXT): 311 @${CC} -quiet -fsyntax-only -w ../tests/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}312 321 @${CC} -quiet -fsyntax-only -w $(testdir)/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 322 -
src/benchmark/Makefile.in
r7fb69f6 r944a90f 252 252 top_builddir = @top_builddir@ 253 253 top_srcdir = @top_srcdir@ 254 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 254 AM_CFLAGS = \ 255 -g \ 256 -O2 \ 257 -Wall \ 258 -Wno-unused-function \ 259 -quiet \ 260 -I$(srcdir) \ 261 @BUILD_IN_TREE_FLAGS@ 262 255 263 TOOLSDIR = ${abs_top_srcdir}/tools/ 256 264 REPEAT = ${TOOLSDIR}repeat … … 260 268 TIME_FORMAT = "%E" 261 269 PRINT_FORMAT = %20s: #Comments needed for spacing 270 testdir = $(top_srcdir)/src/tests 262 271 all: all-am 263 272 … … 510 519 511 520 loop$(EXEEXT): 512 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}521 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 513 522 514 523 function$(EXEEXT): 515 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}524 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 516 525 517 526 fetch_add$(EXEEXT): 518 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}527 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 519 528 520 529 ctxswitch$(EXEEXT): \ … … 534 543 535 544 ctxswitch-pthread$(EXEEXT): 536 @@BACKEND_CC@ ctxswitch/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}545 @@BACKEND_CC@ $(srcdir)/ctxswitch/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 537 546 538 547 ctxswitch-cfa_coroutine$(EXEEXT): 539 @${CC} ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}548 @${CC} $(srcdir)/ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 540 549 541 550 ctxswitch-cfa_thread$(EXEEXT): 542 @${CC} ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}551 @${CC} $(srcdir)/ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 543 552 544 553 ctxswitch-cfa_thread2$(EXEEXT): 545 @${CC} ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}554 @${CC} $(srcdir)/ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 546 555 547 556 ctxswitch-upp_coroutine$(EXEEXT): 548 @u++ ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}557 @u++ $(srcdir)/ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 549 558 550 559 ctxswitch-upp_thread$(EXEEXT): 551 @u++ ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}560 @u++ $(srcdir)/ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 552 561 553 562 ctxswitch-kos_fibre$(EXEEXT): 554 @${CXX} ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt563 @${CXX} $(srcdir)/ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 555 564 556 565 ctxswitch-kos_fibre2$(EXEEXT): 557 @${CXX} ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt566 @${CXX} $(srcdir)/ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 558 567 559 568 ctxswitch-goroutine$(EXEEXT): 560 @go build -o a.out ctxswitch/goroutine.go569 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go 561 570 562 571 ctxswitch-java_thread$(EXEEXT): 563 @javac ctxswitch/JavaThread.java572 @javac $(srcdir)/ctxswitch/JavaThread.java 564 573 @echo "#!/bin/sh" > a.out 565 574 @echo "cd ctxswitch && java JavaThread" >> a.out … … 578 587 579 588 mutex-pthread_lock$(EXEEXT): 580 @@BACKEND_CC@ mutex/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}589 @@BACKEND_CC@ $(srcdir)/mutex/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 581 590 582 591 mutex-upp$(EXEEXT): 583 @u++ mutex/upp.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}592 @u++ $(srcdir)/mutex/upp.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 584 593 585 594 mutex-cfa1$(EXEEXT): 586 @${CC} mutex/cfa1.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}595 @${CC} $(srcdir)/mutex/cfa1.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 587 596 588 597 mutex-cfa2$(EXEEXT): 589 @${CC} mutex/cfa2.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}598 @${CC} $(srcdir)/mutex/cfa2.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 590 599 591 600 mutex-cfa4$(EXEEXT): 592 @${CC} mutex/cfa4.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}601 @${CC} $(srcdir)/mutex/cfa4.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 593 602 594 603 mutex-java_thread$(EXEEXT): 595 @javac mutex/JavaThread.java604 @javac $(srcdir)/mutex/JavaThread.java 596 605 @echo "#!/bin/sh" > a.out 597 606 @echo "cd mutex && java JavaThread" >> a.out … … 607 616 608 617 signal-pthread_cond$(EXEEXT): 609 @@BACKEND_CC@ schedint/pthreads.c -DBENCH_N=500000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}618 @@BACKEND_CC@ $(srcdir)/schedint/pthreads.c -DBENCH_N=500000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 610 619 611 620 signal-upp$(EXEEXT): 612 @u++ schedint/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}621 @u++ $(srcdir)/schedint/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 613 622 614 623 signal-cfa1$(EXEEXT): 615 @${CC} schedint/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}624 @${CC} $(srcdir)/schedint/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 616 625 617 626 signal-cfa2$(EXEEXT): 618 @${CC} schedint/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}627 @${CC} $(srcdir)/schedint/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 619 628 620 629 signal-cfa4$(EXEEXT): 621 @${CC} schedint/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}630 @${CC} $(srcdir)/schedint/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 622 631 623 632 signal-java_thread$(EXEEXT): 624 @javac schedint/JavaThread.java633 @javac $(srcdir)/schedint/JavaThread.java 625 634 @echo "#!/bin/sh" > a.out 626 635 @echo "cd schedint && java JavaThread" >> a.out … … 634 643 635 644 waitfor-upp$(EXEEXT): 636 @u++ schedext/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}645 @u++ $(srcdir)/schedext/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 637 646 638 647 waitfor-cfa1$(EXEEXT): 639 @${CC} schedext/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}648 @${CC} $(srcdir)/schedext/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 640 649 641 650 waitfor-cfa2$(EXEEXT): 642 @${CC} schedext/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}651 @${CC} $(srcdir)/schedext/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 643 652 644 653 waitfor-cfa4$(EXEEXT): 645 @${CC} schedext/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}654 @${CC} $(srcdir)/schedext/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 646 655 647 656 creation$(EXEEXT) :\ … … 656 665 657 666 creation-cfa_coroutine$(EXEEXT): 658 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}667 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 659 668 660 669 creation-cfa_coroutine_eager$(EXEEXT): 661 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER670 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER 662 671 663 672 creation-cfa_thread$(EXEEXT): 664 @${CC} creation/cfa_thrd.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}673 @${CC} $(srcdir)/creation/cfa_thrd.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 665 674 666 675 creation-upp_coroutine$(EXEEXT): 667 @u++ creation/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}676 @u++ $(srcdir)/creation/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 668 677 669 678 creation-upp_thread$(EXEEXT): 670 @u++ creation/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}679 @u++ $(srcdir)/creation/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 671 680 672 681 creation-pthread$(EXEEXT): 673 @@BACKEND_CC@ creation/pthreads.c -DBENCH_N=250000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}682 @@BACKEND_CC@ $(srcdir)/creation/pthreads.c -DBENCH_N=250000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 674 683 675 684 creation-goroutine$(EXEEXT): 676 @go build -o a.out creation/goroutine.go685 @go build -o a.out $(srcdir)/creation/goroutine.go 677 686 678 687 creation-java_thread$(EXEEXT): 679 @javac creation/JavaThread.java688 @javac $(srcdir)/creation/JavaThread.java 680 689 @echo "#!/bin/sh" > a.out 681 690 @echo "cd creation && java JavaThread" >> a.out … … 693 702 694 703 compile-array$(EXEEXT): 695 @${CC} -quiet -fsyntax-only -w ../tests/array.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}704 @${CC} -quiet -fsyntax-only -w $(testdir)/array.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 696 705 697 706 compile-attributes$(EXEEXT): 698 @${CC} -quiet -fsyntax-only -w ../tests/attributes.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}707 @${CC} -quiet -fsyntax-only -w $(testdir)/attributes.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 699 708 700 709 compile-empty$(EXEEXT): 701 @${CC} -quiet -fsyntax-only -w compile/empty.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}710 @${CC} -quiet -fsyntax-only -w $(srcdir)/compile/empty.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 702 711 703 712 compile-expression$(EXEEXT): 704 @${CC} -quiet -fsyntax-only -w ../tests/expression.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}713 @${CC} -quiet -fsyntax-only -w $(testdir)/expression.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 705 714 706 715 compile-io$(EXEEXT): 707 @${CC} -quiet -fsyntax-only -w ../tests/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}716 @${CC} -quiet -fsyntax-only -w $(testdir)/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 708 717 709 718 compile-monitor$(EXEEXT): 710 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}719 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 711 720 712 721 compile-operators$(EXEEXT): 713 @${CC} -quiet -fsyntax-only -w ../tests/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}722 @${CC} -quiet -fsyntax-only -w $(testdir)/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 714 723 715 724 compile-thread$(EXEEXT): 716 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/thread.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}725 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/thread.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 717 726 718 727 compile-typeof$(EXEEXT): 719 @${CC} -quiet -fsyntax-only -w ../tests/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}728 @${CC} -quiet -fsyntax-only -w $(testdir)/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 720 729 721 730 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset
for help on using the changeset viewer.