Lines Matching refs:compiler
25 set(COMPILER_RT_SRC_ROOT ${LLVM_MAIN_SRC_DIR}/projects/compiler-rt)
38 # Add compiler-rt as an external project.
39 set(COMPILER_RT_PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt)
41 set(STAMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/compiler-rt-stamps/)
42 set(BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/compiler-rt-bins/)
44 add_custom_target(compiler-rt-clear
47 COMMENT "Clobberring compiler-rt build and stamp directories"
69 ExternalProject_Add(compiler-rt
103 ExternalProject_Add_Step(compiler-rt clean
105 COMMENT "Cleaning compiler-rt..."
113 COMPONENT compiler-rt)
115 add_llvm_install_targets(install-compiler-rt
116 DEPENDS compiler-rt
117 COMPONENT compiler-rt)
119 # Add top-level targets that build specific compiler-rt runtimes.
125 DEPENDS compiler-rt-configure
131 # Add binaries that compiler-rt tests depend on.
135 # Add top-level targets for various compiler-rt test suites.
143 DEPENDS compiler-rt-build ${COMPILER_RT_TEST_DEPENDENCIES}
150 # Add special target to run all compiler-rt test suites.
152 add_custom_target(check-compiler-rt
154 DEPENDS compiler-rt-build ${COMPILER_RT_TEST_DEPENDENCIES}
158 # Add special target to run all compiler-rt test suites.
159 get_ext_project_build_command(run_check_compiler_rt compiler-rt-test-depends)
160 add_custom_target(compiler-rt-test-depends
162 DEPENDS compiler-rt-build ${COMPILER_RT_TEST_DEPENDENCIES}
165 set_property(GLOBAL APPEND PROPERTY LLVM_ADDITIONAL_TEST_DEPENDS compiler-rt-test-depends)
166 set_property(GLOBAL APPEND PROPERTY LLVM_ADDITIONAL_TEST_TARGETS check-compiler-rt)