Changeset d3db83c for src/benchmark
- Timestamp:
- Jul 27, 2018, 6:14:55 PM (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:
- e10537a9
- Parents:
- 6fb1921
- Location:
- src/benchmark
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/Makefile.am
r6fb1921 rd3db83c 17 17 # applies to both programs 18 18 CFLAGS = 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 19 AM_CFLAGS = \ 20 -XCFA \ 21 -t \ 22 -B${abs_top_builddir}/src/driver \ 23 -g \ 24 -O2 \ 25 -Wall \ 26 -Wno-unused-function \ 27 -quiet \ 28 -I$(srcdir) \ 29 -L${abs_top_builddir}/src/libcfa \ 30 -I${abs_top_srcdir}/src/libcfa \ 31 -I${abs_top_srcdir}/src/libcfa/containers \ 32 -I${abs_top_srcdir}/src/libcfa/concurrency \ 33 -I${abs_top_srcdir}/src/libcfa/stdhdr 34 20 35 CC = ${top_builddir}/src/driver/cfa 21 36 TOOLSDIR = ${abs_top_srcdir}/tools/ … … 93 108 ## ========================================================================================================= 94 109 loop$(EXEEXT): 95 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}110 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 96 111 97 112 function$(EXEEXT): 98 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}113 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 99 114 100 115 fetch_add$(EXEEXT): 101 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}116 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 102 117 103 118 ## ========================================================================================================= … … 118 133 119 134 ctxswitch-pthread$(EXEEXT): 120 @@BACKEND_CC@ ctxswitch/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}135 @@BACKEND_CC@ $(srcdir)/ctxswitch/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 121 136 122 137 ctxswitch-cfa_coroutine$(EXEEXT): 123 @${CC} ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}138 @${CC} $(srcdir)/ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 124 139 125 140 ctxswitch-cfa_thread$(EXEEXT): 126 @${CC} ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}141 @${CC} $(srcdir)/ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 127 142 128 143 ctxswitch-cfa_thread2$(EXEEXT): 129 @${CC} ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}144 @${CC} $(srcdir)/ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 130 145 131 146 ctxswitch-upp_coroutine$(EXEEXT): 132 @u++ ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}147 @u++ $(srcdir)/ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 133 148 134 149 ctxswitch-upp_thread$(EXEEXT): 135 @u++ ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}150 @u++ $(srcdir)/ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 136 151 137 152 ctxswitch-kos_fibre$(EXEEXT): 138 @${CXX} ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt153 @${CXX} $(srcdir)/ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 139 154 140 155 ctxswitch-kos_fibre2$(EXEEXT): 141 @${CXX} ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt156 @${CXX} $(srcdir)/ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 142 157 143 158 ctxswitch-goroutine$(EXEEXT): 144 @go build -o a.out ctxswitch/goroutine.go159 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go 145 160 146 161 ctxswitch-java_thread$(EXEEXT): 147 @javac ctxswitch/JavaThread.java162 @javac $(srcdir)/ctxswitch/JavaThread.java 148 163 @echo "#!/bin/sh" > a.out 149 164 @echo "cd ctxswitch && java JavaThread" >> a.out … … 163 178 164 179 mutex-pthread_lock$(EXEEXT): 165 @@BACKEND_CC@ mutex/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}180 @@BACKEND_CC@ $(srcdir)/mutex/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 166 181 167 182 mutex-upp$(EXEEXT): 168 @u++ mutex/upp.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}183 @u++ $(srcdir)/mutex/upp.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 169 184 170 185 mutex-cfa1$(EXEEXT): 171 @${CC} mutex/cfa1.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}186 @${CC} $(srcdir)/mutex/cfa1.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 172 187 173 188 mutex-cfa2$(EXEEXT): 174 @${CC} mutex/cfa2.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}189 @${CC} $(srcdir)/mutex/cfa2.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 175 190 176 191 mutex-cfa4$(EXEEXT): 177 @${CC} mutex/cfa4.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}192 @${CC} $(srcdir)/mutex/cfa4.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 178 193 179 194 mutex-java_thread$(EXEEXT): 180 @javac mutex/JavaThread.java195 @javac $(srcdir)/mutex/JavaThread.java 181 196 @echo "#!/bin/sh" > a.out 182 197 @echo "cd mutex && java JavaThread" >> a.out … … 193 208 194 209 signal-pthread_cond$(EXEEXT): 195 @@BACKEND_CC@ schedint/pthreads.c -DBENCH_N=500000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}210 @@BACKEND_CC@ $(srcdir)/schedint/pthreads.c -DBENCH_N=500000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 196 211 197 212 signal-upp$(EXEEXT): 198 @u++ schedint/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}213 @u++ $(srcdir)/schedint/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 199 214 200 215 signal-cfa1$(EXEEXT): 201 @${CC} schedint/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}216 @${CC} $(srcdir)/schedint/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 202 217 203 218 signal-cfa2$(EXEEXT): 204 @${CC} schedint/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}219 @${CC} $(srcdir)/schedint/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 205 220 206 221 signal-cfa4$(EXEEXT): 207 @${CC} schedint/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}222 @${CC} $(srcdir)/schedint/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 208 223 209 224 signal-java_thread$(EXEEXT): 210 @javac schedint/JavaThread.java225 @javac $(srcdir)/schedint/JavaThread.java 211 226 @echo "#!/bin/sh" > a.out 212 227 @echo "cd schedint && java JavaThread" >> a.out … … 222 237 223 238 waitfor-upp$(EXEEXT): 224 @u++ schedext/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}239 @u++ $(srcdir)/schedext/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 225 240 226 241 waitfor-cfa1$(EXEEXT): 227 @${CC} schedext/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}242 @${CC} $(srcdir)/schedext/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 228 243 229 244 waitfor-cfa2$(EXEEXT): 230 @${CC} schedext/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}245 @${CC} $(srcdir)/schedext/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 231 246 232 247 waitfor-cfa4$(EXEEXT): 233 @${CC} schedext/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}248 @${CC} $(srcdir)/schedext/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 234 249 235 250 ## ========================================================================================================= … … 245 260 246 261 creation-cfa_coroutine$(EXEEXT): 247 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}262 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 248 263 249 264 creation-cfa_coroutine_eager$(EXEEXT): 250 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER265 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER 251 266 252 267 creation-cfa_thread$(EXEEXT): 253 @${CC} creation/cfa_thrd.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}268 @${CC} $(srcdir)/creation/cfa_thrd.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 254 269 255 270 creation-upp_coroutine$(EXEEXT): 256 @u++ creation/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}271 @u++ $(srcdir)/creation/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 257 272 258 273 creation-upp_thread$(EXEEXT): 259 @u++ creation/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}274 @u++ $(srcdir)/creation/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 260 275 261 276 creation-pthread$(EXEEXT): 262 @@BACKEND_CC@ creation/pthreads.c -DBENCH_N=250000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}277 @@BACKEND_CC@ $(srcdir)/creation/pthreads.c -DBENCH_N=250000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 263 278 264 279 creation-goroutine$(EXEEXT): 265 @go build -o a.out creation/goroutine.go280 @go build -o a.out $(srcdir)/creation/goroutine.go 266 281 267 282 creation-java_thread$(EXEEXT): 268 @javac creation/JavaThread.java283 @javac $(srcdir)/creation/JavaThread.java 269 284 @echo "#!/bin/sh" > a.out 270 285 @echo "cd creation && java JavaThread" >> a.out … … 284 299 285 300 301 testdir = $(top_srcdir)/src/tests 302 286 303 compile-array$(EXEEXT): 287 @${CC} -quiet -fsyntax-only -w ../tests/array.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}304 @${CC} -quiet -fsyntax-only -w $(testdir)/array.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 288 305 289 306 compile-attributes$(EXEEXT): 290 @${CC} -quiet -fsyntax-only -w ../tests/attributes.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}307 @${CC} -quiet -fsyntax-only -w $(testdir)/attributes.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 291 308 292 309 compile-empty$(EXEEXT): 293 @${CC} -quiet -fsyntax-only -w compile/empty.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}310 @${CC} -quiet -fsyntax-only -w $(srcdir)/compile/empty.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 294 311 295 312 compile-expression$(EXEEXT): 296 @${CC} -quiet -fsyntax-only -w ../tests/expression.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}313 @${CC} -quiet -fsyntax-only -w $(testdir)/expression.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 297 314 298 315 compile-io$(EXEEXT): 299 @${CC} -quiet -fsyntax-only -w ../tests/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}316 @${CC} -quiet -fsyntax-only -w $(testdir)/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 300 317 301 318 compile-monitor$(EXEEXT): 302 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}319 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 303 320 304 321 compile-operators$(EXEEXT): 305 @${CC} -quiet -fsyntax-only -w ../tests/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}322 @${CC} -quiet -fsyntax-only -w $(testdir)/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 306 323 307 324 compile-thread$(EXEEXT): 308 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/thread.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}325 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/thread.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 309 326 310 327 compile-typeof$(EXEEXT): 311 @${CC} -quiet -fsyntax-only -w ../tests/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}312 328 @${CC} -quiet -fsyntax-only -w $(testdir)/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 329 -
src/benchmark/Makefile.in
r6fb1921 rd3db83c 247 247 top_builddir = @top_builddir@ 248 248 top_srcdir = @top_srcdir@ 249 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 249 AM_CFLAGS = \ 250 -XCFA \ 251 -t \ 252 -B${abs_top_builddir}/src/driver \ 253 -g \ 254 -O2 \ 255 -Wall \ 256 -Wno-unused-function \ 257 -quiet \ 258 -I$(srcdir) \ 259 -L${abs_top_builddir}/src/libcfa \ 260 -I${abs_top_srcdir}/src/libcfa \ 261 -I${abs_top_srcdir}/src/libcfa/containers \ 262 -I${abs_top_srcdir}/src/libcfa/concurrency \ 263 -I${abs_top_srcdir}/src/libcfa/stdhdr 264 250 265 TOOLSDIR = ${abs_top_srcdir}/tools/ 251 266 REPEAT = ${TOOLSDIR}repeat … … 255 270 TIME_FORMAT = "%E" 256 271 PRINT_FORMAT = %20s: #Comments needed for spacing 272 testdir = $(top_srcdir)/src/tests 257 273 all: all-am 258 274 … … 505 521 506 522 loop$(EXEEXT): 507 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}523 @@BACKEND_CC@ loop.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 508 524 509 525 function$(EXEEXT): 510 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}526 @@BACKEND_CC@ function.c -DBENCH_N=5000000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 511 527 512 528 fetch_add$(EXEEXT): 513 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I .-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}529 @@BACKEND_CC@ fetch_add.c -DBENCH_N=500000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 514 530 515 531 ctxswitch$(EXEEXT): \ … … 529 545 530 546 ctxswitch-pthread$(EXEEXT): 531 @@BACKEND_CC@ ctxswitch/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}547 @@BACKEND_CC@ $(srcdir)/ctxswitch/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 532 548 533 549 ctxswitch-cfa_coroutine$(EXEEXT): 534 @${CC} ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}550 @${CC} $(srcdir)/ctxswitch/cfa_cor.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 535 551 536 552 ctxswitch-cfa_thread$(EXEEXT): 537 @${CC} ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}553 @${CC} $(srcdir)/ctxswitch/cfa_thrd.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 538 554 539 555 ctxswitch-cfa_thread2$(EXEEXT): 540 @${CC} ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}556 @${CC} $(srcdir)/ctxswitch/cfa_thrd2.c -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 541 557 542 558 ctxswitch-upp_coroutine$(EXEEXT): 543 @u++ ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}559 @u++ $(srcdir)/ctxswitch/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 544 560 545 561 ctxswitch-upp_thread$(EXEEXT): 546 @u++ ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}562 @u++ $(srcdir)/ctxswitch/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 547 563 548 564 ctxswitch-kos_fibre$(EXEEXT): 549 @${CXX} ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt565 @${CXX} $(srcdir)/ctxswitch/kos_fibre.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 550 566 551 567 ctxswitch-kos_fibre2$(EXEEXT): 552 @${CXX} ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I.-I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt568 @${CXX} $(srcdir)/ctxswitch/kos_fibre2.cpp -DBENCH_N=50000000 -I$(srcdir) -I/home/tdelisle/software/KOS/src/ -g -O2 -lfibre -lpthread -lrt 553 569 554 570 ctxswitch-goroutine$(EXEEXT): 555 @go build -o a.out ctxswitch/goroutine.go571 @go build -o a.out $(srcdir)/ctxswitch/goroutine.go 556 572 557 573 ctxswitch-java_thread$(EXEEXT): 558 @javac ctxswitch/JavaThread.java574 @javac $(srcdir)/ctxswitch/JavaThread.java 559 575 @echo "#!/bin/sh" > a.out 560 576 @echo "cd ctxswitch && java JavaThread" >> a.out … … 573 589 574 590 mutex-pthread_lock$(EXEEXT): 575 @@BACKEND_CC@ mutex/pthreads.c -DBENCH_N=50000000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}591 @@BACKEND_CC@ $(srcdir)/mutex/pthreads.c -DBENCH_N=50000000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 576 592 577 593 mutex-upp$(EXEEXT): 578 @u++ mutex/upp.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}594 @u++ $(srcdir)/mutex/upp.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 579 595 580 596 mutex-cfa1$(EXEEXT): 581 @${CC} mutex/cfa1.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}597 @${CC} $(srcdir)/mutex/cfa1.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 582 598 583 599 mutex-cfa2$(EXEEXT): 584 @${CC} mutex/cfa2.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}600 @${CC} $(srcdir)/mutex/cfa2.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 585 601 586 602 mutex-cfa4$(EXEEXT): 587 @${CC} mutex/cfa4.c -DBENCH_N=5000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}603 @${CC} $(srcdir)/mutex/cfa4.c -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 588 604 589 605 mutex-java_thread$(EXEEXT): 590 @javac mutex/JavaThread.java606 @javac $(srcdir)/mutex/JavaThread.java 591 607 @echo "#!/bin/sh" > a.out 592 608 @echo "cd mutex && java JavaThread" >> a.out … … 602 618 603 619 signal-pthread_cond$(EXEEXT): 604 @@BACKEND_CC@ schedint/pthreads.c -DBENCH_N=500000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}620 @@BACKEND_CC@ $(srcdir)/schedint/pthreads.c -DBENCH_N=500000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 605 621 606 622 signal-upp$(EXEEXT): 607 @u++ schedint/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}623 @u++ $(srcdir)/schedint/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 608 624 609 625 signal-cfa1$(EXEEXT): 610 @${CC} schedint/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}626 @${CC} $(srcdir)/schedint/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 611 627 612 628 signal-cfa2$(EXEEXT): 613 @${CC} schedint/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}629 @${CC} $(srcdir)/schedint/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 614 630 615 631 signal-cfa4$(EXEEXT): 616 @${CC} schedint/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}632 @${CC} $(srcdir)/schedint/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 617 633 618 634 signal-java_thread$(EXEEXT): 619 @javac schedint/JavaThread.java635 @javac $(srcdir)/schedint/JavaThread.java 620 636 @echo "#!/bin/sh" > a.out 621 637 @echo "cd schedint && java JavaThread" >> a.out … … 629 645 630 646 waitfor-upp$(EXEEXT): 631 @u++ schedext/upp.cc -DBENCH_N=5000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}647 @u++ $(srcdir)/schedext/upp.cc -DBENCH_N=5000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 632 648 633 649 waitfor-cfa1$(EXEEXT): 634 @${CC} schedext/cfa1.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}650 @${CC} $(srcdir)/schedext/cfa1.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 635 651 636 652 waitfor-cfa2$(EXEEXT): 637 @${CC} schedext/cfa2.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}653 @${CC} $(srcdir)/schedext/cfa2.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 638 654 639 655 waitfor-cfa4$(EXEEXT): 640 @${CC} schedext/cfa4.c -DBENCH_N=500000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}656 @${CC} $(srcdir)/schedext/cfa4.c -DBENCH_N=500000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 641 657 642 658 creation$(EXEEXT) :\ … … 651 667 652 668 creation-cfa_coroutine$(EXEEXT): 653 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}669 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 654 670 655 671 creation-cfa_coroutine_eager$(EXEEXT): 656 @${CC} creation/cfa_cor.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER672 @${CC} $(srcdir)/creation/cfa_cor.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} -DEAGER 657 673 658 674 creation-cfa_thread$(EXEEXT): 659 @${CC} creation/cfa_thrd.c -DBENCH_N=10000000 -I.-nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}675 @${CC} $(srcdir)/creation/cfa_thrd.c -DBENCH_N=10000000 -I$(srcdir) -nodebug -lrt -quiet @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 660 676 661 677 creation-upp_coroutine$(EXEEXT): 662 @u++ creation/upp_cor.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}678 @u++ $(srcdir)/creation/upp_cor.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 663 679 664 680 creation-upp_thread$(EXEEXT): 665 @u++ creation/upp_thrd.cc -DBENCH_N=50000000 -I.-nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags}681 @u++ $(srcdir)/creation/upp_thrd.cc -DBENCH_N=50000000 -I$(srcdir) -nodebug -lrt -quiet ${AM_CFLAGS} ${CFLAGS} ${ccflags} 666 682 667 683 creation-pthread$(EXEEXT): 668 @@BACKEND_CC@ creation/pthreads.c -DBENCH_N=250000 -I.-lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags}684 @@BACKEND_CC@ $(srcdir)/creation/pthreads.c -DBENCH_N=250000 -I$(srcdir) -lrt -pthread ${AM_CFLAGS} ${CFLAGS} ${ccflags} 669 685 670 686 creation-goroutine$(EXEEXT): 671 @go build -o a.out creation/goroutine.go687 @go build -o a.out $(srcdir)/creation/goroutine.go 672 688 673 689 creation-java_thread$(EXEEXT): 674 @javac creation/JavaThread.java690 @javac $(srcdir)/creation/JavaThread.java 675 691 @echo "#!/bin/sh" > a.out 676 692 @echo "cd creation && java JavaThread" >> a.out … … 688 704 689 705 compile-array$(EXEEXT): 690 @${CC} -quiet -fsyntax-only -w ../tests/array.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}706 @${CC} -quiet -fsyntax-only -w $(testdir)/array.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 691 707 692 708 compile-attributes$(EXEEXT): 693 @${CC} -quiet -fsyntax-only -w ../tests/attributes.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}709 @${CC} -quiet -fsyntax-only -w $(testdir)/attributes.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 694 710 695 711 compile-empty$(EXEEXT): 696 @${CC} -quiet -fsyntax-only -w compile/empty.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}712 @${CC} -quiet -fsyntax-only -w $(srcdir)/compile/empty.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 697 713 698 714 compile-expression$(EXEEXT): 699 @${CC} -quiet -fsyntax-only -w ../tests/expression.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}715 @${CC} -quiet -fsyntax-only -w $(testdir)/expression.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 700 716 701 717 compile-io$(EXEEXT): 702 @${CC} -quiet -fsyntax-only -w ../tests/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}718 @${CC} -quiet -fsyntax-only -w $(testdir)/io1.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 703 719 704 720 compile-monitor$(EXEEXT): 705 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}721 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/monitor.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 706 722 707 723 compile-operators$(EXEEXT): 708 @${CC} -quiet -fsyntax-only -w ../tests/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}724 @${CC} -quiet -fsyntax-only -w $(testdir)/operators.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 709 725 710 726 compile-thread$(EXEEXT): 711 @${CC} -quiet -fsyntax-only -w ../tests/concurrent/thread.c@CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}727 @${CC} -quiet -fsyntax-only -w $(testdir)/concurrent/thread.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 712 728 713 729 compile-typeof$(EXEEXT): 714 @${CC} -quiet -fsyntax-only -w ../tests/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags}730 @${CC} -quiet -fsyntax-only -w $(testdir)/typeof.c @CFA_FLAGS@ ${AM_CFLAGS} ${CFLAGS} ${ccflags} 715 731 716 732 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset
for help on using the changeset viewer.