From 0e82685f85339fd488cd51480897024059bc72ab Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Tue, 29 Mar 2016 14:23:41 -0500 Subject: [PATCH] Update README.md [ROCm/clr commit: ae2b136bfe9a23257679922a1c51531abca88594] --- projects/clr/hipamd/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/README.md b/projects/clr/hipamd/README.md index 31c286636a..10d0e31288 100644 --- a/projects/clr/hipamd/README.md +++ b/projects/clr/hipamd/README.md @@ -15,11 +15,14 @@ New projects can be developed directly in the portable HIP C++ language and can cd HIP-privatestaging mkdir build cd build -cmake -DHSA_DIR=/path/to/hsa -DHCC_DIR=/path/to/hcc -DHIP_INSTALL_DIR=/where/to/install/hip .. +cmake -DHSA_DIR=/path/to/hsa -DHCC_DIR=/path/to/hcc -DHIP_INSTALL_DIR=/where/to/install/hip -DCMAKE_BUILD_TYPE=Release .. make make install ``` -Make sure HIP_PATH is pointed to `/opt/hip` and PATH includes `$HIP_PATH/bin` +Make sure HIP_PATH is pointed to `/where/to/install/hip` and PATH includes `$HIP_PATH/bin`. This requirement is optional, but required to run any HIP test infrastructure. + +The Release build installs HIP inside `/where/to/install/hip`. The Debug build will install inside HIP repo directory by adding a `./lib` directory containing `libhip_hcc.a` + ## More Info: - [HIP FAQ](docs/markdown/hip_faq.md)