Skip to content

Commit be941ad

Browse files
authored
Merge pull request ceph#59024 from zdover23/wip-doc-2024-08-05-README-building-ceph
doc/README.md - add ordered list Reviewed-by: Anthony D'Atri <[email protected]>
2 parents 58a668d + 1f21057 commit be941ad

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,19 @@ we recommend that you build `.deb` or `.rpm` packages, or refer to
7373
``ceph.spec.in`` or ``debian/rules`` to see which configuration options are
7474
specified for production builds.
7575

76-
To build Ceph, make sure that you are in the top-level `ceph` directory that
77-
contains `do_cmake.sh` and `CONTRIBUTING.rst` and run the following commands:
76+
To build Ceph, follow this procedure:
7877

79-
./do_cmake.sh
80-
cd build
81-
ninja
78+
1. Make sure that you are in the top-level `ceph` directory that
79+
contains `do_cmake.sh` and `CONTRIBUTING.rst`.
80+
2. Run the `do_cmake.sh` script:
81+
82+
>``./do_cmake.sh``
83+
3. Move into the `build` directory:
84+
85+
>``cd build``
86+
4. Use the `ninja` buildsystem to build the development environment:
87+
88+
>``ninja``
8289
8390
``do_cmake.sh`` by default creates a "debug build" of Ceph, which can be up to
8491
five times slower than a non-debug build. Pass

0 commit comments

Comments
 (0)