[clang] [NFC][Clang] Use InstalledDir instead of Build config as anchor in test (PR #126770)
Jinsong Ji via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 11 09:47:04 PST 2025
https://github.com/jsji created https://github.com/llvm/llvm-project/pull/126770
Build config is optional in build config, use InstalledDir instead to
avoid unexpected failures in different build config.
>From d8367f6d54b62a94613d38c26c216cb81f2acdae Mon Sep 17 00:00:00 2001
From: Jinsong Ji <jinsong.ji at intel.com>
Date: Tue, 11 Feb 2025 16:59:05 +0100
Subject: [PATCH] [NFC][Clang] Use InstalledDir instead of Build config as
anchor in test
Build config is optional in build config, use InstalledDir instead to
avoid unexpected failures in different build config.
---
clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
More information about the cfe-commits
mailing list