https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/130291
Somehow this passed the precheck test on the windows bot, but is failing in precheck of unrelated PRs >From eb8e11fed67652c61c67f4ca83d17a4ce5b3047e Mon Sep 17 00:00:00 2001 From: Matt Arsenault <matthew.arsena...@amd.com> Date: Fri, 7 Mar 2025 22:12:06 +0700 Subject: [PATCH] clang/HIP: Use regex for final path separator in hip-partial-link.hip Somehow this passed the precheck test on the windows bot, but is failing in precheck of unrelated PRs --- clang/test/Driver/hip-partial-link.hip | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clang/test/Driver/hip-partial-link.hip b/clang/test/Driver/hip-partial-link.hip index 5580e56978019..5c538556a5070 100644 --- a/clang/test/Driver/hip-partial-link.hip +++ b/clang/test/Driver/hip-partial-link.hip @@ -62,11 +62,11 @@ // STATIC: Found undefined HIP fatbin symbol: __hip_fatbin_[[ID2:[0-9a-f]+]] // STATIC: Found undefined HIP gpubin handle symbol: __hip_gpubin_handle_[[ID1]] // STATIC: Found undefined HIP gpubin handle symbol: __hip_gpubin_handle_[[ID2]] -// STATIC: "{{.*}}/clang-offload-bundler" {{.*}}-unbundle -// STATIC: "{{.*}}/lld" -flavor gnu -m elf64_amdgpu -// STATIC: "{{.*}}/clang-offload-bundler" -// STATIC: "{{.*}}/clang{{.*}}" -target x86_64-unknown-linux-gnu -// STATIC: "{{.*}}/llvm-ar" +// STATIC: "{{.*[/\\]}}clang-offload-bundler" {{.*}}-unbundle +// STATIC: "{{.*[/\\]}}lld" -flavor gnu -m elf64_amdgpu +// STATIC: "{{.*[/\\]}}clang-offload-bundler" +// STATIC: "{{.*[/\\]}}clang{{.*}}" -target x86_64-unknown-linux-gnu +// STATIC: "{{.*[/\\]}}llvm-ar" // RUN: %clang -v --target=x86_64-unknown-linux-gnu --no-offload-new-driver \ // RUN: --hip-link -no-hip-rt -fgpu-rdc --offload-arch=gfx906 \ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits