File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ function(compile_to_bc)
7878 COMMAND ${llvm-as_exe} -o ${ARG_OUTPUT} ${ARG_OUTPUT}${TMP_SUFFIX}
7979 DEPENDS ${llvm-as_target} ${ARG_OUTPUT}${TMP_SUFFIX}
8080 )
81- add_custom_target ( ${ARG_TARGET} -as DEPENDS ${ARG_OUTPUT} )
8281 endif ()
8382endfunction ()
8483
@@ -295,7 +294,6 @@ function(add_libclc_builtin_set)
295294 get_filename_component ( file_ext ${file} EXT )
296295 if ( ${file_ext} STREQUAL ".ll" )
297296 list ( APPEND bytecode_ir_files ${output_file} )
298- list ( APPEND compile_tgts ${tgt} -as )
299297 else ()
300298 list ( APPEND bytecode_files ${output_file} )
301299 endif ()
@@ -310,7 +308,7 @@ function(add_libclc_builtin_set)
310308
311309 set ( builtins_comp_lib_tgt builtins.comp.${ARG_ARCH_SUFFIX} )
312310 add_custom_target ( ${builtins_comp_lib_tgt}
313- DEPENDS ${compile_tgts}
311+ DEPENDS ${bytecode_files} ${ compile_tgts}
314312 )
315313 set_target_properties ( ${builtins_comp_lib_tgt} PROPERTIES FOLDER "libclc/Device IR/Comp" )
316314
You can’t perform that action at this time.
0 commit comments