Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 1 | set(LLVM_LINK_COMPONENTS |
NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 2 | Core |
| 3 | ExecutionEngine |
| 4 | Interpreter |
NAKAMURA Takumi | 23b702c | 2014-07-14 05:01:53 +0000 | [diff] [blame] | 5 | MC |
NAKAMURA Takumi | 7540eaf | 2015-02-16 02:13:30 +0000 | [diff] [blame] | 6 | RuntimeDyld |
NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 7 | Support |
Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 8 | ) |
| 9 | |
| 10 | add_llvm_unittest(ExecutionEngineTests |
| 11 | ExecutionEngineTest.cpp |
| 12 | ) |
| 13 | |
Eric Christopher | 79cc1e3 | 2014-09-02 22:28:02 +0000 | [diff] [blame] | 14 | # Include MCJIT tests only if native arch is a built JIT target. |
Alp Toker | 7bfa48b | 2014-06-08 02:45:56 +0000 | [diff] [blame] | 15 | list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx) |
| 16 | list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx) |
| 17 | if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0) |
Jyotsna Verma | 8542abd | 2013-03-28 03:38:29 +0000 | [diff] [blame] | 18 | add_subdirectory(MCJIT) |
| 19 | endif() |