]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake : Add CMake presets for Linux and GCC (#14656)
authorYavor Ivanov <redacted>
Sun, 13 Jul 2025 05:12:36 +0000 (22:12 -0700)
committerGitHub <redacted>
Sun, 13 Jul 2025 05:12:36 +0000 (08:12 +0300)
CMakePresets.json

index e9844701304fcaf952466507c1b03cba8a06546e..b5afeb3c0f2f9a4fe49890ab718c565962ad57ca 100644 (file)
             "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/cmake/arm64-apple-clang.cmake"
         }
     },
+    {
+        "name": "x64-linux-gcc", "hidden": true,
+        "cacheVariables": {
+            "CMAKE_C_COMPILER": "gcc",
+            "CMAKE_CXX_COMPILER": "g++"
+        }
+    },
+    { "name": "x64-linux-gcc-debug", "inherits": [ "base", "x64-linux-gcc", "debug" ] },
+    { "name": "x64-linux-gcc-release", "inherits": [ "base", "x64-linux-gcc", "release" ] },
+    { "name": "x64-linux-gcc-reldbg", "inherits": [ "base", "x64-linux-gcc", "reldbg" ] },
+    { "name": "x64-linux-gcc+static-release", "inherits": [ "base", "x64-linux-gcc", "release", "static" ] },
 
     { "name": "arm64-windows-llvm-debug", "inherits": [ "base", "arm64-windows-llvm", "debug" ] },
     { "name": "arm64-windows-llvm-release", "inherits": [ "base", "arm64-windows-llvm", "reldbg" ] },