File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -351,8 +351,9 @@ function(add_libclc_builtin_set)
351
351
add_custom_target ( prepare-${obj_suffix} ALL DEPENDS ${obj_suffix} )
352
352
set_target_properties ( "prepare-${obj_suffix} " PROPERTIES FOLDER "libclc/Device IR/Prepare" )
353
353
354
- # nvptx-- targets don't include workitem builtins
355
- if ( NOT ARG_TRIPLE MATCHES ".*ptx.*--$" )
354
+ # nvptx-- targets don't include workitem builtins, and clspv targets don't
355
+ # include all OpenCL builtins
356
+ if ( NOT ARG_ARCH MATCHES "^(nvptx|clspv)(64)?$" )
356
357
add_test ( NAME external-calls-${obj_suffix}
357
358
COMMAND ./check_external_calls.sh ${CMAKE_CURRENT_BINARY_DIR} /${obj_suffix} ${LLVM_TOOLS_BINARY_DIR}
358
359
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
You can’t perform that action at this time.
0 commit comments