Skip to content

Commit 7b7537c

Browse files
authored
[hipcc] Disable passing device libs
Clang has similar logic to locate these libs, so no need to duplicate the search here
1 parent 92aa125 commit 7b7537c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

amd/hipcc/src/hipBin_amd.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -862,16 +862,6 @@ void HipBinAmd::executeHipCCCmd(vector<string> argv) {
862862
}
863863
}
864864

865-
if (hasHIP) {
866-
fs::path bitcodeFs = roccmPath;
867-
bitcodeFs /= "amdgcn/bitcode";
868-
if (deviceLibPath != bitcodeFs.string()) {
869-
string hip_device_lib_str = " --hip-device-lib-path=\""
870-
+ deviceLibPath + "\"";
871-
HIPCXXFLAGS += hip_device_lib_str;
872-
}
873-
}
874-
875865
// to avoid using dk linker or MSVC linker
876866
if (isWindows()) {
877867
HIPLDFLAGS += " -fuse-ld=lld --ld-path=\"" + hipClangPath + "/lld-link.exe\"";

0 commit comments

Comments
 (0)