diff options
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index bdb5d79..f85a1d9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -30,6 +30,7 @@ set(LLVM_TEST_DEPENDS llvm-cov llvm-diff llvm-dis + llvm-dsymutil llvm-dwarfdump llvm-extract llvm-link @@ -37,11 +38,12 @@ set(LLVM_TEST_DEPENDS llvm-mc llvm-mcmarkup llvm-nm - llvm-size llvm-objdump llvm-profdata + llvm-ranlib llvm-readobj llvm-rtdyld + llvm-size llvm-symbolizer llvm-tblgen llvm-vtabledump @@ -68,6 +70,25 @@ if(TARGET llvm-go) set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} llvm-go) endif() +if(TARGET ocaml_llvm) + set(LLVM_TEST_DEPENDS ${LLVM_TEST_DEPENDS} + ocaml_llvm + ocaml_llvm_all_backends + ocaml_llvm_analysis + ocaml_llvm_bitreader + ocaml_llvm_bitwriter + ocaml_llvm_executionengine + ocaml_llvm_irreader + ocaml_llvm_linker + ocaml_llvm_target + ocaml_llvm_ipo + ocaml_llvm_passmgr_builder + ocaml_llvm_scalar_opts + ocaml_llvm_transform_utils + ocaml_llvm_vectorize + ) +endif() + add_lit_testsuite(check-llvm "Running the LLVM regression tests" ${CMAKE_CURRENT_BINARY_DIR} PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg |