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

Change-Id: I35fb67091f1d65ad9474e80f71826a3031c9654e
This commit is contained in:
ROCm CI Service Account
2022-12-22 02:08:04 +05:30
committato da GitHub
parent 464abba716
commit d2555768ac
Executable → Regular
+3
Vedi File
@@ -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