Skip to content

Commit d6b6854

Browse files
authored
[NFC][libclc] Improve empty builtins error: include ARCH_SUFFIX in message (llvm#164527)
To clarify which builtin set has no bytecode files.
1 parent 093af77 commit d6b6854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libclc/cmake/modules/AddLibclc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ function(add_libclc_builtin_set)
392392
list( PREPEND bytecode_files ${bytecode_ir_files} )
393393

394394
if( NOT bytecode_files )
395-
message(FATAL_ERROR "Cannot create an empty builtins library")
395+
message(FATAL_ERROR "Cannot create an empty builtins library for ${ARG_ARCH_SUFFIX}")
396396
endif()
397397

398398
set( builtins_link_lib_tgt builtins.link.${ARG_ARCH_SUFFIX} )

0 commit comments

Comments
 (0)