From 00a910c2dad9995b72d24ee1520d47bc9b57375d Mon Sep 17 00:00:00 2001 From: Wenkai Du Date: Tue, 26 Nov 2019 12:40:26 -0800 Subject: [PATCH] Change manual build instructions to fit most common usage --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56eca69c52..405b69127b 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,14 @@ $ git clone https://github.com/ROCmSoftwarePlatform/rccl.git $ cd rccl $ mkdir build $ cd build -$ CXX=/opt/rocm/bin/hcc cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install .. +$ CXX=/opt/rocm/bin/hcc cmake .. $ 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 :