11{
2- "version" : 4 ,
3- "configurePresets" : [
4- {
5- "name" : " base" ,
6- "hidden" : true ,
7- "generator" : " Ninja" ,
8- "binaryDir" : " ${sourceDir}/build-${presetName}" ,
9- "cacheVariables" : {
10- "CMAKE_EXPORT_COMPILE_COMMANDS" : " ON" ,
11- "CMAKE_INSTALL_RPATH" : " $ORIGIN;$ORIGIN/.."
12- }
13- },
14- {
15- "name" : " sycl-base" ,
16- "hidden" : true ,
17- "generator" : " Ninja" ,
18- "binaryDir" : " ${sourceDir}/build-${presetName}" ,
19- "cacheVariables" : {
20- "CMAKE_EXPORT_COMPILE_COMMANDS" : " ON" ,
21- "CMAKE_CXX_COMPILER" : " icx" ,
22- "CMAKE_C_COMPILER" : " cl" ,
23- "GGML_SYCL" : " ON" ,
24- "CMAKE_INSTALL_RPATH" : " $ORIGIN;$ORIGIN/.."
25- }
26- },
27- { "name" : " debug" , "hidden" : true , "cacheVariables" : { "CMAKE_BUILD_TYPE" : " Debug" } },
28- { "name" : " release" , "hidden" : true , "cacheVariables" : { "CMAKE_BUILD_TYPE" : " Release" } },
29- { "name" : " reldbg" , "hidden" : true , "cacheVariables" : { "CMAKE_BUILD_TYPE" : " RelWithDebInfo" } },
30- { "name" : " static" , "hidden" : true , "cacheVariables" : { "GGML_STATIC" : " ON" } },
31- { "name" : " sycl_f16" , "hidden" : true , "cacheVariables" : { "GGML_SYCL_F16" : " ON" } },
32- { "name" : " vulkan" , "hidden" : true , "cacheVariables" : { "GGML_VULKAN" : " ON" } },
33-
34- {
35- "name" : " arm64-windows-msvc" , "hidden" : true ,
36- "architecture" : { "value" : " arm64" , "strategy" : " external" },
37- "toolset" : { "value" : " host=x64" , "strategy" : " external" },
38- "cacheVariables" : {
39- "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/cmake/arm64-windows-msvc.cmake"
40- }
41- },
42-
43- {
44- "name" : " arm64-windows-llvm" , "hidden" : true ,
45- "architecture" : { "value" : " arm64" , "strategy" : " external" },
46- "toolset" : { "value" : " host=x64" , "strategy" : " external" },
47- "cacheVariables" : {
48- "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/cmake/arm64-windows-llvm.cmake"
49- }
50- },
51-
52- {
53- "name" : " arm64-apple-clang" , "hidden" : true ,
54- "architecture" : { "value" : " arm64" , "strategy" : " external" },
55- "toolset" : { "value" : " host=x64" , "strategy" : " external" },
56- "cacheVariables" : {
57- "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/cmake/arm64-apple-clang.cmake"
58- }
59- },
60-
61- { "name" : " arm64-windows-llvm-debug" , "inherits" : [ " base" , " arm64-windows-llvm" , " debug" ] },
62- { "name" : " arm64-windows-llvm-release" , "inherits" : [ " base" , " arm64-windows-llvm" , " reldbg" ] },
63- { "name" : " arm64-windows-llvm+static-release" , "inherits" : [ " base" , " arm64-windows-llvm" , " reldbg" , " static" ] },
64-
65- { "name" : " arm64-apple-clang-debug" , "inherits" : [ " base" , " arm64-apple-clang" , " debug" ] },
66- { "name" : " arm64-apple-clang-release" , "inherits" : [ " base" , " arm64-apple-clang" , " reldbg" ] },
67- { "name" : " arm64-apple-clang+static-release" , "inherits" : [ " base" , " arm64-apple-clang" , " reldbg" , " static" ] },
68-
69- { "name" : " arm64-windows-msvc-debug" , "inherits" : [ " base" , " arm64-windows-msvc" , " debug" ] },
70- { "name" : " arm64-windows-msvc-release" , "inherits" : [ " base" , " arm64-windows-msvc" , " reldbg" ] },
71- { "name" : " arm64-windows-msvc+static-release" , "inherits" : [ " base" , " arm64-windows-msvc" , " reldbg" , " static" ] },
72-
73- { "name" : " x64-windows-msvc-debug" , "inherits" : [ " base" , " debug" ] },
74- { "name" : " x64-windows-msvc-release" , "inherits" : [ " base" , " reldbg" ] },
75- { "name" : " x64-windows-msvc+static-release" , "inherits" : [ " base" , " reldbg" , " static" ] },
76-
77- { "name" : " x64-windows-sycl-debug" , "inherits" : [ " sycl-base" , " debug" ] },
78- { "name" : " x64-windows-sycl-debug-f16" , "inherits" : [ " sycl-base" , " debug" , " sycl_f16" ] },
79- { "name" : " x64-windows-sycl-release" , "inherits" : [ " sycl-base" , " release" ] },
80- { "name" : " x64-windows-sycl-release-f16" , "inherits" : [ " sycl-base" , " release" , " sycl_f16" ] },
81-
82- { "name" : " x64-windows-vulkan-debug" , "inherits" : [ " base" , " vulkan" , " debug" ] },
83- { "name" : " x64-windows-vulkan-release" , "inherits" : [ " base" , " vulkan" , " release" ] }
84- ]
85- }
2+ "version" : 4 ,
3+ "configurePresets" : [
4+ {
5+ "name" : " base" ,
6+ "hidden" : true ,
7+ "generator" : " Ninja" ,
8+ "binaryDir" : " ${sourceDir}/build-${presetName}" ,
9+ "cacheVariables" : {
10+ "CMAKE_EXPORT_COMPILE_COMMANDS" : " ON" ,
11+ "CMAKE_INSTALL_RPATH" : " $ORIGIN;$ORIGIN/.."
12+ }
13+ },
14+ {
15+ "name" : " sycl-base" ,
16+ "hidden" : true ,
17+ "generator" : " Ninja" ,
18+ "binaryDir" : " ${sourceDir}/build-${presetName}" ,
19+ "cacheVariables" : {
20+ "CMAKE_EXPORT_COMPILE_COMMANDS" : " ON" ,
21+ "CMAKE_CXX_COMPILER" : " icx" ,
22+ "CMAKE_C_COMPILER" : " cl" ,
23+ "GGML_SYCL" : " ON" ,
24+ "CMAKE_INSTALL_RPATH" : " $ORIGIN;$ORIGIN/.."
25+ }
26+ },
27+ { "name" : " debug" , "hidden" : true , "cacheVariables" : { "CMAKE_BUILD_TYPE" : " Debug" } },
28+ { "name" : " release" , "hidden" : true , "cacheVariables" : { "CMAKE_BUILD_TYPE" : " Release" } },
29+ { "name" : " reldbg" , "hidden" : true , "cacheVariables" : { "CMAKE_BUILD_TYPE" : " RelWithDebInfo" } },
30+ { "name" : " static" , "hidden" : true , "cacheVariables" : { "GGML_STATIC" : " ON" } },
31+ { "name" : " sycl_f16" , "hidden" : true , "cacheVariables" : { "GGML_SYCL_F16" : " ON" } },
32+ { "name" : " vulkan" , "hidden" : true , "cacheVariables" : { "GGML_VULKAN" : " ON" } },
33+
34+ {
35+ "name" : " arm64-windows-msvc" , "hidden" : true ,
36+ "architecture" : { "value" : " arm64" , "strategy" : " external" },
37+ "toolset" : { "value" : " host=x64" , "strategy" : " external" },
38+ "cacheVariables" : {
39+ "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/cmake/arm64-windows-msvc.cmake"
40+ }
41+ },
42+
43+ {
44+ "name" : " arm64-windows-llvm" , "hidden" : true ,
45+ "architecture" : { "value" : " arm64" , "strategy" : " external" },
46+ "toolset" : { "value" : " host=x64" , "strategy" : " external" },
47+ "cacheVariables" : {
48+ "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/cmake/arm64-windows-llvm.cmake"
49+ }
50+ },
51+
52+ {
53+ "name" : " arm64-apple-clang" , "hidden" : true ,
54+ "architecture" : { "value" : " arm64" , "strategy" : " external" },
55+ "toolset" : { "value" : " host=x64" , "strategy" : " external" },
56+ "cacheVariables" : {
57+ "CMAKE_TOOLCHAIN_FILE" : " ${sourceDir}/cmake/arm64-apple-clang.cmake"
58+ }
59+ },
60+
61+ { "name" : " arm64-windows-llvm-debug" , "inherits" : [ " base" , " arm64-windows-llvm" , " debug" ] },
62+ { "name" : " arm64-windows-llvm-release" , "inherits" : [ " base" , " arm64-windows-llvm" , " reldbg" ] },
63+ { "name" : " arm64-windows-llvm+static-release" , "inherits" : [ " base" , " arm64-windows-llvm" , " reldbg" , " static" ] },
64+
65+ { "name" : " arm64-apple-clang-debug" , "inherits" : [ " base" , " arm64-apple-clang" , " debug" ] },
66+ { "name" : " arm64-apple-clang-release" , "inherits" : [ " base" , " arm64-apple-clang" , " reldbg" ] },
67+ { "name" : " arm64-apple-clang+static-release" , "inherits" : [ " base" , " arm64-apple-clang" , " reldbg" , " static" ] },
68+
69+ { "name" : " arm64-windows-msvc-debug" , "inherits" : [ " base" , " arm64-windows-msvc" , " debug" ] },
70+ { "name" : " arm64-windows-msvc-release" , "inherits" : [ " base" , " arm64-windows-msvc" , " reldbg" ] },
71+ { "name" : " arm64-windows-msvc+static-release" , "inherits" : [ " base" , " arm64-windows-msvc" , " reldbg" , " static" ] },
72+
73+ { "name" : " x64-windows-msvc-debug" , "inherits" : [ " base" , " debug" ] },
74+ { "name" : " x64-windows-msvc-release" , "inherits" : [ " base" , " reldbg" ] },
75+ { "name" : " x64-windows-msvc+static-release" , "inherits" : [ " base" , " reldbg" , " static" ] },
76+
77+ { "name" : " x64-windows-sycl-debug" , "inherits" : [ " sycl-base" , " debug" ] },
78+ { "name" : " x64-windows-sycl-debug-f16" , "inherits" : [ " sycl-base" , " debug" , " sycl_f16" ] },
79+ { "name" : " x64-windows-sycl-release" , "inherits" : [ " sycl-base" , " release" ] },
80+ { "name" : " x64-windows-sycl-release-f16" , "inherits" : [ " sycl-base" , " release" , " sycl_f16" ] },
81+
82+ { "name" : " x64-windows-vulkan-debug" , "inherits" : [ " base" , " vulkan" , " debug" ] },
83+ { "name" : " x64-windows-vulkan-release" , "inherits" : [ " base" , " vulkan" , " release" ] }
84+ ]
85+ }
0 commit comments