Skip to content

Commit 70c1f6d

Browse files
Sharjeel-Khanjoaosaffran
authored andcommitted
[Clang][Driver][HIP] Fix test for HIP as it was failing (llvm#126585)
This PR llvm#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.
1 parent 3f8e4fd commit 70c1f6d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/Driver/dep-file-flag-with-multiple-offload-archs.hip

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// RUN: %clang -### -nogpuinc -nogpulib --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 -MD -MF tmp.d %s 2>&1 | FileCheck %s
1+
// RUN: %clang -### -nogpuinc -nogpulib --offload-arch=gfx1030 --offload-arch=gfx1100 --offload-arch=gfx1101 --target=x86_64-linux-gnu -MD -MF tmp.d %s 2>&1 | FileCheck %s
22

3-
// CHECK: Build config:
43
// CHECK-NOT: {{.*}}clang{{.*}}"-target-cpu" "gfx1030"{{.*}}"-dependency-file" "tmp.d"
54
// CHECK: {{.*}}lld{{.*}}"-plugin-opt=mcpu=gfx1030"
65
// CHECK-NOT: {{.*}}clang{{.*}}"-target-cpu" "gfx1100"{{.*}}"-dependency-file" "tmp.d"

0 commit comments

Comments
 (0)