]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
RGW - Fix cls test build on new gcc
authorDaniel Gryniewicz <dang@redhat.com>
Mon, 18 Sep 2023 12:50:53 +0000 (08:50 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Mon, 18 Sep 2023 13:04:43 +0000 (09:04 -0400)
The new encoder types broke building the cls test on newer gcc (13+) due
to undefined encoder/decoder.  Add the file that defines those to the
test.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
src/cls/CMakeLists.txt

index 7981fd347485a860075ba3dde699611598273ce7..57d0dace67c51a61e7e2cb380805ae8668da368c 100644 (file)
@@ -323,7 +323,8 @@ if (WITH_RADOSGW)
   install(TARGETS cls_rgw_gc DESTINATION ${cls_dir})
 
   set(cls_rgw_gc_client_srcs
-    rgw_gc/cls_rgw_gc_client.cc)
+    rgw_gc/cls_rgw_gc_client.cc
+    rgw/cls_rgw_types.cc)
   add_library(cls_rgw_gc_client STATIC ${cls_rgw_gc_client_srcs})
   target_include_directories(cls_rgw_gc_client
          PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw/driver/rados"