[clang] [NFC][Clang] Use InstalledDir instead of Build config as anchor in test (PR #126770)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 11 09:47:36 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jinsong Ji (jsji)
<details>
<summary>Changes</summary>
Build config is optional in build config, use InstalledDir instead to
avoid unexpected failures in different build config.
---
Full diff: https://github.com/llvm/llvm-project/pull/126770.diff
1 Files Affected:
- (modified) clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip (+1-1)
``````````diff
diff --git a/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip b/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
index 79a52f0bc8981..2a3034abb457a 100644
--- a/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
+++ b/clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip
@@ -1,6 +1,6 @@
// RUN: %clang -### -nogpuinc -nogpulib --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 -MD -MF tmp.d %s 2>&1 | FileCheck %s
-// CHECK: Build config:
+// CHECK: InstalledDir:
// CHECK-NOT: {{.*}}clang{{.*}}"-target-cpu" "gfx1030"{{.*}}"-dependency-file" "tmp.d"
// CHECK: {{.*}}lld{{.*}}"-plugin-opt=mcpu=gfx1030"
// CHECK-NOT: {{.*}}clang{{.*}}"-target-cpu" "gfx1100"{{.*}}"-dependency-file" "tmp.d"
``````````
</details>
https://github.com/llvm/llvm-project/pull/126770
More information about the cfe-commits
mailing list