Skip to content

Commit 479ffe8

Browse files
committed
[OpenMP] Fix Xarch OpenMP test on Windows
Summary: We don't support OpenMP offloading on Windows so this produces weird results.
1 parent 4df287a commit 479ffe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/offload-Xarch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
// Make sure that `-Xarch_amdgcn` forwards libraries to the device linker.
3737
// RUN: %clang -fopenmp=libomp --offload-arch=gfx90a -nogpulib -nogpuinc \
38-
// RUN: -Xarch_amdgcn -Wl,-lfoo -### %s 2>&1 \
38+
// RUN: --target=x86_64-unknown-linux-gnu -Xarch_amdgcn -Wl,-lfoo -### %s 2>&1 \
3939
// RUN: | FileCheck -check-prefix=LIBS %s
4040
// RUN: %clang -fopenmp=libomp --offload-arch=gfx90a -nogpulib -nogpuinc \
4141
// RUN: -Xoffload-linker-amdgcn-amd-amdhsa -lfoo -### %s 2>&1 \

0 commit comments

Comments
 (0)