Change manual build instructions to fit most common usage

This commit is contained in:
Wenkai Du
2019-11-26 12:40:26 -08:00
parent b1ed4b7fa8
commit 00a910c2da
+6 -2
View File
@@ -37,10 +37,14 @@ $ git clone https://github.com/ROCmSoftwarePlatform/rccl.git
$ cd rccl $ cd rccl
$ mkdir build $ mkdir build
$ cd build $ cd build
$ CXX=/opt/rocm/bin/hcc cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install .. $ CXX=/opt/rocm/bin/hcc cmake ..
$ make -j 8 $ make -j 8
``` ```
You may substitute a path of your own choosing for CMAKE_INSTALL_PREFIX. Note: ensure rocm-cmake is installed, `apt install rocm-cmake`. You may substitute an installation path of your own choosing by passing CMAKE_INSTALL_PREFIX. For example:
```shell
$ CXX=/opt/rocm/bin/hcc cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install ..
```
Note: ensure rocm-cmake is installed, `apt install rocm-cmake`.
#### To build the RCCL package and install package : #### To build the RCCL package and install package :