3 This is a work in progress Cmake build system. Currently it builds alimited set of targets,
4 and only on Linux/posix. The goals include faster builds (see for yourself), cleaner
5 builds (no libtool), and improved portability (e.g., Windows).
9 To build out of source make an empty directory called "build" and run:
10 $ cmake [path to top level ceph-local directory]
12 To build in source make an empty directory called "build" and run:
15 Once the Configuring is done and the Build files have been written to the current
19 To build only certain targets type in:
22 To install, once all the targets are built run:
27 There is an option to build the Rados Gateway that is defaulted to ON
28 To build without the Rados Gateway:
29 $ cmake [path to top level ceph-local directory] -DWITH_RADOSGW=OFF
31 To build with debugging and alternate locations for (a couple of)
32 external dependencies:
33 $ cmake -DLEVELDB_PREFIX="/opt/hyperleveldb" -DOFED_PREFIX="/opt/ofed" \
34 -DCMAKE_INSTALL_PREFIX=/opt/accelio -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" \
37 With future development efforts more options will be implemented
47 radosgw (set ON as a default)
59 Future work will be done to build more targets, check for libraries and headers more thoroughly
60 and include tests to make this build become more robust. CMake allows ceph to build onto many
61 platforms such as Windows though the shell scripts need bash/unix to run.