Skip to content

Commit 1df3667

Browse files
committed
Update with .cmake file
1 parent 7df6cc5 commit 1df3667

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

CMakePresets.json

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@
1111
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
1212
}
1313
},
14-
{
15-
"name": "clang-ninja",
16-
"hidden": true,
17-
"generator": "Ninja",
18-
"binaryDir": "${sourceDir}/build-${presetName}",
19-
"cacheVariables": {
20-
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
21-
"CMAKE_C_COMPILER":"clang.exe",
22-
"CMAKE_CXX_COMPILER":"clang++.exe",
23-
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
24-
}
25-
},
2614

2715
{
2816
"name": "sycl-base",
@@ -44,6 +32,13 @@
4432
{ "name": "sycl_f16", "hidden": true, "cacheVariables": { "GGML_SYCL_F16": "ON" } },
4533
{ "name": "vulkan", "hidden": true, "cacheVariables": { "GGML_VULKAN": "ON" } },
4634

35+
{
36+
"name": "x64-windows-llvm", "hidden": true,
37+
"cacheVariables": {
38+
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/x64-windows-llvm.cmake"
39+
}
40+
},
41+
4742
{
4843
"name": "arm64-windows-msvc", "hidden": true,
4944
"architecture": { "value": "arm64", "strategy": "external" },
@@ -83,15 +78,15 @@
8378
{ "name": "arm64-windows-msvc-release", "inherits": [ "base", "arm64-windows-msvc", "reldbg" ] },
8479
{ "name": "arm64-windows-msvc+static-release", "inherits": [ "base", "arm64-windows-msvc", "reldbg", "static" ] },
8580

81+
{ "name": "x64-windows-llvm-debug", "inherits": [ "base", "x64-windows-llvm", "debug" ] },
82+
{ "name": "x64-windows-llvm-release", "inherits": [ "base", "x64-windows-llvm", "release" ] },
83+
{ "name": "x64-windows-llvm-reldbg", "inherits": [ "base", "x64-windows-llvm", "reldbg" ] },
84+
{ "name": "x64-windows-llvm+static-release", "inherits": [ "base", "x64-windows-llvm", "reldbg", "static" ] },
85+
8686
{ "name": "x64-windows-msvc-debug", "inherits": [ "base", "debug" ] },
8787
{ "name": "x64-windows-msvc-release", "inherits": [ "base", "reldbg" ] },
8888
{ "name": "x64-windows-msvc+static-release", "inherits": [ "base", "reldbg", "static" ] },
8989

90-
{ "name": "x64-windows-llvm-debug" , "inherits": [ "clang-ninja", "debug" ] },
91-
{ "name": "x64-windows-llvm-reldbg", "inherits": [ "clang-ninja", "reldbg" ] },
92-
{ "name": "x64-windows-llvm-release", "inherits": [ "clang-ninja", "release" ] },
93-
{ "name": "x64-windows-llvm+static-release", "inherits": [ "clang-ninja", "reldbg", "static" ] },
94-
9590
{ "name": "x64-windows-sycl-debug", "inherits": [ "sycl-base", "debug" ] },
9691
{ "name": "x64-windows-sycl-debug-f16", "inherits": [ "sycl-base", "debug", "sycl_f16" ] },
9792
{ "name": "x64-windows-sycl-release", "inherits": [ "sycl-base", "release" ] },

0 commit comments

Comments
 (0)