From: Casey Bodley Date: Thu, 31 Mar 2022 18:35:45 +0000 (-0400) Subject: README: document cmake options for system packages X-Git-Tag: v18.0.0~1122^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F45740%2Fhead;p=ceph.git README: document cmake options for system packages Signed-off-by: Casey Bodley --- diff --git a/README.md b/README.md index c4c691850092..96f2c6aff28d 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,14 @@ for a couple of external dependencies: -DCMAKE_INSTALL_PREFIX=/opt/ceph -DCMAKE_C_FLAGS="-Og -g3 -gdwarf-4" \ .. +Ceph has several bundled dependencies such as Boost, RocksDB and Arrow. By +default, cmake will build these bundled dependencies from source instead of +using libraries that are already installed on the system. You can opt-in to +using these system libraries, provided they meet the minimum version required +by Ceph, with cmake options like `WITH_SYSTEM_BOOST`: + + cmake -DWITH_SYSTEM_BOOST=ON [...] + To view an exhaustive list of -D options, you can invoke `cmake` with: cmake -LH