diff --git a/CMakePresets.json b/CMakePresets.json index 2b1512ac121..a2d62d34af8 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -145,6 +145,17 @@ "CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-out" } }, + { + "name": "llm-release-logging", + "displayName": "LLM release build with logging enabled", + "inherits": [ + "llm-release" + ], + "cacheVariables": { + "EXECUTORCH_ENABLE_LOGGING": "ON", + "ET_MIN_LOG_LEVEL": "Info" + } + }, { "name": "llm-release-cuda", "displayName": "LLM release build with CUDA", @@ -294,6 +305,15 @@ ], "jobs": 0 }, + { + "name": "llm-release-logging-install", + "displayName": "Build and install LLM extension release artifacts (with logging)", + "configurePreset": "llm-release-logging", + "targets": [ + "install" + ], + "jobs": 0 + }, { "name": "llm-debug-install", "displayName": "Build and install LLM extension debug artifacts", @@ -365,6 +385,20 @@ } ] }, + { + "name": "llm-release-logging", + "displayName": "Configure, build and install ExecuTorch LLM extension with logging enabled", + "steps": [ + { + "type": "configure", + "name": "llm-release-logging" + }, + { + "type": "build", + "name": "llm-release-logging-install" + } + ] + }, { "name": "llm-debug", "displayName": "Configure, build and install ExecuTorch LLM extension with default CPU backend (Debug)",