2024-05-28 01:40:12 +02:00
|
|
|
{
|
2024-05-16 04:47:36 +02: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 15:19:05 +02: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 06:50:07 +02:00
|
|
|
"CMAKE_C_COMPILER": "cl",
|
2024-06-26 17:33:02 +02:00
|
|
|
"GGML_SYCL": "ON",
|
2024-06-20 15:19:05 +02:00
|
|
|
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
|
|
|
}
|
|
|
|
},
|
2024-05-16 04:47:36 +02:00
|
|
|
{ "name": "debug", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } },
|
2024-06-20 15:19:05 +02:00
|
|
|
{ "name": "release", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } },
|
2024-06-26 17:33:02 +02:00
|
|
|
{ "name": "reldbg", "hidden": true, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } },
|
|
|
|
{ "name": "static", "hidden": true, "cacheVariables": { "GGML_STATIC": "ON" } },
|
2024-08-22 06:50:10 +02:00
|
|
|
{ "name": "sycl_f16", "hidden": true, "cacheVariables": { "GGML_SYCL_F16": "ON" } },
|
2024-05-16 04:47:36 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
"name": "arm64-windows-msvc", "hidden": true,
|
2024-09-06 00:14:12 +02:00
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x64", "strategy": "external" },
|
2024-05-16 04:47:36 +02:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-msvc.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "arm64-windows-llvm", "hidden": true,
|
2024-09-06 00:14:12 +02:00
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x64", "strategy": "external" },
|
2024-05-16 04:47:36 +02:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2024-11-02 23:35:31 +01:00
|
|
|
{
|
|
|
|
"name": "arm64-apple-clang", "hidden": true,
|
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x64", "strategy": "external" },
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-apple-clang.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2024-05-16 04:47:36 +02:00
|
|
|
{ "name": "arm64-windows-llvm-debug" , "inherits": [ "base", "arm64-windows-llvm", "debug" ] },
|
2024-06-20 15:19:05 +02: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 04:47:36 +02:00
|
|
|
|
2024-11-02 23:35:31 +01:00
|
|
|
{ "name": "arm64-apple-clang-debug" , "inherits": [ "base", "arm64-apple-clang", "debug" ] },
|
|
|
|
{ "name": "arm64-apple-clang-release" , "inherits": [ "base", "arm64-apple-clang", "reldbg" ] },
|
|
|
|
{ "name": "arm64-apple-clang+static-release" , "inherits": [ "base", "arm64-apple-clang", "reldbg", "static" ] },
|
|
|
|
|
2024-05-16 04:47:36 +02:00
|
|
|
{ "name": "arm64-windows-msvc-debug" , "inherits": [ "base", "arm64-windows-msvc", "debug" ] },
|
2024-06-20 15:19:05 +02: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-28 01:40:12 +02:00
|
|
|
|
|
|
|
{ "name": "x64-windows-msvc-debug" , "inherits": [ "base", "debug" ] },
|
2024-06-20 15:19:05 +02: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" ] },
|
2024-08-22 06:50:10 +02:00
|
|
|
{ "name": "x64-windows-sycl-debug-f16", "inherits": [ "sycl-base", "debug", "sycl_f16" ] },
|
|
|
|
{ "name": "x64-windows-sycl-release", "inherits": [ "sycl-base", "release" ] },
|
|
|
|
{ "name": "x64-windows-sycl-release-f16", "inherits": [ "sycl-base", "release", "sycl_f16" ] }
|
2024-05-16 04:47:36 +02:00
|
|
|
]
|
|
|
|
}
|