hipcc doesn't find libhsakmt without ldconf entries

Signed-off-by: Srinivasan Subramanian <srinivasan.subramanian@amd.com>
Change-Id: Iea6a43786f05c9e44dcf863f4f96a53f81384dbd
This commit is contained in:
Srinivasan Subramanian authored and Freddy Paul committed 2020-10-02 12:55:00 -04:00
1 parent c8ac97a1e0
commit 8b889ad26e
1 file changed
+2 -1
+2 -1
View File
@@ -803,7 +803,8 @@ if ($needHipHcc) {
if ($linkType eq 0) {
substr($HIPLDFLAGS,0,0) = " $HIP_LIB_PATH/libamdhip64.a " ;
} else {
substr($HIPLDFLAGS,0,0) = " -Wl,--enable-new-dtags -Wl,--rpath=$HIP_LIB_PATH:$ROCM_PATH/lib $HIP_LIB_PATH/libamdhip64.so ";
#Currently in ROCm some of libraries are in lib64 and rest are in lib folder in centos.
substr($HIPLDFLAGS,0,0) = " -Wl,--enable-new-dtags -Wl,--rpath=$HIP_LIB_PATH:$ROCM_PATH/lib:$ROCM_PATH/lib64 $HIP_LIB_PATH/libamdhip64.so ";
}
}