Adapting to static libaray changes for hipcc
Since the introduction of BUILD_SHARED_LIBS there is only one target created : libamdhip64 Which is static ( libamdhip64.a ) or Dynamic ( libamdhip64.so ) depending on whichever it is being compiled for. After this change we do not have any target libamdhip64_static which is mentioned in the hipcc for linking. Hence cleaning the same. Change-Id: Ia45c145e17b111b3f6a32299a11962b10f1cc539
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Aditya Lad
ebeveyn
9f1cd25ade
işleme
9f3cf75713
+1
-1
@@ -837,7 +837,7 @@ if ($HIP_PLATFORM eq "hcc" and $HIP_COMPILER eq "clang") {
|
||||
|
||||
if (not $isWindows and not $compileOnly) {
|
||||
if ($linkType eq 0) {
|
||||
$toolArgs .= " -L$HIP_LIB_PATH -lamdhip64_static -L$ROCM_PATH/lib -lhsa-runtime64 -ldl -lnuma ";
|
||||
$toolArgs .= " -L$HIP_LIB_PATH -lamdhip64 -L$ROCM_PATH/lib -lhsa-runtime64 -ldl -lnuma ";
|
||||
} else {
|
||||
$toolArgs .= " -Wl,--enable-new-dtags -Wl,--rpath=$HIP_LIB_PATH:$ROCM_PATH/lib -lhip_hcc -lnuma ";
|
||||
}
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle