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

Change-Id: I35fb67091f1d65ad9474e80f71826a3031c9654e


[ROCm/hip commit: d2555768ac]
Dieser Commit ist enthalten in:
ROCm CI Service Account verfasst und GitHub committed 2022-12-21 12:38:04 -08:00
1 Ursprung ddd85e25fe
Commit 5447c21572
1 Datei geändert
+3
Ausführbare Datei → Normale Datei
+3
Datei anzeigen
@@ -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