[clang] c6b9d5c - clang/HIP: Use regex for final path separator in hip-partial-link.hip (#130291)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 7 08:36:37 PST 2025
Author: Matt Arsenault
Date: 2025-03-07T23:36:34+07:00
New Revision: c6b9d5ce76a155b682b1562122f43166aaa6391d
URL: https://github.com/llvm/llvm-project/commit/c6b9d5ce76a155b682b1562122f43166aaa6391d
DIFF: https://github.com/llvm/llvm-project/commit/c6b9d5ce76a155b682b1562122f43166aaa6391d.diff
LOG: 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
Added:
Modified:
clang/test/Driver/hip-partial-link.hip
Removed:
################################################################################
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 \
More information about the cfe-commits
mailing list