[clang] [Clang][Driver][HIP] Fix test for HIP as it was failing (PR #126585)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 11:40:01 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-driver
Author: Sharjeel Khan (Sharjeel-Khan)
<details>
<summary>Changes</summary>
This PR #<!-- -->125646 added this test and it was failing in Android's compiler and on my machine locally. I removed the "Build config" check and it passes now.
---
Full diff: https://github.com/llvm/llvm-project/pull/126585.diff
1 Files Affected:
- (modified) clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip (-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 79a52f0bc89812..cf92af03b84285 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,5 @@
// 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-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/126585
More information about the cfe-commits
mailing list