5 BUILDSCRIPT=../../../buildscript
7 COREPROFOVERFLOW= -coreprof-checkoverflow
8 USECOREPROF= -coreprof $(COREPROFOVERFLOW) \
9 -coreprof-eventwords 1024*1024*128 \
10 -coreprof-enable cpe_main \
11 -coreprof-enable cpe_runmalloc \
12 -coreprof-enable cpe_runfree \
13 -coreprof-enable cpe_count_poolalloc \
14 -coreprof-enable cpe_count_poolreuse \
15 -coreprof-enable cpe_workschedgrab \
16 -coreprof-enable cpe_taskdispatch \
17 -coreprof-enable cpe_taskexecute \
18 -coreprof-enable cpe_taskretire
19 # -coreprof-enable cpe_taskstallvar \
20 # -coreprof-enable cpe_taskstallmem
23 DISJOINT= -disjoint -disjoint-k 1 -enable-assertions #-disjoint-desire-determinism
25 USEOOO= $(DISJOINT) -ooojava 24 2 -ooodebug $(USECOREPROF)
27 BSFLAGS= -64bit -mainclass $(PROGRAM) -heapsize-mb 1024 -garbagestats -noloop -nooptimize -debug #-ooodebug-disable-task-mem-pool
33 $(BUILDSCRIPT) -nojava $(USEOOO) $(BSFLAGS) -o $(PROGRAM)p $(SOURCE_FILES) -builddir par
36 $(BUILDSCRIPT) $(BSFLAGS) -thread -o $(PROGRAM)s -builddir sing $(SOURCE_FILES)
39 $(BUILDSCRIPT) $(USEOOO) $(BSFLAGS) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
42 rm -f $(PROGRAM)p.bin $(PROGRAM)s.bin