Skip to content

Commit

Permalink
apacheGH-42109: [C++][CMake] Add preset for Valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 11, 2024
1 parent c7bfd2e commit 547bbd2
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion cpp/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -491,4 +515,4 @@
}
}
]
}
}

0 comments on commit 547bbd2

Please sign in to comment.