Skip to content

Commit e5470f6

Browse files
committed
add_compiler_rt_cfg already exists
1 parent 073ab67 commit e5470f6

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

compiler-rt/cmake/Modules/AddCompilerRT.cmake

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -582,23 +582,6 @@ macro(add_compiler_rt_script name)
582582
DESTINATION ${COMPILER_RT_INSTALL_BINARY_DIR})
583583
endmacro(add_compiler_rt_script src name)
584584

585-
macro(add_compiler_rt_cfg target_name file_name component)
586-
set(src_file "${CMAKE_CURRENT_SOURCE_DIR}/${file_name}")
587-
get_compiler_rt_output_dir(${COMPILER_RT_DEFAULT_TARGET_ARCH} output_dir)
588-
set(dst_file "${output_dir}/${file_name}")
589-
add_custom_command(OUTPUT ${dst_file}
590-
DEPENDS ${src_file}
591-
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file}
592-
COMMENT "Copying ${file_name}...")
593-
add_custom_target(${target_name} DEPENDS ${dst_file})
594-
install(FILES ${file_name}
595-
DESTINATION ${COMPILER_RT_INSTALL_LIBRARY_DIR}
596-
COMPONENT ${component})
597-
add_dependencies(${component} ${target_name})
598-
599-
set_target_properties(${target_name} PROPERTIES FOLDER "Compiler-RT Misc")
600-
endmacro()
601-
602585
# Builds custom version of libc++ and installs it in <prefix>.
603586
# Can be used to build sanitized versions of libc++ for running unit tests.
604587
# add_custom_libcxx(<name> <prefix>

0 commit comments

Comments
 (0)