-
Notifications
You must be signed in to change notification settings - Fork 30
/
Makefile
32 lines (21 loc) · 1.8 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DEFAULT_BENCHMARKS = integerSort/parallelRadixSort comparisonSort/sampleSort comparisonSort/serialSort removeDuplicates/serial_hash removeDuplicates/parlayhash histogram/parallel histogram/sequential wordCounts/histogram wordCounts/serial invertedIndex/sequential invertedIndex/parallel suffixArray/parallelRange suffixArray/serialDivsufsort longestRepeatedSubstring/doubling classify/decisionTree minSpanningForest/parallelFilterKruskal minSpanningForest/serialMST spanningForest/ndST spanningForest/serialST breadthFirstSearch/backForwardBFS breadthFirstSearch/serialBFS maximalMatching/serialMatching maximalMatching/incrementalMatching maximalIndependentSet/ndMIS maximalIndependentSet/serialMIS nearestNeighbors/octTree rayCast/kdTree convexHull/quickHull convexHull/serialHull delaunayTriangulation/incrementalDelaunay delaunayRefine/incrementalRefine rangeQuery2d/parallelPlaneSweep rangeQuery2d/serial nBody/parallelCK
EXT_BENCHMARKS = comparisonSort/quickSort comparisonSort/mergeSort comparisonSort/stableSampleSort comparisonSort/ips4o removeDuplicates/serial_sort suffixArray/parallelKS spanningForest/incrementalST breadthFirstSearch/simpleBFS breadthFirstSearch/deterministicBFS maximalIndependentSet/incrementalMIS
ALL_BENCHMARKS = $(DEFAULT_BENCHMARKS) $(EXT_BENCHMARKS)
DATA_GENERATORS = sequenceData graphData geometryData
all : $(DEFAULT_BENCHMARKS) $(DATA_GENERATORS)
ext : $(ALL_BENCHMARKS) $(DATA_GENERATORS)
$(DEFAULT_BENCHMARKS) : FORCE
cd benchmarks/$@; make -s
$(EXT_BENCHMARKS) : FORCE
cd benchmarks/$@; make -s
$(DATA_GENERATORS) : FORCE
cd testData/$@; make -j -s
FORCE :
clean : FORCE
for bench in $(ALL_BENCHMARKS); do \
make clean -s -C benchmarks/$$bench ; \
done
for data in $(DATA_GENERATORS); do \
make clean -s -C testData/$$data ; \
make clean -s -C testData/$$data/data ; \
done