Skip to content

Commit c6b9d5c

Browse files
authored
clang/HIP: Use regex for final path separator in hip-partial-link.hip (#130291)
Somehow this passed the precheck test on the windows bot, but is failing in precheck of unrelated PRs
1 parent d6a4828 commit c6b9d5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/test/Driver/hip-partial-link.hip

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
// STATIC: Found undefined HIP fatbin symbol: __hip_fatbin_[[ID2:[0-9a-f]+]]
6363
// STATIC: Found undefined HIP gpubin handle symbol: __hip_gpubin_handle_[[ID1]]
6464
// STATIC: Found undefined HIP gpubin handle symbol: __hip_gpubin_handle_[[ID2]]
65-
// STATIC: "{{.*}}/clang-offload-bundler" {{.*}}-unbundle
66-
// STATIC: "{{.*}}/lld" -flavor gnu -m elf64_amdgpu
67-
// STATIC: "{{.*}}/clang-offload-bundler"
68-
// STATIC: "{{.*}}/clang{{.*}}" -target x86_64-unknown-linux-gnu
69-
// STATIC: "{{.*}}/llvm-ar"
65+
// STATIC: "{{.*[/\\]}}clang-offload-bundler" {{.*}}-unbundle
66+
// STATIC: "{{.*[/\\]}}lld" -flavor gnu -m elf64_amdgpu
67+
// STATIC: "{{.*[/\\]}}clang-offload-bundler"
68+
// STATIC: "{{.*[/\\]}}clang{{.*}}" -target x86_64-unknown-linux-gnu
69+
// STATIC: "{{.*[/\\]}}llvm-ar"
7070

7171
// RUN: %clang -v --target=x86_64-unknown-linux-gnu --no-offload-new-driver \
7272
// RUN: --hip-link -no-hip-rt -fgpu-rdc --offload-arch=gfx906 \

0 commit comments

Comments
 (0)