Skip to content

Commit adfb023

Browse files
committed
RGW - Fix dedup build
Dedup is RadosStore specific, so move it to driver/rados, and only start it if radosstore is being built. Signed-off-by: Daniel Gryniewicz <[email protected]>
1 parent 7d15784 commit adfb023

16 files changed

+16
-6
lines changed

src/rgw/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ set(librgw_common_srcs
140140
rgw_bucket_encryption.cc
141141
rgw_tracer.cc
142142
rgw_lua_background.cc
143-
rgw_dedup.cc
144-
rgw_dedup_table.cc
145-
rgw_dedup_store.cc
146-
rgw_dedup_utils.cc
147-
rgw_dedup_cluster.cc
148143
rgw_data_access.cc
149144
rgw_realm_watcher.cc
150145
rgw_bucket_logging.cc
@@ -236,7 +231,12 @@ if(WITH_RADOSGW_RADOS)
236231
driver/rados/config/realm_watcher.cc
237232
driver/rados/config/store.cc
238233
driver/rados/config/zone.cc
239-
driver/rados/config/zonegroup.cc)
234+
driver/rados/config/zonegroup.cc
235+
driver/rados/rgw_dedup.cc
236+
driver/rados/rgw_dedup_table.cc
237+
driver/rados/rgw_dedup_store.cc
238+
driver/rados/rgw_dedup_utils.cc
239+
driver/rados/rgw_dedup_cluster.cc)
240240
endif()
241241
if(WITH_RADOSGW_AMQP_ENDPOINT)
242242
list(APPEND librgw_common_srcs rgw_amqp.cc)

0 commit comments

Comments
 (0)