From: Varsha Rao Date: Thu, 25 Mar 2021 11:59:21 +0000 (+0530) Subject: doc/install: Update about ninja X-Git-Tag: v17.1.0~2458^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=36e001b04e3b8aa16efe4e291c1f7128c0f04e52;p=ceph.git doc/install: Update about ninja '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 --- diff --git a/doc/install/build-ceph.rst b/doc/install/build-ceph.rst index 5c93ca52d8b9..48f66a96b3e0 100644 --- a/doc/install/build-ceph.rst +++ b/doc/install/build-ceph.rst @@ -38,18 +38,13 @@ repository and execute the following:: 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 diff --git a/doc/install/install-storage-cluster.rst b/doc/install/install-storage-cluster.rst index dcb9f5040c0e..6bedecbaca54 100644 --- a/doc/install/install-storage-cluster.rst +++ b/doc/install/install-storage-cluster.rst @@ -78,9 +78,9 @@ Installing a Build 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.