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-08-22 04:50:10 +00:00
|
|
|
{ "name": "sycl_f16", "hidden": true, "cacheVariables": { "GGML_SYCL_F16": "ON" } },
|
2024-05-16 02:47:36 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
"name": "arm64-windows-msvc", "hidden": true,
|
2024-09-05 22:14:12 +00:00
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x64", "strategy": "external" },
|
2024-05-16 02:47:36 +00:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-msvc.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "arm64-windows-llvm", "hidden": true,
|
2024-09-05 22:14:12 +00:00
|
|
|
"architecture": { "value": "arm64", "strategy": "external" },
|
|
|
|
"toolset": { "value": "host=x64", "strategy": "external" },
|
2024-05-16 02:47:36 +00:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-windows-llvm.cmake"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2024-11-02 22:35:31 +00: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 02:47:36 +00:00
|
|
|
{ "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
|
|
|
|
2024-11-02 22:35:31 +00: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 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" ] },
|
2024-08-22 04:50:10 +00: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 02:47:36 +00:00
|
|
|
]
|
|
|
|
}
|