Skip to content

Commit c9ec56e

Browse files
committed
Fix buildbot issue
1 parent f2ec205 commit c9ec56e

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

flang/test/Driver/omp-driver-offload-amdgpu.f90

Lines changed: 0 additions & 18 deletions
This file was deleted.

flang/test/Driver/omp-driver-offload.f90

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,15 @@
229229
! FORCE-USM-OFFLOAD-SAME: "-fopenmp" "-fopenmp-force-usm"
230230

231231
! Test that the -fopenmp-targets option is added to host compilation invocations
232-
! when --offload-arch is set.
232+
! when --offload-arch or -fopenmp-targets are set.
233233
! RUN: %flang -S -### %s -o %t 2>&1 \
234234
! RUN: -fopenmp --offload-arch=gfx90a \
235235
! RUN: --target=x86_64-unknown-linux-gnu \
236236
! RUN: | FileCheck %s --check-prefix=OFFLOAD-TARGETS
237+
! RUN: %flang -S -### %s -o %t 2>&1 \
238+
! RUN: -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa --offload-arch=gfx90a \
239+
! RUN: --target=x86_64-unknown-linux-gnu \
240+
! RUN: | FileCheck %s --check-prefix=OFFLOAD-TARGETS
237241

238242
! OFFLOAD-TARGETS: "{{[^"]*}}flang-new" "-fc1" "-triple" "x86_64-unknown-linux-gnu"
239243
! OFFLOAD-TARGETS-SAME: "-fopenmp-targets=amdgcn-amd-amdhsa"

0 commit comments

Comments
 (0)