-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCMakePresets.json
More file actions
25 lines (22 loc) · 986 Bytes
/
Copy pathCMakePresets.json
File metadata and controls
25 lines (22 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"version": 4,
"configurePresets": [
{
"name": "linux-base",
"hidden": true,
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build-${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/..",
"CMAKE_BUILD_PARALLEL_LEVEL": "14",
"GGML_CCACHE": "ON"
}
},
{ "name": "debug", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } },
{ "name": "release", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } },
{ "name": "cuda", "hidden": true, "cacheVariables": { "GGML_CUDA": "ON","CMAKE_CUDA_COMPILER": "/usr/local/cuda-12.2/bin/nvcc" } },
{ "name": "CPU-debug", "inherits": [ "linux-base","debug"] },
{ "name": "GPU-debug", "inherits": [ "linux-base","debug","cuda"] }
]
}