SWDEV-359882 - hipcc compiler does not work when installation path contains spaces (#3117)

Change-Id: I35fb67091f1d65ad9474e80f71826a3031c9654e


[ROCm/hip commit: d2555768ac]
Этот коммит содержится в:
ROCm CI Service Account authored and GitHub committed 2022-12-21 12:38:04 -08:00
1 родитель ddd85e25fe
Коммит 5447c21572
1 file changed
+3
Executable → Regular
+3
Просмотреть файл
@@ -172,6 +172,9 @@ if ($HIP_PLATFORM eq "amd") {
if($isWindows) {
$HIPLDFLAGS .= " -fuse-ld=lld";
$HIPLDFLAGS .= " --ld-path=$HIP_CLANG_PATH/lld-link.exe";
# escape possible spaces in path name
$HIPCC =~ s/\s/\\$&/g;
}
# get Clang RT Builtin path