From: Casey Bodley Date: Mon, 6 Oct 2025 16:01:13 +0000 (-0400) Subject: cmake/rgw: WITH_RADOSGW_POSIX depends on WITH_RADOSGW_DBSTORE X-Git-Tag: testing/wip-vshankar-testing-20260120.085915-debug^2~6^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=470f5e856cac2be6894ffa5399f2d9e885dc9c95;p=ceph-ci.git cmake/rgw: WITH_RADOSGW_POSIX depends on WITH_RADOSGW_DBSTORE with WITH_RADOSGW_DBSTORE=OFF, the posix backend fails to link with: > /usr/bin/ld: cannot find -ldbstore: No such file or directory Signed-off-by: Casey Bodley --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bc255b4df40..a524c1e2918 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -558,7 +558,7 @@ option(WITH_RADOSGW_DBSTORE "DBStore backend for RADOS Gateway" ON) option(WITH_RADOSGW_MOTR "CORTX-Motr backend for RADOS Gateway" OFF) option(WITH_RADOSGW_DAOS "DAOS backend for RADOS Gateway" OFF) option(WITH_RADOSGW_D4N "D4N wrapper for RADOS Gateway" ON) -option(WITH_RADOSGW_POSIX "POSIX backend for RADOS Gateway" ON) +cmake_dependent_option(WITH_RADOSGW_POSIX "POSIX backend for RADOS Gateway" ON WITH_RADOSGW_DBSTORE OFF) # posix depends on dbstore option(WITH_RADOSGW_RADOS "RADOS backend for Rados Gateway" ON) option(WITH_RADOSGW_SELECT_PARQUET "Support for s3 select on parquet objects" ON) option(WITH_RADOSGW_ARROW_FLIGHT "Build arrow flight when not using system-provided arrow" OFF)