2012-06-21 11:51:26 +02:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2013-12-10 12:13:32 +01:00
|
|
|
Core
|
|
|
|
ExecutionEngine
|
|
|
|
Interpreter
|
|
|
|
Support
|
2012-06-21 11:51:26 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_unittest(ExecutionEngineTests
|
|
|
|
ExecutionEngineTest.cpp
|
|
|
|
)
|
|
|
|
|
2014-06-08 04:45:56 +02:00
|
|
|
# Include JIT/MCJIT tests only if native arch is a built JIT target.
|
|
|
|
list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx)
|
|
|
|
list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx)
|
|
|
|
if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0)
|
2013-03-28 04:38:29 +01:00
|
|
|
add_subdirectory(JIT)
|
|
|
|
add_subdirectory(MCJIT)
|
|
|
|
endif()
|