Changes in benchmark/Makefile.am [5e49e47:0c1b566]
- File:
-
- 1 edited
-
benchmark/Makefile.am (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
benchmark/Makefile.am
r5e49e47 r0c1b566 11 11 ## Created On : Sun May 31 09:08:15 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Tue Nov 6 09:01:23 201814 ## Update Count : 2 613 ## Last Modified On : Mon Jan 25 22:31:42 2016 14 ## Update Count : 25 15 15 ############################################################################### 16 16 … … 20 20 include $(top_srcdir)/src/cfa.make 21 21 22 UPPCC = u++23 22 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS) 24 23 … … 27 26 AM_UPPFLAGS = -quiet -nodebug -multi 28 27 29 TOOLSDIR = ${abs_top_ builddir}/tools/30 REPEAT = ${ abs_top_builddir}/tools/repeat31 STATS = ${ abs_top_srcdir}/tools/stat.py28 TOOLSDIR = ${abs_top_srcdir}/tools/ 29 REPEAT = ${TOOLSDIR}repeat 30 STATS = ${TOOLSDIR}stat.py 32 31 repeats = 30 33 32 skipcompile = no … … 35 34 PRINT_FORMAT = %20s: #Comments needed for spacing 36 35 37 EXTRA_PROGRAMS = dummy # build but do not install 38 39 dummy_SOURCES = dummyC.c dummyCXX.cpp 40 41 dummyC.c: 42 @echo "int main() { return 0; }" > ${@} 43 44 dummyCXX.cpp: 45 @echo "int main() { return 0; }" > ${@} 36 LIBFIBRE_DIR ?= /home/tdelisle/software/KOS/src/ 46 37 47 38 .NOTPARALLEL: … … 70 61 71 62 ${REPEAT} : 72 @+make -C ${ abs_top_builddir}/toolsrepeat63 @+make -C ${TOOLSDIR} repeat 73 64 74 65 ## ========================================================================================================= … … 111 102 ## ========================================================================================================= 112 103 loop$(EXEEXT): 113 $(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c104 $(COMPILE) -DBENCH_N=5000000000 loop.c 114 105 115 106 function$(EXEEXT): 116 $(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c107 $(COMPILE) -DBENCH_N=5000000000 function.c 117 108 118 109 fetch_add$(EXEEXT): 119 $(COMPILE) -DBENCH_N=500000000 $(srcdir)/fetch_add.c120 121 ## ========================================================================================================= 122 CTXSWITCH_DEPEND =\110 $(COMPILE) -DBENCH_N=500000000 fetch_add.c 111 112 ## ========================================================================================================= 113 ctxswitch$(EXEEXT): \ 123 114 loop.run \ 124 115 function.run \ … … 130 121 ctxswitch-upp_coroutine.run \ 131 122 ctxswitch-upp_thread.run \ 123 -ctxswitch-kos_fibre.run \ 124 -ctxswitch-kos_fibre2.run \ 132 125 ctxswitch-goroutine.run \ 133 126 ctxswitch-java_thread.run 134 127 135 if WITH_LIBFIBRE 136 CTXSWITCH_DEPEND += \ 137 ctxswitch-kos_fibre.run \ 138 ctxswitch-kos_fibre2.run 139 128 ctxswitch-pthread$(EXEEXT): 129 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c 130 131 ctxswitch-cfa_coroutine$(EXEEXT): 132 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c 133 134 ctxswitch-cfa_thread$(EXEEXT): 135 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c 136 137 ctxswitch-cfa_thread2$(EXEEXT): 138 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c 139 140 ctxswitch-upp_coroutine$(EXEEXT): 141 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc 142 143 ctxswitch-upp_thread$(EXEEXT): 144 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc 140 145 141 146 ctxswitch-kos_fibre$(EXEEXT): … … 144 149 ctxswitch-kos_fibre2$(EXEEXT): 145 150 @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre 146 endif147 148 ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)149 150 ctxswitch-pthread$(EXEEXT):151 @$(COMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c152 153 ctxswitch-cfa_coroutine$(EXEEXT):154 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa155 156 ctxswitch-cfa_thread$(EXEEXT):157 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa158 159 ctxswitch-cfa_thread2$(EXEEXT):160 @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa161 162 ctxswitch-upp_coroutine$(EXEEXT):163 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc164 165 ctxswitch-upp_thread$(EXEEXT):166 @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc167 151 168 152 ctxswitch-goroutine$(EXEEXT): … … 170 154 171 155 ctxswitch-java_thread$(EXEEXT): 172 @javac -d .$(srcdir)/ctxswitch/JavaThread.java156 @javac $(srcdir)/ctxswitch/JavaThread.java 173 157 @echo "#!/bin/sh" > a.out 174 @echo " java JavaThread" >> a.out158 @echo "cd ctxswitch && java JavaThread" >> a.out 175 159 @chmod a+x a.out 176 160 … … 194 178 195 179 mutex-cfa1$(EXEEXT): 196 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.c fa180 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa1.c 197 181 198 182 mutex-cfa2$(EXEEXT): 199 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.c fa183 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa2.c 200 184 201 185 mutex-cfa4$(EXEEXT): 202 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.c fa186 @$(CFACOMPILE) -DBENCH_N=5000000 $(srcdir)/mutex/cfa4.c 203 187 204 188 mutex-java_thread$(EXEEXT): 205 @javac -d .$(srcdir)/mutex/JavaThread.java189 @javac $(srcdir)/mutex/JavaThread.java 206 190 @echo "#!/bin/sh" > a.out 207 @echo " java JavaThread" >> a.out191 @echo "cd mutex && java JavaThread" >> a.out 208 192 @chmod a+x a.out 209 193 … … 224 208 225 209 signal-cfa1$(EXEEXT): 226 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.c fa210 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa1.c 227 211 228 212 signal-cfa2$(EXEEXT): 229 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.c fa213 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa2.c 230 214 231 215 signal-cfa4$(EXEEXT): 232 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.c fa216 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedint/cfa4.c 233 217 234 218 signal-java_thread$(EXEEXT): 235 @javac -d .$(srcdir)/schedint/JavaThread.java219 @javac $(srcdir)/schedint/JavaThread.java 236 220 @echo "#!/bin/sh" > a.out 237 @echo " java JavaThread" >> a.out221 @echo "cd schedint && java JavaThread" >> a.out 238 222 @chmod a+x a.out 239 223 … … 250 234 251 235 waitfor-cfa1$(EXEEXT): 252 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.c fa236 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa1.c 253 237 254 238 waitfor-cfa2$(EXEEXT): 255 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.c fa239 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa2.c 256 240 257 241 waitfor-cfa4$(EXEEXT): 258 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.c fa242 @$(CFACOMPILE) -DBENCH_N=500000 $(srcdir)/schedext/cfa4.c 259 243 260 244 ## ========================================================================================================= … … 270 254 271 255 creation-cfa_coroutine$(EXEEXT): 272 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c fa256 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c 273 257 274 258 creation-cfa_coroutine_eager$(EXEEXT): 275 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c fa -DEAGER259 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c 276 260 277 261 creation-cfa_thread$(EXEEXT): 278 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c fa262 @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c 279 263 280 264 creation-upp_coroutine$(EXEEXT): … … 291 275 292 276 creation-java_thread$(EXEEXT): 293 @javac -d .$(srcdir)/creation/JavaThread.java277 @javac $(srcdir)/creation/JavaThread.java 294 278 @echo "#!/bin/sh" > a.out 295 @echo " java JavaThread" >> a.out279 @echo "cd creation && java JavaThread" >> a.out 296 280 @chmod a+x a.out 297 281 … … 312 296 313 297 compile-array$(EXEEXT): 314 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c fa298 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c 315 299 316 300 compile-attributes$(EXEEXT): 317 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c fa301 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c 318 302 319 303 compile-empty$(EXEEXT): 320 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c fa304 @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c 321 305 322 306 compile-expression$(EXEEXT): 323 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c fa307 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c 324 308 325 309 compile-io$(EXEEXT): 326 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c fa310 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c 327 311 328 312 compile-monitor$(EXEEXT): 329 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c fa313 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c 330 314 331 315 compile-operators$(EXEEXT): 332 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c fa316 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c 333 317 334 318 compile-thread$(EXEEXT): 335 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c fa319 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c 336 320 337 321 compile-typeof$(EXEEXT): 338 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c fa339 322 @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c 323
Note:
See TracChangeset
for help on using the changeset viewer.