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

Commit fb5abf7

Browse files
committed
Merge remote-tracking branch 'public/intel' into private/vromanov/MoreUseSYCLSYCL
2 parents c04cb2f + ff71a20 commit fb5abf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198
extra_sycl_include = ""
199199
sycl_hpp_available = subprocess.getstatusoutput(config.dpcpp_compiler+' -fsycl ' + check_sycl_hpp_file)
200-
if sycl_hpp_available != 0:
200+
if sycl_hpp_available[0] != 0:
201201
extra_sycl_include = " " + ("/I" if cl_options else "-I") + config.extra_include
202202

203203
config.substitutions.append( ('%clangxx', ' '+ config.dpcpp_compiler + ' ' + config.cxx_flags + ' ' + arch_flag + extra_sycl_include) )

0 commit comments

Comments
 (0)