Lines Matching +full:cache +full:- +full:dependency +full:- +full:path

14   # Lit uses psutil to do per-test timeouts.
35 # In order to run check-lldb-* we need the correct map_config directives in
36 # llvm-lit. Because this is a standalone build, LLVM doesn't know about LLDB,
37 # and the lldb mappings are missing. We build our own llvm-lit, and tell LLVM
38 # to use the llvm-lit in the lldb build directory.
39 if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
40 set(LLVM_EXTERNAL_LIT ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/llvm-lit)
50 set(LLDB_TEST_BUILD_DIRECTORY "${PROJECT_BINARY_DIR}/lldb-test-build.noindex" CACHE PATH "The build root for building tests.")
52 # Configure and create module cache directories.
53 set(LLDB_TEST_MODULE_CACHE_LLDB "${LLDB_TEST_BUILD_DIRECTORY}/module-cache-lldb" CACHE PATH "The Clang module cache used by the Clang embedded in LLDB while running tests.")
54 set(LLDB_TEST_MODULE_CACHE_CLANG "${LLDB_TEST_BUILD_DIRECTORY}/module-cache-clang" CACHE PATH "The Clang module cache used by the Clang while building tests.")
58 # Windows and Linux have no built-in ObjC runtime. Turn this on in order to run tests with GNUstep.
59 option(LLDB_TEST_OBJC_GNUSTEP "Enable ObjC tests with GNUstep libobjc2 on non-Apple platforms" Off)
60 set(LLDB_TEST_OBJC_GNUSTEP_DIR "" CACHE PATH "Custom path to the GNUstep shared library")
79 set(LLDB_TEST_OBJC_GNUSTEP_DIR "" CACHE PATH "Custom path to the GNUstep shared library" FORCE)
93 add_custom_target(lldb-test-depends)
94 set_target_properties(lldb-test-depends PROPERTIES FOLDER "LLDB/Tests")
96 # Create an alias for the legacy name of lldb-test-depends
97 add_custom_target(lldb-test-deps)
98 set_target_properties(lldb-test-deps PROPERTIES FOLDER "LLDB/Tests")
99 add_dependencies(lldb-test-deps lldb-test-depends)
102 foreach(dependency ${ARGN})
103 add_dependencies(lldb-test-depends ${dependency})
107 # lldb itself and lldb-test is an hard dependency for the testsuites.
109 add_lldb_test_dependency(lldb-test)
111 # On Darwin, darwin-debug is an hard dependency for the testsuites.
113 add_lldb_test_dependency(darwin-debug)
119 if(TARGET lldb-server)
120 add_lldb_test_dependency(lldb-server)
123 if(TARGET lldb-dap)
124 add_lldb_test_dependency(lldb-dap)
131 if(TARGET lldb-framework)
132 add_lldb_test_dependency(lldb-framework)
141 llvm-strip
143 split-file
152 # Add dependencies if we test with the in-tree clang.
172 if (TARGET compiler-rt OR "compiler-rt" IN_LIST LLVM_ENABLE_RUNTIMES)
190 "test-suite for a standalone LLDB build please build libcxx and point "
211 lit-cpuid
214 llvm-config
215 llvm-dwarfdump
216 llvm-dwp
217 llvm-nm
218 llvm-mc
219 llvm-objcopy
220 llvm-pdbutil
221 llvm-readobj
222 llvm-ar
238 set(LLDB_TEST_SHELL_DISABLE_REMOTE OFF CACHE BOOL "Disable remote Shell tests execution")
266 add_lit_testsuite(check-lldb "Running lldb lit test suite"
269 lldb-api-test-deps
270 lldb-shell-test-deps
271 lldb-unit-test-deps)
275 if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
279 add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit ${CMAKE_CURRENT_BINARY_DIR}/llvm-lit)