|
8 | 8 | //////////////////////////////////////////////////////////////////////////////// |
9 | 9 | //////////////////////////////////////////////////////////////////////////////// |
10 | 10 | //////////////////////////////////////////////////////////////////////////////// |
| 11 | +// RUN: %clangxx -fintelfpga -fsycl %S/Inputs/fpga_main.cpp -c -o %t_main.o |
| 12 | + |
11 | 13 | // Build any early archive binaries. |
12 | 14 | // RUN: %clangxx -fintelfpga -fsycl -fsycl-link=early %S/Inputs/fpga_sub.cpp -o %t_early_sub.a |
13 | 15 | // RUN: %clangxx -fintelfpga -fsycl -fsycl-link=early %S/Inputs/fpga_add.cpp -o %t_early_add.a |
|
25 | 27 | //////////////////////////////////////////////////////////////////////////////// |
26 | 28 | // Use a variety of archive orders |
27 | 29 | //////////////////////////////////////////////////////////////////////////////// |
28 | | -// RUN: %clangxx -fintelfpga -fsycl %S/Inputs/fpga_main.cpp %t_early_image_add.a %t_early_image_sub.a %t_early_image_add_x.a %t_early_image_sub_x.a -o %t_early_image.out |
| 30 | +// RUN: %clangxx -fintelfpga -fsycl %t_main.o %t_early_image_add.a %t_early_image_sub.a %t_early_image_add_x.a %t_early_image_sub_x.a -o %t_early_image.out |
29 | 31 | // RUN: %{run} %t_early_image.out |
30 | | -// RUN: %clangxx -fintelfpga -fsycl %S/Inputs/fpga_main.cpp %t_early_image_sub_x.a %t_early_image_add.a %t_early_image_sub.a %t_early_image_add_x.a -o %t_early_image.out |
| 32 | +// RUN: %clangxx -fintelfpga -fsycl %t_main.o %t_early_image_sub_x.a %t_early_image_add.a %t_early_image_sub.a %t_early_image_add_x.a -o %t_early_image.out |
31 | 33 | // RUN: %{run} %t_early_image.out |
32 | | -// RUN: %clangxx -fintelfpga -fsycl %S/Inputs/fpga_main.cpp %t_early_image_add_x.a %t_early_image_sub_x.a %t_early_image_add.a %t_early_image_sub.a -o %t_early_image.out |
| 34 | +// RUN: %clangxx -fintelfpga -fsycl %t_main.o %t_early_image_add_x.a %t_early_image_sub_x.a %t_early_image_add.a %t_early_image_sub.a -o %t_early_image.out |
33 | 35 | // RUN: %{run} %t_early_image.out |
34 | | -// RUN: %clangxx -fintelfpga -fsycl %S/Inputs/fpga_main.cpp %t_early_image_sub.a %t_early_image_add_x.a %t_early_image_sub_x.a %t_early_image_add.a -o %t_early_image.out |
| 36 | +// RUN: %clangxx -fintelfpga -fsycl %t_main.o %t_early_image_sub.a %t_early_image_add_x.a %t_early_image_sub_x.a %t_early_image_add.a -o %t_early_image.out |
35 | 37 | // RUN: %{run} %t_early_image.out |
0 commit comments