Lines Matching full:runtimes
10 list(APPEND runtimes ${proj_dir})
20 set(all_runtimes ${runtimes})
149 # is required because the other runtimes need the builtin libraries present
153 # If the user did not specify the targets infer them from the runtimes.
209 # for all variables that will apply to runtimes.
210 foreach(entry ${runtimes})
235 include(${LLVM_BINARY_DIR}/runtimes/Components.cmake OPTIONAL)
237 set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${LLVM_BINARY_DIR}/runtimes/Components.cmake)
255 set_property(GLOBAL APPEND PROPERTY LLVM_ALL_LIT_TESTSUITES "@${LLVM_BINARY_DIR}/runtimes/runtimes-bins/lit.tests")
256 list(APPEND test_targets runtimes-test-depends check-runtimes)
261 llvm_ExternalProject_Add(runtimes
262 ${CMAKE_CURRENT_SOURCE_DIR}/../../runtimes
279 CUDA # For runtimes that may look for the CUDA SDK (libc, offload)
289 FOLDER "Runtimes"
297 include(${LLVM_BINARY_DIR}/runtimes/${name}/Components.cmake OPTIONAL)
298 set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${LLVM_BINARY_DIR}/runtimes/${name}/Components.cmake)
343 set_property(GLOBAL APPEND PROPERTY LLVM_ALL_LIT_TESTSUITES "@${LLVM_BINARY_DIR}/runtimes/runtimes-${name}-bins/lit.tests")
344 set(runtimes-test-depends-${name} runtimes-test-depends)
345 set(check-runtimes-${name} check-runtimes)
346 list(APPEND ${name}_test_targets runtimes-test-depends-${name} check-runtimes-${name})
397 llvm_ExternalProject_Add(runtimes-${name}
398 ${CMAKE_CURRENT_SOURCE_DIR}/../../runtimes
415 FOLDER "Runtimes"
418 add_dependencies(runtimes runtimes-${name})
419 add_dependencies(runtimes-configure runtimes-${name}-configure)
420 add_dependencies(install-runtimes install-runtimes-${name})
421 add_dependencies(install-runtimes-stripped install-runtimes-${name}-stripped)
423 add_dependencies(check-runtimes check-runtimes-${name})
424 add_dependencies(runtimes-test-depends runtimes-test-depends-${name})
450 # Check if we have any runtimes to build.
451 if(runtimes)
461 # Create a runtimes target that uses this file as its top-level CMake file.
462 # The runtimes target is a configuration of all the runtime libraries
496 # Forward user-provived system configuration to runtimes for requirement introspection.
558 set(test_targets check-runtimes)
567 add_custom_target(runtimes)
568 add_custom_target(runtimes-configure)
569 add_custom_target(install-runtimes)
570 add_custom_target(install-runtimes-stripped)
572 runtimes runtimes-configure install-runtimes install-runtimes-stripped
573 PROPERTIES FOLDER "Runtimes"
576 add_custom_target(check-runtimes)
577 add_custom_target(runtimes-test-depends)
579 check-runtimes runtimes-test-depends
580 PROPERTIES FOLDER "Runtimes"
617 DEPENDS runtimes-${name}
634 add_dependencies(clang-bootstrap-deps runtimes-configure)
635 # We need to add the runtimes as a dependency because compiler-rt can be
636 # built as part of runtimes and we need the profile runtime for PGO
637 add_dependencies(clang-bootstrap-deps runtimes)
640 # find libomp.so. We must add omp as a dependency before runtimes
648 set_property(GLOBAL APPEND PROPERTY LLVM_ALL_ADDITIONAL_TEST_DEPENDS runtimes-test-depends)
654 set_property(GLOBAL APPEND PROPERTY LLVM_ALL_ADDITIONAL_TEST_TARGETS runtimes ${extra_deps})