README.md: add CMAKE_PREFIX_PATH to build steps (#581)

[ROCm/rccl commit: 314da5a485]
이 커밋은 다음에 포함됨:
Wenkai Du 작성하고 GitHub가 2022-07-12 11:32:07 -07:00를 커밋함
1 부모 c129677fe0
커밋 9a9d9cb29b
1 파일이 변경됨
+3 -3
+3 -3
파일 보기
@@ -39,12 +39,12 @@ $ git clone https://github.com/ROCmSoftwarePlatform/rccl.git
$ cd rccl
$ mkdir build
$ cd build
$ CXX=/opt/rocm/bin/hipcc cmake ..
$ make -j 8
$ CXX=/opt/rocm/bin/hipcc cmake -DCMAKE_PREFIX_PATH=/opt/rocm/ ..
$ make -j
```
You may substitute an installation path of your own choosing by passing CMAKE_INSTALL_PREFIX. For example:
```shell
$ CXX=/opt/rocm/bin/hipcc cmake -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install ..
$ CXX=/opt/rocm/bin/hipcc cmake -DCMAKE_PREFIX_PATH=/opt/rocm/ -DCMAKE_INSTALL_PREFIX=$PWD/rccl-install ..
```
Note: ensure rocm-cmake is installed, `apt install rocm-cmake`.