Skip to content

Commit cbbeb4c

Browse files
committed
[SYCL] fix windows specific test
1 parent f3e55ce commit cbbeb4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/sycl-intelfpga-static-lib-win.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// RUN: lib -out:%t.lib %t1_bundle.obj
1212

1313
/// Check phases with static lib
14-
// RUN: %clang_cl --target=x86_64-pc-windows-msvc -fsycl -fintelfpga %t.lib -ccc-print-phases 2>&1 \
14+
// RUN: %clang_cl --target=x86_64-pc-windows-msvc -fsycl -fno-sycl-device-lib=all -fintelfpga %t.lib -ccc-print-phases 2>&1 \
1515
// RUN: | FileCheck -check-prefix=CHECK_PHASES %s
1616
// CHECK_PHASES: 0: input, "[[INPUT:.+\.lib]]", object, (host-sycl)
1717
// CHECK_PHASES: 1: linker, {0}, image, (host-sycl)
@@ -27,7 +27,7 @@
2727
// CHECK_PHASES: 11: offload, "host-sycl (x86_64-pc-windows-msvc)" {1}, "device-sycl (spir64_fpga-unknown-unknown-sycldevice)" {10}, image
2828

2929
/// Check for unbundle and use of deps in static lib
30-
// RUN: %clang_cl --target=x86_64-pc-windows-msvc -fsycl -fintelfpga %t.lib -### 2>&1 \
30+
// RUN: %clang_cl --target=x86_64-pc-windows-msvc -fsycl -fno-sycl-device-lib=all -fintelfpga %t.lib -### 2>&1 \
3131
// RUN: | FileCheck -check-prefix=CHECK_UNBUNDLE %s
3232
// CHECK_UNBUNDLE: clang-offload-bundler" "-type=aoo" "-targets=sycl-fpga_dep" "-inputs={{.*}}" "-outputs=[[DEPFILES:.+\.txt]]" "-unbundle"
3333
// CHECK_UNBUNDLE: aoc{{.*}} "-dep-files=@[[DEPFILES]]"

0 commit comments

Comments
 (0)