2012-06-21 09:51:26 +00:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2013-12-10 11:13:32 +00:00
|
|
|
Core
|
|
|
|
ExecutionEngine
|
|
|
|
Interpreter
|
2014-07-14 05:01:53 +00:00
|
|
|
MC
|
2015-02-23 00:36:25 +00:00
|
|
|
OrcJIT
|
2015-02-16 02:13:30 +00:00
|
|
|
RuntimeDyld
|
2013-12-10 11:13:32 +00:00
|
|
|
Support
|
2012-06-21 09:51:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_unittest(ExecutionEngineTests
|
|
|
|
ExecutionEngineTest.cpp
|
|
|
|
)
|
|
|
|
|
2015-02-23 00:36:25 +00:00
|
|
|
add_subdirectory(Orc)
|
|
|
|
|
2014-09-02 22:28:02 +00:00
|
|
|
# Include MCJIT tests only if native arch is a built JIT target.
|
2014-06-08 02:45:56 +00:00
|
|
|
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 03:38:29 +00:00
|
|
|
add_subdirectory(MCJIT)
|
|
|
|
endif()
|