-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeUserPresets.json
More file actions
101 lines (101 loc) · 3.33 KB
/
CMakeUserPresets.json
File metadata and controls
101 lines (101 loc) · 3.33 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
{
"version": 6,
"include": ["CMakePresets.json"],
"configurePresets": [
{
"name": "vscode-windows-release",
"displayName": "VS Code: Windows Release (Default)",
"description": "Default VS Code preset - MSVC + Ninja Release with tests and vcpkg",
"hidden": false,
"inherits": "msvc-ninja-release",
"cacheVariables": {
"THEMIS_BUILD_TESTS": "ON",
"THEMIS_ENABLE_LLM": "ON",
"THEMIS_ENABLE_GPU": "OFF"
}
},
{
"name": "vscode-windows-debug",
"displayName": "VS Code: Windows Debug",
"description": "VS Code preset for debug builds with vcpkg",
"hidden": false,
"inherits": "msvc-ninja-debug",
"cacheVariables": {
"THEMIS_BUILD_TESTS": "ON",
"THEMIS_ENABLE_LLM": "ON",
"THEMIS_ENABLE_GPU": "OFF"
}
},
{
"name": "hyperscaler-full-build",
"displayName": "Hyperscaler Edition: Full Build with all Tests & Benchmarks",
"description": "Complete Hyperscaler build with all enterprise modules, tests, benchmarks, and every feature enabled",
"hidden": false,
"inherits": "windows-base",
"binaryDir": "${sourceDir}/build-hyperscaler-full",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_PREFIX_PATH": "${sourceDir}/vcpkg_installed/x64-windows",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed",
"ZLIB_ROOT": "${sourceDir}/vcpkg_installed/x64-windows",
"OPENSSL_ROOT_DIR": "${sourceDir}/vcpkg_installed/x64-windows",
"THEMISDB_CERT_PATH": "${sourceDir}/certs/test/test-plugin-signer.crt",
"THEMISDB_KEY_PATH": "${sourceDir}/certs/test/test-plugin-signer.key",
"THEMISDB_CA_CERT_PATH": "${sourceDir}/certs/test/test-ca.crt",
"THEMIS_LICENSE_FILE": "${sourceDir}/certs/hyperscaler/license_test.json",
"THEMIS_EDITION": "HYPERSCALER",
"THEMIS_BUILD_TESTS": "ON",
"THEMIS_BUILD_BENCHMARKS": "ON",
"THEMIS_BUILD_MODULAR": "ON",
"THEMIS_ENABLE_LLM": "ON",
"THEMIS_ENABLE_GPU": "ON",
"THEMIS_ENABLE_HTTP_SERVER": "ON",
"THEMIS_ENABLE_GRPC": "ON",
"THEMIS_ENABLE_TRACING": "ON",
"THEMIS_ENABLE_DISTRIBUTED_TRAINING": "ON",
"THEMIS_ENABLE_CYCLE_METRICS": "ON",
"THEMIS_BUILD_ENTERPRISE_PLUGINS": "ON"
}
}
],
"buildPresets": [
{
"name": "vscode-windows-release",
"configurePreset": "vscode-windows-release",
"targets": ["themis_tests"],
"jobs": 4
},
{
"name": "vscode-windows-debug",
"configurePreset": "vscode-windows-debug",
"targets": ["themis_tests"],
"jobs": 2
},
{
"name": "hyperscaler-full-build",
"configurePreset": "hyperscaler-full-build",
"targets": [],
"jobs": 8
}
],
"testPresets": [
{
"name": "vscode-lora-tests",
"displayName": "VS Code: LoRA Tests",
"configurePreset": "vscode-windows-release",
"output": {
"outputOnFailure": true
}
},
{
"name": "vscode-gpu-tests",
"displayName": "VS Code: GPU Tests",
"configurePreset": "vscode-windows-release",
"output": {
"outputOnFailure": true
}
}
]
}