Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 0640465

Browse files
authored
Update clang-offload-bundler usage (#1011)
The commands for clang-offload-bundler have been updated to use -output instead of -outputs. Update test.cpp which uses clang-offload-bundler directly
1 parent 5b8908a commit 0640465

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SYCL/SeparateCompile/test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
//
1919
// >> ---- bundle .o with .spv
2020
// >> run bundler
21-
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -inputs=a.o,a_kernel.bc -outputs=a_fat.o
22-
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -inputs=b.o,b_kernel.bc -outputs=b_fat.o
21+
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -input=a.o -input=a_kernel.bc -output=a_fat.o
22+
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -input=b.o -input=b_kernel.bc -output=b_fat.o
2323
//
2424
// >> ---- unbundle fat objects
25-
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -outputs=a.o,a_kernel.bc -inputs=a_fat.o -unbundle
26-
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -outputs=b.o,b_kernel.bc -inputs=b_fat.o -unbundle
25+
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -output=a.o -output=a_kernel.bc -input=a_fat.o -unbundle
26+
// RUN: clang-offload-bundler -type=o -targets=host-x86_64,sycl-spir64-pc-linux-gnu -output=b.o -output=b_kernel.bc -input=b_fat.o -unbundle
2727
//
2828
// >> ---- link device code
2929
// RUN: llvm-link -o=app.bc a_kernel.bc b_kernel.bc

0 commit comments

Comments
 (0)