File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
/// 1. A SPIR-V-based environment must be targetted
5
5
/// 2. The corresponding Driver option must be enabled explicitly
6
6
7
- // RUN: %clangxx -fsycl -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fsycl-targets=spir64 -### %s 2>&1 \
7
+ /// FIXME: Force linux targets to allow for the libraries to be found. Dummy
8
+ /// inputs for --sysroot should be updated to work better for Windows.
9
+ // RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fsycl-targets=spir64 -### %s 2>&1 \
8
10
// RUN: | FileCheck -check-prefixes=CHECK-SPIRV,CHECK-HOST %s
9
11
/// -fno-sycl-device-lib mustn't affect the linkage of ITT libraries
10
- // RUN: %clangxx -fsycl -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fno-sycl-device-lib=all -fsycl-targets=spir64 -### %s 2>&1 \
12
+ // RUN: %clangxx -target x86_64-unknown-linux-gnu - fsycl -fsycl-instrument-device-code --sysroot=%S/Inputs/SYCL -fno-sycl-device-lib=all -fsycl-targets=spir64 -### %s 2>&1 \
11
13
// RUN: | FileCheck -check-prefixes=CHECK-SPIRV %s
12
14
13
15
// CHECK-SPIRV: "-cc1"{{.*}} "-fsycl-is-device"{{.*}} "-fsycl-instrument-device-code"
You can’t perform that action at this time.
0 commit comments