'ninja' replaced 'make' in this PR[1]. This patch updates the doc about it.
[1] https://github.com/ceph/ceph/pull/39826
Signed-off-by: Varsha Rao <varao@redhat.com>
cd ceph
./do_cmake.sh
cd build
- make
+ ninja
.. note:: By default do_cmake.sh will build a debug version of ceph that may
perform up to 5 times slower with certain workloads. Pass
'-DCMAKE_BUILD_TYPE=RelWithDebInfo' to do_cmake.sh if you would like to
build a release version of the ceph executables instead.
-.. topic:: Hyperthreading
-
- You can use ``make -j`` to execute multiple jobs depending upon your system. For
- example, ``make -j4`` for a dual core processor may build faster.
-
See `Installing a Build`_ to install a build in user space.
Build Ceph Packages
If you build Ceph from source code, you may install Ceph in user space
by executing the following::
- sudo make install
+ sudo ninja install
-If you install Ceph locally, ``make`` will place the executables in
+If you install Ceph locally, ``ninja`` will place the executables in
``usr/local/bin``. You may add the Ceph configuration file to the
``usr/local/bin`` directory to run Ceph from a single directory.