From 36e001b04e3b8aa16efe4e291c1f7128c0f04e52 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Thu, 25 Mar 2021 17:29:21 +0530 Subject: [PATCH] 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 --- doc/install/build-ceph.rst | 7 +------ doc/install/install-storage-cluster.rst | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/install/build-ceph.rst b/doc/install/build-ceph.rst index 5c93ca52d8b..48f66a96b3e 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 dcb9f5040c0..6bedecbaca5 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. -- 2.39.5