Skip to content

Commit f467dee

Browse files
committed
SWDEV-313590 - appending rocmpath at the end of rpath
1 parent aebe99f commit f467dee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

amd/hipcc/src/hipBin_amd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,8 +1122,8 @@ void HipBinAmd::executeHipCCCmd(vector<string> argv) {
11221122
roccmPath+ "/lib -lhsa-runtime64 -ldl -lnuma " + toolArgs;
11231123
toolArgs = toolArgTemp;
11241124
} else {
1125-
toolArgTemp = " -Wl,--enable-new-dtags -Wl,-rpath=" + hipLibPath + ":"
1126-
+ roccmPath+"/lib -lamdhip64 " + toolArgs;
1125+
toolArgTemp = toolArgs + " -Wl,--enable-new-dtags -Wl,-rpath=" + hipLibPath + ":"
1126+
+ roccmPath+"/lib -lamdhip64 ";
11271127
toolArgs = toolArgTemp;
11281128
}
11291129

0 commit comments

Comments
 (0)