Skip to content

Commit

Permalink
patch to fix cmakefile to build rocminfo so rpath works
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrodgers committed Oct 3, 2019
1 parent abf455c commit 6cf45ac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/rocminfo_cmake.patch
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
#

0 comments on commit 6cf45ac

Please sign in to comment.