@@ -24,6 +24,7 @@ set(ICEBERG_SOURCES
2424 catalog/session_catalog.cc
2525 catalog/session_context.cc
2626 delete_file_index.cc
27+ deletes/roaring_position_bitmap.cc
2728 expression/aggregate.cc
2829 expression/binder.cc
2930 expression/evaluator.cc
@@ -75,6 +76,11 @@ set(ICEBERG_SOURCES
7576 partition_field.cc
7677 partition_spec.cc
7778 partition_summary.cc
79+ puffin/file_metadata.cc
80+ puffin/json_serde.cc
81+ puffin/puffin_format.cc
82+ puffin/puffin_reader.cc
83+ puffin/puffin_writer.cc
7884 row/arrow_array_wrapper.cc
7985 row/manifest_wrapper.cc
8086 row/partition_values.cc
@@ -146,23 +152,27 @@ list(APPEND
146152 ICEBERG_STATIC_BUILD_INTERFACE_LIBS
147153 "$<IF :$<BOOL :${NANOARROW_VENDORED} >,nanoarrow ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_static >,nanoarrow ::nanoarrow_static ,nanoarrow ::nanoarrow_shared >>"
148154 nlohmann_json::nlohmann_json
155+ roaring::roaring
149156 spdlog::spdlog
150157 ZLIB::ZLIB)
151158list (APPEND
152159 ICEBERG_SHARED_BUILD_INTERFACE_LIBS
153160 "$<IF :$<BOOL :${NANOARROW_VENDORED} >,nanoarrow ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_shared >,nanoarrow ::nanoarrow_shared ,nanoarrow ::nanoarrow_static >>"
154161 nlohmann_json::nlohmann_json
162+ roaring::roaring
155163 spdlog::spdlog
156164 ZLIB::ZLIB)
157165list (APPEND
158166 ICEBERG_STATIC_INSTALL_INTERFACE_LIBS
159167 "$<IF :$<BOOL :${NANOARROW_VENDORED} >,iceberg ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_static >,nanoarrow ::nanoarrow_static ,nanoarrow ::nanoarrow_shared >>"
160168 "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
169+ "$<IF :$<BOOL :${CROARING_VENDORED} >,iceberg ::roaring ,roaring ::roaring >"
161170 "$<IF :$<BOOL :${SPDLOG_VENDORED} >,iceberg ::spdlog ,spdlog ::spdlog >" )
162171list (APPEND
163172 ICEBERG_SHARED_INSTALL_INTERFACE_LIBS
164173 "$<IF :$<BOOL :${NANOARROW_VENDORED} >,iceberg ::nanoarrow_static ,$<IF :$<TARGET_EXISTS :nanoarrow ::nanoarrow_shared >,nanoarrow ::nanoarrow_shared ,nanoarrow ::nanoarrow_static >>"
165174 "$<IF :$<BOOL :${NLOHMANN_JSON_VENDORED} >,iceberg ::nlohmann_json ,$<IF :$<TARGET_EXISTS :nlohmann_json ::nlohmann_json >,nlohmann_json ::nlohmann_json ,nlohmann_json ::nlohmann_json >>"
175+ "$<IF :$<BOOL :${CROARING_VENDORED} >,iceberg ::roaring ,roaring ::roaring >"
166176 "$<IF :$<BOOL :${SPDLOG_VENDORED} >,iceberg ::spdlog ,spdlog ::spdlog >" )
167177
168178add_iceberg_lib (iceberg
@@ -190,33 +200,25 @@ set(ICEBERG_DATA_SOURCES
190200 data/position_delete_writer.cc
191201 data/writer.cc
192202 deletes/position_delete_index.cc
193- deletes/position_delete_range_consumer.cc
194- deletes/roaring_position_bitmap.cc
195- puffin/file_metadata.cc
196- puffin/json_serde.cc
197- puffin/puffin_format.cc
198- puffin/puffin_reader.cc
199- puffin/puffin_writer.cc)
203+ deletes/position_delete_range_consumer.cc)
200204
201205set (ICEBERG_DATA_STATIC_BUILD_INTERFACE_LIBS)
202206set (ICEBERG_DATA_SHARED_BUILD_INTERFACE_LIBS)
203207set (ICEBERG_DATA_STATIC_INSTALL_INTERFACE_LIBS)
204208set (ICEBERG_DATA_SHARED_INSTALL_INTERFACE_LIBS)
205209
206210list (APPEND ICEBERG_DATA_STATIC_BUILD_INTERFACE_LIBS
207- "$<IF :$<TARGET_EXISTS :iceberg_static >,iceberg_static ,iceberg_shared >"
208- roaring::roaring)
211+ "$<IF :$<TARGET_EXISTS :iceberg_static >,iceberg_static ,iceberg_shared >" )
209212list (APPEND ICEBERG_DATA_SHARED_BUILD_INTERFACE_LIBS
210- "$<IF :$<TARGET_EXISTS :iceberg_shared >,iceberg_shared ,iceberg_static >"
211- roaring::roaring)
213+ "$<IF :$<TARGET_EXISTS :iceberg_shared >,iceberg_shared ,iceberg_static >" )
212214list (APPEND
213215 ICEBERG_DATA_STATIC_INSTALL_INTERFACE_LIBS
214216 "$<IF :$<TARGET_EXISTS :iceberg ::iceberg_static >,iceberg ::iceberg_static ,iceberg ::iceberg_shared >"
215- "$< IF :$< BOOL : ${CROARING_VENDORED} >, iceberg :: roaring , roaring :: roaring >" )
217+ )
216218list (APPEND
217219 ICEBERG_DATA_SHARED_INSTALL_INTERFACE_LIBS
218220 "$<IF :$<TARGET_EXISTS :iceberg ::iceberg_shared >,iceberg ::iceberg_shared ,iceberg ::iceberg_static >"
219- "$< IF :$< BOOL : ${CROARING_VENDORED} >, iceberg :: roaring , roaring :: roaring >" )
221+ )
220222
221223add_iceberg_lib (iceberg_data
222224 SOURCES
0 commit comments