Skip to content

Commit 6057e93

Browse files
author
Artem Gindinson
authored
[SYCL][Test] Remove leftovers for FPGA archives (#2735)
As with [750c979], remove the already-existing archive file to ensure correct behavior of the LIT in local environments. Signed-off-by: Artem Gindinson <[email protected]>
1 parent 2934aac commit 6057e93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test/fpga_tests/fpga_device_link_diag.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// RUN: %clangxx -fsycl -fintelfpga %s -c -o test_obj.o
1212
// RUN: touch dummy.cpp
1313
// RUN: %clangxx -fsycl -fintelfpga dummy.cpp -c
14+
// To avoid appending objects to leftover archives, remove one if exists.
15+
// RUN: rm dummy_arch.a || true
1416
// RUN: %clangxx -fsycl -fintelfpga -fsycl-link=image dummy.o -o dummy_arch.a
1517
// RUN: not %clangxx -fsycl -fintelfpga test_obj.o dummy_arch.a 2>&1 | FileCheck %s --check-prefix=CHK-FPGA-LINK-DIAG
1618
// CHK-FPGA-LINK-DIAG: note: diagnostic msg: The FPGA image does not include all device kernels from test_obj.o. Please re-generate the image

0 commit comments

Comments
 (0)