Skip to content

Commit a0f8191

Browse files
committed
[libclc] Give built bytecode objects a .bc extension. NFC
1 parent ac79188 commit a0f8191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libclc/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
326326
# Generated files are given just as file names, which we must make
327327
# absolute to the binary directory.
328328
set( input_file ${CMAKE_CURRENT_BINARY_DIR}/${file} )
329-
set( output_file "${LIBCLC_ARCH_OBJFILE_DIR}/${file}.o" )
329+
set( output_file "${LIBCLC_ARCH_OBJFILE_DIR}/${file}.bc" )
330330
else()
331331
# Other files are originally relative to each SOURCE file, which are
332332
# then make relative to the libclc root directory. We must normalize
@@ -336,7 +336,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
336336
get_filename_component( abs_path ${file} ABSOLUTE BASE_DIR ${PROJECT_SOURCE_DIR} )
337337
file( RELATIVE_PATH root_rel_path ${PROJECT_SOURCE_DIR} ${abs_path} )
338338
set( input_file ${PROJECT_SOURCE_DIR}/${file} )
339-
set( output_file "${LIBCLC_ARCH_OBJFILE_DIR}/${root_rel_path}.o" )
339+
set( output_file "${LIBCLC_ARCH_OBJFILE_DIR}/${root_rel_path}.bc" )
340340
endif()
341341

342342
get_filename_component( file_dir ${file} DIRECTORY )

0 commit comments

Comments
 (0)