-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch to fix cmakefile to build rocminfo so rpath works
- Loading branch information
1 parent
abf455c
commit 6cf45ac
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index ce08409..f731d6a 100755 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -55,7 +55,7 @@ include(utils) | ||
set(ROCRTST_BLD_BITS CACHE "64" STRING "Either 32 or 64") | ||
set(ROCM_DIR CACHE PATH "Root for RocM install") | ||
set(ROCR_INC_DIR ${ROCM_DIR}/include CACHE PATH "Path for RocM includes") | ||
-set(ROCR_LIB_DIR ${ROCM_DIR}/lib CACHE PATH "Path for RocM libraries") | ||
+set(ROCR_LIB_DIR ${ROCM_DIR}/hsa/lib CACHE PATH "Path for RocM libraries") | ||
# | ||
# Determine ROCR Header files are present | ||
# |