Modify cmake instruction in build from source (#1445)

[ROCm/rccl commit: 28594b26b3]
This commit is contained in:
Jeffrey Novotny
2024-12-03 11:26:02 -05:00
committed by GitHub
szülő 43ff8386a8
commit 0f4558ea59
2 fájl változott, egészen pontosan 4 új sor hozzáadva és 3 régi sor törölve
+1 -1
Fájl megtekintése
@@ -81,7 +81,7 @@ $ git submodule update --init --recursive --depth=1
```
You may substitute an installation path of your own choosing by passing `CMAKE_INSTALL_PREFIX`. For example:
```shell
$ cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install ..
$ cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install -DCMAKE_BUILD_TYPE=Release ..
```
Note: ensure rocm-cmake is installed, `apt install rocm-cmake`.
@@ -45,11 +45,12 @@ to ``CMAKE_INSTALL_PREFIX``, for example:
.. code-block:: shell
cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install ..
cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install -DCMAKE_BUILD_TYPE=Release ..
.. note::
Ensure ROCm CMake is installed using the command ``apt install rocm-cmake``.
Ensure ROCm CMake is installed using the command ``apt install rocm-cmake``. By default,
CMake builds the component in debug mode unless ``DCMAKE_BUILD_TYPE`` is specified.
Building the RCCL package and install package: