-
Notifications
You must be signed in to change notification settings - Fork 3.7k
GH-45209: [C++][CMake] Fix the issue that allocator not disabled for sanitizer cmake presets #45210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
732198c
e55bdb8
452370c
20da6bf
7150e71
424a9a2
1b67c7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -6,6 +6,30 @@ | |||||||||||||||||||||||||||||||||||
"patch": 0 | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
"configurePresets": [ | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "_allocator-none", | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems that we can add comments by Could you add a comment why we use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for the idea. But unfortunately From the link you provided.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh... |
||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_JEMALLOC": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_MIMALLOC": "OFF" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "_allocator-jemalloc", | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_JEMALLOC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_MIMALLOC": "OFF" | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean something like this?
Suggested change
I think we should always specify one There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can enable multiple allocators at the same time. :-) The default allocator is chosen based on our recommendation: arrow/cpp/src/arrow/memory_pool.cc Line 143 in 5181c24
arrow/cpp/src/arrow/memory_pool.cc Lines 86 to 100 in 5181c24
But users can select any allocator from enabled allocators by creating There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh, I see. However I think we are expecting these allocator presets to enforce the allocator selection. That is, So for intentionally enabling both allocators, we can have another There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. Let's use the approach. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use it for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah that makes much more sense. Updated. Also changed to use plural |
||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "_allocator-mimalloc", | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we use this in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As replied in my other comment, yes we can. Will try. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed. |
||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_JEMALLOC": "OFF", | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Answered in my other comment. |
||||||||||||||||||||||||||||||||||||
"ARROW_MIMALLOC": "ON" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "base", | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
|
@@ -46,34 +70,6 @@ | |||||||||||||||||||||||||||||||||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"name": "features-emscripten", | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_ACERO": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_BUILD_SHARED": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_BUILD_STATIC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_CSV": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_CUDA": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_DEPENDENCY_SOURCE": "BUNDLED", | ||||||||||||||||||||||||||||||||||||
"ARROW_DEPENDENCY_USE_SHARED": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_ENABLE_THREADING": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_FLIGHT": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_IPC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_JEMALLOC": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_JSON": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_MIMALLOC": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_ORC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_RUNTIME_SIMD_LEVEL": "NONE", | ||||||||||||||||||||||||||||||||||||
"ARROW_S3": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_SIMD_LEVEL": "NONE", | ||||||||||||||||||||||||||||||||||||
"ARROW_SUBSTRAIT": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_BROTLI": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_OPENTELEMETRY": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_SNAPPY": "ON", | ||||||||||||||||||||||||||||||||||||
"CMAKE_C_BYTE_ORDER": "LITTLE_ENDIAN" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "features-minimal", | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
|
@@ -103,7 +99,6 @@ | |||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_SUBSTRAIT": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_ACERO": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_MIMALLOC": "ON", | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"ARROW_PARQUET": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_BROTLI": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_BZ2": "ON", | ||||||||||||||||||||||||||||||||||||
|
@@ -174,15 +169,11 @@ | |||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "features-python", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"features-main" | ||||||||||||||||||||||||||||||||||||
"features-main", | ||||||||||||||||||||||||||||||||||||
"features-python-minimal" | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_COMPUTE": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_CSV": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_DATASET": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_FILESYSTEM": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_JSON": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_ORC": "ON" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
|
@@ -193,35 +184,54 @@ | |||||||||||||||||||||||||||||||||||
"features-filesystems", | ||||||||||||||||||||||||||||||||||||
"features-flight-sql", | ||||||||||||||||||||||||||||||||||||
"features-gandiva", | ||||||||||||||||||||||||||||||||||||
"features-main", | ||||||||||||||||||||||||||||||||||||
"features-python-minimal" | ||||||||||||||||||||||||||||||||||||
"features-python" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_ORC": "ON", | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"PARQUET_REQUIRE_ENCRYPTION": "ON" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "features-maximal", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"features-main", | ||||||||||||||||||||||||||||||||||||
"features-cuda", | ||||||||||||||||||||||||||||||||||||
"features-filesystems", | ||||||||||||||||||||||||||||||||||||
"features-flight-sql", | ||||||||||||||||||||||||||||||||||||
"features-gandiva", | ||||||||||||||||||||||||||||||||||||
"features-python-maximal" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_BUILD_EXAMPLES": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_BUILD_UTILITIES": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_ORC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_SKYHOOK": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_TENSORFLOW": "ON", | ||||||||||||||||||||||||||||||||||||
"PARQUET_BUILD_EXAMPLES": "ON", | ||||||||||||||||||||||||||||||||||||
"PARQUET_BUILD_EXECUTABLES": "ON", | ||||||||||||||||||||||||||||||||||||
"PARQUET_REQUIRE_ENCRYPTION": "ON" | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"PARQUET_BUILD_EXECUTABLES": "ON" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "features-emscripten", | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we inherit There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed. |
||||||||||||||||||||||||||||||||||||
"hidden": true, | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"ARROW_ACERO": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_BUILD_SHARED": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_BUILD_STATIC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_CSV": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_CUDA": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_DEPENDENCY_SOURCE": "BUNDLED", | ||||||||||||||||||||||||||||||||||||
"ARROW_DEPENDENCY_USE_SHARED": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_ENABLE_THREADING": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_FLIGHT": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_IPC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_JEMALLOC": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_JSON": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_MIMALLOC": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_ORC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_RUNTIME_SIMD_LEVEL": "NONE", | ||||||||||||||||||||||||||||||||||||
"ARROW_S3": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_SIMD_LEVEL": "NONE", | ||||||||||||||||||||||||||||||||||||
"ARROW_SUBSTRAIT": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_BROTLI": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_OPENTELEMETRY": "OFF", | ||||||||||||||||||||||||||||||||||||
"ARROW_WITH_SNAPPY": "ON", | ||||||||||||||||||||||||||||||||||||
"CMAKE_C_BYTE_ORDER": "LITTLE_ENDIAN" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
|
@@ -371,45 +381,97 @@ | |||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind-basic", | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-emscripten", | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"base-debug", | ||||||||||||||||||||||||||||||||||||
"features-basic", | ||||||||||||||||||||||||||||||||||||
"features-valgrind" | ||||||||||||||||||||||||||||||||||||
"features-emscripten" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind with reduced dependencies", | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build which builds an Emscripten library", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind", | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind-minimal", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"base-debug", | ||||||||||||||||||||||||||||||||||||
"features-main", | ||||||||||||||||||||||||||||||||||||
"features-valgrind" | ||||||||||||||||||||||||||||||||||||
"features-valgrind", | ||||||||||||||||||||||||||||||||||||
"ninja-debug-minimal" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind with more optional components", | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind without anything enabled", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind-minimal", | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind-basic", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"base-debug", | ||||||||||||||||||||||||||||||||||||
"features-minimal", | ||||||||||||||||||||||||||||||||||||
"features-valgrind" | ||||||||||||||||||||||||||||||||||||
"features-valgrind", | ||||||||||||||||||||||||||||||||||||
"ninja-debug-basic" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind without anything enabled", | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind with tests and reduced dependencies", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"features-valgrind", | ||||||||||||||||||||||||||||||||||||
"ninja-debug" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-valgrind-maximal", | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"base-debug", | ||||||||||||||||||||||||||||||||||||
"features-maximal", | ||||||||||||||||||||||||||||||||||||
"features-valgrind" | ||||||||||||||||||||||||||||||||||||
"features-valgrind", | ||||||||||||||||||||||||||||||||||||
"ninja-debug-maximal" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind with tests and everything enabled", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-asan", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"_allocator-none", | ||||||||||||||||||||||||||||||||||||
"ninja-debug", | ||||||||||||||||||||||||||||||||||||
"sanitizer-asan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for ASAN with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-tsan", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"_allocator-none", | ||||||||||||||||||||||||||||||||||||
"ninja-debug", | ||||||||||||||||||||||||||||||||||||
"sanitizer-tsan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for TSAN with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-ubsan", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"_allocator-none", | ||||||||||||||||||||||||||||||||||||
"ninja-debug", | ||||||||||||||||||||||||||||||||||||
"sanitizer-ubsan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for Valgrind with everything enabled", | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build for UBSAN with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
"name": "fuzzing", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"base", | ||||||||||||||||||||||||||||||||||||
"sanitizer-asan", | ||||||||||||||||||||||||||||||||||||
"sanitizer-ubsan" | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build with IPC and Parquet fuzzing targets", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"CMAKE_BUILD_TYPE": "Debug", | ||||||||||||||||||||||||||||||||||||
"CMAKE_C_COMPILER": "clang", | ||||||||||||||||||||||||||||||||||||
"CMAKE_CXX_COMPILER": "clang++", | ||||||||||||||||||||||||||||||||||||
"ARROW_IPC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_PARQUET": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_FUZZING": "ON" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-release-minimal", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
|
@@ -446,24 +508,6 @@ | |||||||||||||||||||||||||||||||||||
"displayName": "Release build with CUDA integration", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-emscripten", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"features-emscripten", | ||||||||||||||||||||||||||||||||||||
"base-debug" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build which builds an Emscripten library", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-release-emscripten", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"features-emscripten", | ||||||||||||||||||||||||||||||||||||
"base-release" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Release build which builds an Emscripten library", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
zanmato1984 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-release-flight", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
|
@@ -527,6 +571,15 @@ | |||||||||||||||||||||||||||||||||||
"displayName": "Release build with everything enabled (except benchmarks)", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-release-emscripten", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"features-emscripten", | ||||||||||||||||||||||||||||||||||||
"base-release" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Release build which builds an Emscripten library", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-benchmarks-basic", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
|
@@ -553,50 +606,6 @@ | |||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Benchmarking build with everything enabled", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-asan", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"ninja-debug", | ||||||||||||||||||||||||||||||||||||
"sanitizer-asan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug ASAN build with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-tsan", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"ninja-debug", | ||||||||||||||||||||||||||||||||||||
"sanitizer-tsan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug TSAN build with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "ninja-debug-ubsan", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"ninja-debug", | ||||||||||||||||||||||||||||||||||||
"sanitizer-ubsan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug UBSAN build with tests and more optional components", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": {} | ||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||
{ | ||||||||||||||||||||||||||||||||||||
"name": "fuzzing", | ||||||||||||||||||||||||||||||||||||
"inherits": [ | ||||||||||||||||||||||||||||||||||||
"base", | ||||||||||||||||||||||||||||||||||||
"sanitizer-asan", | ||||||||||||||||||||||||||||||||||||
"sanitizer-ubsan" | ||||||||||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||||||||||
"displayName": "Debug build with IPC and Parquet fuzzing targets", | ||||||||||||||||||||||||||||||||||||
"cacheVariables": { | ||||||||||||||||||||||||||||||||||||
"CMAKE_BUILD_TYPE": "Debug", | ||||||||||||||||||||||||||||||||||||
"CMAKE_C_COMPILER": "clang", | ||||||||||||||||||||||||||||||||||||
"CMAKE_CXX_COMPILER": "clang++", | ||||||||||||||||||||||||||||||||||||
"ARROW_IPC": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_PARQUET": "ON", | ||||||||||||||||||||||||||||||||||||
"ARROW_FUZZING": "ON" | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||
] | ||||||||||||||||||||||||||||||||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use this in
features-minimal
too?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, yes we can. I was trying to add some specialty to
_
presets, that is, not using it in regular inheritance where there is no conflicting variables. However I think nothing functional really prevents it from being used in regular inheritance. I'll try that and update soon.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed.