2024-05-27 23:40:12 +00:00
|
|
|
{
|
2024-05-16 02:47:36 +00:00
|
|
|
"version": 4,
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
|
|
|
"name": "base",
|
|
|
|
"hidden": true,
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build-${presetName}",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
|
|
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
|
|
|
}
|
|
|
|
},
|
2024-06-20 13:19:05 +00:00
|
|
|
{
|
|
|
|
"name": "sycl-base",
|
|
|
|
"hidden": true,
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build-${presetName}",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
|
|
"CMAKE_CXX_COMPILER": "icx",
|
2024-07-02 04:50:07 +00:00
|
|
|
"CMAKE_C_COMPILER": "cl",
|
2024-06-26 15:33:02 +00:00
|
|
|
"GGML_SYCL": "ON",
|
2024-06-20 13:19:05 +00:00
|
|
|
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
|
|
|
}
|
|
|
|
},
|
2024-05-16 02:47:36 +00:00
|
|
|
{ "name": "debug", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } },
|
2024-06-20 13:19:05 +00:00
|
|
|
{ "name": "release", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } },
|
2024-06-26 15:33:02 +00:00
|
|
|
{ "name": "reldbg", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } },
|
|
|
|
{ "name": "static", "hidden": true, "cacheVariables": { "GGML_STATIC": "ON" } },
|
2024-05-16 02:47:36 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
"name": "arm64-windows-msvc", "hidden": true,
|
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x86_64", "strategy": "external" },
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-msvc.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "arm64-windows-llvm", "hidden": true,
|
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x86_64", "strategy": "external" },
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{ "name": "arm64-windows-llvm-debug" , "inherits": [ "base", "arm64-windows-llvm", "debug" ] },
|
2024-06-20 13:19:05 +00:00
|
|
|
{ "name": "arm64-windows-llvm-release", "inherits": [ "base", "arm64-windows-llvm", "reldbg" ] },
|
|
|
|
{ "name": "arm64-windows-llvm+static-release", "inherits": [ "base", "arm64-windows-llvm", "reldbg", "static" ] },
|
2024-05-16 02:47:36 +00:00
|
|
|
|
|
|
|
{ "name": "arm64-windows-msvc-debug" , "inherits": [ "base", "arm64-windows-msvc", "debug" ] },
|
2024-06-20 13:19:05 +00:00
|
|
|
{ "name": "arm64-windows-msvc-release", "inherits": [ "base", "arm64-windows-msvc", "reldbg" ] },
|
|
|
|
{ "name": "arm64-windows-msvc+static-release", "inherits": [ "base", "arm64-windows-msvc", "reldbg", "static" ] },
|
2024-05-27 23:40:12 +00:00
|
|
|
|
|
|
|
{ "name": "x64-windows-msvc-debug" , "inherits": [ "base", "debug" ] },
|
2024-06-20 13:19:05 +00:00
|
|
|
{ "name": "x64-windows-msvc-release", "inherits": [ "base", "reldbg" ] },
|
|
|
|
{ "name": "x64-windows-msvc+static-release", "inherits": [ "base", "reldbg", "static" ] },
|
|
|
|
|
|
|
|
{ "name": "x64-windows-sycl-debug" , "inherits": [ "sycl-base", "debug" ] },
|
|
|
|
{ "name": "x64-windows-sycl-release", "inherits": [ "sycl-base", "release" ] }
|
2024-05-16 02:47:36 +00:00
|
|
|
]
|
|
|
|
}
|