SWDEV-335125 - to use clang lld-link inplace of dk link or MSVC link (#2671)

Change-Id: Iad217e1fe06827ac3a5a6fad4f3fe61a49ff96b7


[ROCm/hip commit: 0e9f6ac717]
Tá an tiomantas seo le fáil i:
ROCm CI Service Account údaraithe agus GitHub tiomanta 2022-05-06 10:14:38 -07:00
1 tuismitheoir 8ee758a1ca
tiomantas fea2e9a25a
1 comhad athraithe
+4 -1
+4 -1
Féach ar an gComhad
@@ -152,7 +152,10 @@ if ($HIP_PLATFORM eq "amd") {
$HIPCC="$HIP_CLANG_PATH/clang" . $execExtension;
$HIPLDFLAGS = "--driver-mode=g++";
}
# to avoid using dk linker or MSVC linker
if($isWindows) {
$HIPLDFLAGS .= " -fuse-ld=lld";
}
$HIP_CLANG_VERSION = `$HIPCC --version`;
$HIP_CLANG_VERSION=~/.*clang version (\S+).*/;
$HIP_CLANG_VERSION=$1;