From 547bbd21554bf9352a828f75848ac40a07a3b259 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 12 Jun 2024 06:07:49 +0900 Subject: [PATCH] GH-42109: [C++][CMake] Add preset for Valgrind --- cpp/CMakePresets.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/cpp/CMakePresets.json b/cpp/CMakePresets.json index 13d1241990c31..749afd34986ae 100644 --- a/cpp/CMakePresets.json +++ b/cpp/CMakePresets.json @@ -220,6 +220,21 @@ "PARQUET_REQUIRE_ENCRYPTION": "ON" } }, + { + "name": "features-valgrind", + "inherits": [ + "features-maximal" + ], + "hidden": true, + "cacheVariables": { + "ARROW_FLIGHT": "OFF", + "ARROW_GANDIVA": "OFF", + "ARROW_JEMALLOC": "OFF", + "ARROW_RUNTIME_SIMD_LEVEL": "AVX2", + "ARROW_TEST_MEMCHECK": "ON", + "BUILD_WARNING_LEVEL": "PRODUCTION" + } + }, { "name": "ninja-debug-minimal", "inherits": [ @@ -331,6 +346,15 @@ "displayName": "Debug build with everything enabled (except benchmarks)", "cacheVariables": {} }, + { + "name": "ninja-debug-valgrind", + "inherits": [ + "base-debug", + "features-valgrind" + ], + "displayName": "Debug build for Valgrind", + "cacheVariables": {} + }, { "name": "ninja-release-minimal", "inherits": [ @@ -491,4 +515,4 @@ } } ] -} \ No newline at end of file +}