From: Yavor Ivanov Date: Sun, 13 Jul 2025 05:12:36 +0000 (-0700) Subject: cmake : Add CMake presets for Linux and GCC (#14656) X-Git-Tag: upstream/0.0.6073~188 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=84b396e0510855a95d591afdf1f21c562cb3712a;p=pkg%2Fggml%2Fsources%2Fllama.cpp cmake : Add CMake presets for Linux and GCC (#14656) --- diff --git a/CMakePresets.json b/CMakePresets.json index e9844701..b5afeb3c 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -55,6 +55,17 @@ "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" ] },