mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 20:30:06 +00:00
Add dependency to "make check".
cmake/modules/AddLLVM.cmake: Add empty "phony" target in add_llvm_loadable_module() even if loadable module were not supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121455 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8070812f4c
commit
51c06bf6ad
@ -32,6 +32,8 @@ macro(add_llvm_loadable_module name)
|
||||
if( NOT LLVM_ON_UNIX OR CYGWIN )
|
||||
message(STATUS "Loadable modules not supported on this platform.
|
||||
${name} ignored.")
|
||||
# Add empty "phony" target
|
||||
add_custom_target(${name})
|
||||
else()
|
||||
llvm_process_sources( ALL_FILES ${ARGN} )
|
||||
add_library( ${name} MODULE ${ALL_FILES} )
|
||||
|
@ -81,7 +81,15 @@ if(PYTHONINTERP_FOUND)
|
||||
--param build_mode=${RUNTIME_BUILD_MODE}
|
||||
${LIT_ARGS}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
DEPENDS
|
||||
COMMENT "Running LLVM regression tests")
|
||||
|
||||
add_custom_target(check.deps)
|
||||
add_dependencies(check check.deps)
|
||||
add_dependencies(check.deps
|
||||
UnitTests
|
||||
BugpointPasses LLVMHello
|
||||
llc lli llvm-ar llvm-as llvm-dis llvm-extract
|
||||
llvm-ld llvm-link llvm-mc llvm-nm opt
|
||||
FileCheck count not)
|
||||
|
||||
endif()
|
||||
|
@ -1,3 +1,5 @@
|
||||
add_llvm_loadable_module( BugpointPasses
|
||||
TestPasses.cpp
|
||||
)
|
||||
|
||||
add_dependencies(BugpointPasses bugpoint)
|
||||
|
Loading…
Reference in New Issue
Block a user