Skip to content

Commit 731b6f4

Browse files
authored
[SYCL][Driver] Specify target type for lit test. (#2312)
Signed-off-by: haonanya <haonan.yang@intel.com>
1 parent 3e4da3c commit 731b6f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Test if clang is able to print internal defines in SYCL mode
2+
// REQUIRES: x86-registered-target
23
//
3-
// RUN: %clangxx -fsycl -dM -E -x c++ %s 2>&1 \
4+
// RUN: %clangxx -target x86_64-unknown-linux-gnu -fsycl -dM -E -x c++ %s 2>&1 \
45
// RUN: | FileCheck --check-prefix CHECK-PRINT-INTERNAL-DEFINES %s
56
// CHECK-PRINT-INTERNAL-DEFINES: #define

0 commit comments

Comments
 (0)