-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
30 lines (24 loc) · 1.27 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
SRC = $(shell find . -name *.chpl)
OUT = bin/main.exe
CHPLFLAGS = --fast --devel
EXTRAFLAGS =
# CHPLFLAGS can be used to add additional compiler flags to Chapel
CollectionAdd-Benchmark:
chpl testing/Benchmark.chpl collections/DistributedDeque.chpl \
collections/Collection.chpl testing/collections/AddBenchmark.chpl testing/Plot.chpl collections/SynchronizedList.chpl \
$(CHPLFLAGS) $(EXTRAFLAGS) --main-module AddBenchmark -o $(OUT)
CollectionRemove-Benchmark:
chpl testing/Benchmark.chpl collections/DistributedDeque.chpl \
collections/DistributedBag.chpl \
collections/Collection.chpl testing/collections/RemoveBenchmark.chpl testing/Plot.chpl collections/SynchronizedList.chpl \
$(CHPLFLAGS) $(EXTRAFLAGS) --main-module RemoveBenchmark -o $(OUT)
DistributedDeque-UnitTest:
chpl collections/DistributedDeque.chpl testing/unit/CollectionsTest.chpl \
collections/Collection.chpl benchmark/NQueens.chpl \
$(CHPLFLAGS) --no-loop-invariant-code-motion --main-module DistributedDeque -o $(OUT)
DistributedBag-UnitTest:
chpl collections/DistributedBag.chpl testing/unit/CollectionsTest.chpl \
collections/Collection.chpl benchmark/NQueens.chpl \
$(CHPLFLAGS) --no-loop-invariant-code-motion --main-module DistributedBag -o $(OUT)
clean:
rm $(OUT) $(OUT)_real