-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
62 lines (49 loc) · 2.16 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
DN=dotnet
BUILD=Release
all: docs build tests examples benches
examples: examples-cs examples-dmp examples-seq
ProcessedREADME.md: README.md
python3 patch_readme.py
benches:
$(DN) build -c Release benchmarks/HeatTransfer
examples-cs:
$(DN) build -c $(BUILD) examples/CSParallel/ConjugateGradient
$(DN) build -c $(BUILD) examples/CSParallel/HeatTransfer
$(DN) build -c $(BUILD) examples/CSParallel/GEMM
$(DN) build -c $(BUILD) examples/CSParallel/KNN
examples-dmp:
$(DN) build -c $(BUILD) examples/DotMP/ConjugateGradient
$(DN) build -c $(BUILD) examples/DotMP/HeatTransfer
$(DN) build -c $(BUILD) examples/DotMP/GEMM
$(DN) build -c $(BUILD) examples/DotMP/KNN
examples-seq:
$(DN) build -c $(BUILD) examples/Serial/ConjugateGradient
$(DN) build -c $(BUILD) examples/Serial/HeatTransfer
$(DN) build -c $(BUILD) examples/Serial/GEMM
$(DN) build -c $(BUILD) examples/Serial/KNN
tests:
$(DN) build -c Debug DotMP-Tests
test:
$(DN) test -c Debug -l "console;verbosity=detailed" -p:CollectCoverage=true -p:CoverletOutputFormat=opencover DotMP-Tests
build:
$(DN) build -c $(BUILD) -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg DotMP
docs: ProcessedREADME.md
doxygen
pack: ProcessedREADME.md
$(DN) pack -c $(BUILD) /p:ContinuousIntegrationBuild=true DotMP
clean:
rm -f ProcessedREADME.md
rm -rf docs
rm -rf DotMP/bin DotMP/obj
rm -rf DotMP-Tests/bin DotMP-Tests/obj
rm -rf DotMP-Tests/*.opencover.xml
rm -rf examples/CSParallel/ConjugateGradient/bin examples/CSParallel/ConjugateGradient/obj
rm -rf examples/CSParallel/HeatTransfer/bin examples/CSParallel/HeatTransfer/obj
rm -rf examples/CSParallel/GEMM/bin examples/CSParallel/GEMM/obj
rm -rf examples/DotMP/ConjugateGradient/bin examples/DotMP/ConjugateGradient/obj
rm -rf examples/DotMP/HeatTransfer/bin examples/DotMP/HeatTransfer/obj
rm -rf examples/DotMP/GEMM/bin examples/DotMP/GEMM/obj
rm -rf examples/Serial/ConjugateGradient/bin examples/Serial/ConjugateGradient/obj
rm -rf examples/Serial/HeatTransfer/bin examples/Serial/HeatTransfer/obj
rm -rf examples/Serial/GEMM/bin examples/Serial/GEMM/obj
rm -rf benchmarks/HeatTransfer/bin benchmarks/HeatTransfer/obj benchmarks/HeatTransfer/BenchmarkDotNet.Artifacts