Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions be/src/storage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ pch_reuse(Storage)
# FORMAT_*_ADD_JSON_NODE, RETURN_IF_ERROR_) must not leak into unity siblings
# - the three heaviest template-instantiation TUs (predicate creators) which
# would dominate any batch they join
# - compaction/collection_statistics.cpp: its test compiles it a second time
# by #including the .cpp; the test object must shadow a never-pulled archive
# member, but a unity batch is pulled in for its siblings and the linker
# sees a duplicate definition
# - segment/variant/v2/variant_storage_cell.cpp: it and variant_assembler.cpp
# define the same anonymous-namespace helper, which conflicts in one unity batch
set(STORAGE_UNITY_SKIP
${CMAKE_CURRENT_SOURCE_DIR}/index/inverted/inverted_index_compound_reader.cpp
${CMAKE_CURRENT_SOURCE_DIR}/index/inverted/inverted_index_fs_directory.cpp
Expand All @@ -70,7 +68,8 @@ set(STORAGE_UNITY_SKIP
${CMAKE_CURRENT_SOURCE_DIR}/predicate/predicate_creator_comparison.cpp
${CMAKE_CURRENT_SOURCE_DIR}/predicate/predicate_creator_in_list_in.cpp
${CMAKE_CURRENT_SOURCE_DIR}/predicate/predicate_creator_in_list_not_in.cpp
${CMAKE_CURRENT_SOURCE_DIR}/compaction/collection_statistics.cpp)
${CMAKE_CURRENT_SOURCE_DIR}/index/inverted/similarity/collection_statistics.cpp
${CMAKE_CURRENT_SOURCE_DIR}/segment/variant/v2/variant_storage_cell.cpp)
if (ENABLE_VARIANT_NESTED_GROUP)
# Out-of-tree module sources swapped into this target: unity hygiene
# unaudited, keep them individual.
Expand Down
Loading