1
+ .DEFAULT_GOAL := help
2
+
3
+ help : # # print this message
4
+ @echo " Example operations by makefile."
5
+ @echo " "
6
+ @echo " Usage: make SUB_COMMAND argument_name=argument_value"
7
+ @echo " "
8
+ @echo " Command list:"
9
+ @echo " "
10
+ @printf " \033[36m%-40s\033[0m %-50s %s\n" " [Sub command]" " [Description]" " [Example]"
11
+ @grep -E ' ^[/a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | perl -pe ' s%^([/a-zA-Z0-9_-]+):.*?(##)%$$1 $$2%' | awk -F " *?## *?" ' {printf "\033[36m%-40s\033[0m %-50s %s\n", $$1, $$2, $$3}'
12
+
13
+ run-build-centos7-cpu-x64-desktop : # # run build container for centos7 cpu x64 on desktop
14
+ @pwsh RunBuildContainer.ps1 cpu 64 desktop centos 7 " /x64"
15
+
16
+ run-build-centos7-mkl-x64-desktop : # # run build container for centos7 mkl x64 on desktop
17
+ @pwsh RunBuildContainer.ps1 mkl 64 desktop centos 7 " /x64"
18
+
19
+ run-build-ubuntu16-cpu-x64-desktop : # # run build container for ubuntu16 cpu x64 on desktop
20
+ @pwsh RunBuildContainer.ps1 cpu 64 desktop ubuntu 16 " /x64"
21
+
22
+ run-build-ubuntu16-mkl-x64-desktop : # # run build container for ubuntu16 mkl x64 on desktop
23
+ @pwsh RunBuildContainer.ps1 mkl 64 desktop ubuntu 16 " /x64"
24
+
25
+ run-test-centos7-cpu-x64-desktop : # # run build container for centos7 cpu x64 on desktop
26
+ @pwsh RunTestContainer.ps1 cpu 64 desktop centos 7 " /x64"
27
+
28
+ run-test-centos7-mkl-x64-desktop : # # run build container for centos7 mkl x64 on desktop
29
+ @pwsh RunTestContainer.ps1 mkl 64 desktop centos 7 " /x64"
30
+
31
+ run-test-centos7-cu92-x64-desktop : # # run build container for centos7 cuda-92 x64 on desktop
32
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 92"
33
+
34
+ run-test-centos7-cu100-x64-desktop : # # run build container for centos7 cuda-100 x64 on desktop
35
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 100"
36
+
37
+ run-test-centos7-cu101-x64-desktop : # # run build container for centos7 cuda-101 x64 on desktop
38
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 101"
39
+
40
+ run-test-centos7-cu102-x64-desktop : # # run build container for centos7 cuda-102 x64 on desktop
41
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 102"
42
+
43
+ run-test-centos7-cu110-x64-desktop : # # run build container for centos7 cuda-110 x64 on desktop
44
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 110"
45
+
46
+ run-test-centos7-cu111-x64-desktop : # # run build container for centos7 cuda-111 x64 on desktop
47
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 111"
48
+
49
+ run-test-centos7-cu112-x64-desktop : # # run build container for centos7 cuda-112 x64 on desktop
50
+ @pwsh RunTestContainer.ps1 cuda 64 desktop centos 7 " 112"
51
+
52
+ run-test-centos7-cpu-x64-desktop : # # run build container for centos7 cpu x64 on desktop
53
+ @pwsh RunTestContainer.ps1 cpu 64 desktop ubuntu 16 " /x64"
54
+
55
+ run-test-ubuntu16-mkl-x64-desktop : # # run build container for ubuntu16 mkl x64 on desktop
56
+ @pwsh RunTestContainer.ps1 mkl 64 desktop ubuntu 16 " /x64"
57
+
58
+ run-test-ubuntu16-cu92-x64-desktop : # # run build container for ubuntu16 cuda-92 x64 on desktop
59
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 92"
60
+
61
+ run-test-ubuntu16-cu100-x64-desktop : # # run build container for ubuntu16 cuda-100 x64 on desktop
62
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 100"
63
+
64
+ run-test-ubuntu16-cu101-x64-desktop : # # run build container for ubuntu16 cuda-101 x64 on desktop
65
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 101"
66
+
67
+ run-test-ubuntu16-cu102-x64-desktop : # # run build container for ubuntu16 cuda-102 x64 on desktop
68
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 102"
69
+
70
+ run-test-ubuntu16-cu110-x64-desktop : # # run build container for ubuntu16 cuda-110 x64 on desktop
71
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 110"
72
+
73
+ run-test-ubuntu16-cu111-x64-desktop : # # run build container for ubuntu16 cuda-111 x64 on desktop
74
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 111"
75
+
76
+ run-test-ubuntu16-cu112-x64-desktop : # # run build container for ubuntu16 cuda-112 x64 on desktop
77
+ @pwsh RunTestContainer.ps1 cuda 64 desktop ubuntu 16 " 112"
0 commit comments