Skip to content

Commit c18e6d2

Browse files
committed
next alteration to try to make CI happy
1 parent e0c4dce commit c18e6d2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

flang/test/Driver/xoffload-linker.f90

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
! RUN %flang -### --target=x86_64-unknown-linux-gnu -fopenmp --offload-arch=gfx90a -Xoffload-linker a %s 2>&1 | FileCheck %s --check-prefixes=CHECK-XLINKER
1+
! Test the -Xoffload-linker flag that forwards link commands to the clang-linker-wrapper used
2+
! to help link offloading device libraries
23

3-
! CHECK-XLINKER {{.*}}--device-linker=a{{.*}}
4+
! RUN: %flang -### --target=x86_64-unknown-linux-gnu -fopenmp --offload-arch=gfx90a -Xoffload-linker a %s 2>&1 | FileCheck %s --check-prefixes=CHECK-XLINKER
45

5-
! RUN: %flang -### --target=x86_64-unknown-linux-gnu -fopenmp --offload-arch=gfx90a -Xoffload-linker a -Xoffload-linker-amdgcn-amd-amdhsa b %s 2>&1 | FileCheck %s --check-prefixes=CHECK-XLINKER-AMDGCN
6+
! CHECK-XLINKER: -device-linker=a{{.*}}-
67

7-
! CHECK-XLINKER-AMDGCN: {{.*}}"--device-linker=a"{{.*}}"--device-linker=amdgcn-amd-amdhsa=b"{{.*}}
8+
! RUN: %flang -### --target=x86_64-unknown-linux-gnu -fopenmp --offload-arch=gfx90a -Xoffload-linker a -Xoffload-linker-amdgcn-amd-amdhsa b %s 2>&1 | FileCheck %s --check-prefixes=CHECK-XLINKER-AMDGCN
89

9-
end program
10+
! CHECK-XLINKER-AMDGCN: -device-linker=a{{.*}}-device-linker=amdgcn-amd-amdhsa=b{{.*}}--

0 commit comments

Comments
 (0)