SWDEV-357797 - Windows: hipcc to take in args with spaces inside quotes (#2990)

Avoids
"--offload-arch=gfx1034 --offload-arch=gfx1030"
from becoming
"--offload-arch=gfx1034\ --offload-arch=gfx1030"

Change-Id: I4ef0ffeaf5454c274ec4cfb0fe897e5fbc86d3c5

[ROCm/hip commit: 005fd991cc]
이 커밋은 다음에 포함됨:
ROCm CI Service Account 작성하고 GitHub가 2022-10-13 10:56:40 -07:00를 커밋함
1 부모 996399531c
커밋 cd09126130
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -35,7 +35,7 @@ my $isWindows = ($^O eq 'MSWin32' or $^O eq 'msys');
# escapes args with quotes SWDEV-341955
foreach $arg (@ARGV) {
if ($isWindows) {
$arg =~ s/[^-a-zA-Z0-9_=+,.:\/\\]/\\$&/g;
$arg =~ s/[^-a-zA-Z0-9_=+,.:\/\\ ]/\\$&/g;
}
}