-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
118 lines (117 loc) · 4.18 KB
/
CMakePresets.json
File metadata and controls
118 lines (117 loc) · 4.18 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "native-windows-base",
"displayName": "Windows Base Configuration (Ninja Multi-Config)",
"description": "Base settings for native Windows builds using clang-cl and Ninja Multi-Config",
"hidden": true,
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/out/build/native",
"cacheVariables": {
"BUILD_SHARED_LIBS": "OFF",
"CMAKE_C_COMPILER": "clang-cl.exe",
"CMAKE_CXX_COMPILER": "clang-cl.exe",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/native/TPEInteractive",
"CMAKE_MAKE_PROGRAM": "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe"
}
},
{
"name": "native-windows-MKL",
"displayName": "Windows Native (MKL Backend)",
"description": "Builds natively for Windows using MKL",
"inherits": "native-windows-base",
"cacheVariables": {
"TPE_BLAS_LAPACK_BACKEND": "MKL",
"MKL_DIR": "C:/dev/install/intel-mkl-2024.0.0-windows-x64/intel-mkl/lib/cmake/mkl",
"MKL_ARCH": "intel64",
"MKL_LINK": "dynamic",
"MKL_THREADING": "intel_thread",
"MKL_INTERFACE": "ilp64",
"MKL_MPI": "intelmpi"
}
},
{
"name": "native-windows-OpenBLAS",
"displayName": "Windows Native (OpenBLAS Backend)",
"description": "Builds natively for Windows using OpenBLAS",
"inherits": "native-windows-base",
"cacheVariables": {
"TPE_BLAS_LAPACK_BACKEND": "OpenBLAS",
"OpenBLAS_DIR": "C:/dev/install/OpenBLAS-0.3.29_x64/lib/cmake/openblas"
}
}
],
"buildPresets": [
{
"name": "native-MKL-debug",
"displayName": "MKL Debug",
"configurePreset": "native-windows-MKL",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"configuration": "Debug",
"verbose": false
},
{
"name": "native-MKL-release",
"displayName": "MKL Release",
"configurePreset": "native-windows-MKL",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"configuration": "Release",
"verbose": false
},
{
"name": "native-OpenBLAS-debug",
"displayName": "OpenBLAS Debug",
"configurePreset": "native-windows-OpenBLAS",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"configuration": "Debug",
"verbose": false
},
{
"name": "native-OpenBLAS-release",
"displayName": "OpenBLAS Release",
"configurePreset": "native-windows-OpenBLAS",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"configuration": "Release",
"verbose": false
}
],
"testPresets": [],
"workflowPresets": [
{
"name": "windows-build-mkl-debug",
"steps": [ { "type": "configure", "name": "native-windows-MKL" }, { "type": "build", "name": "native-MKL-debug" } ]
},
{
"name": "windows-build-openblas-debug",
"steps": [ { "type": "configure", "name": "native-windows-OpenBLAS" }, { "type": "build", "name": "native-OpenBLAS-debug" } ]
}
]
}