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 |
David Blaikie | e960a4e | 2015-02-23 00:36:25 +0000 | [diff] [blame^] | 6 | OrcJIT |
NAKAMURA Takumi | 7540eaf | 2015-02-16 02:13:30 +0000 | [diff] [blame] | 7 | RuntimeDyld |
NAKAMURA Takumi | b5c4b876 | 2013-12-10 11:13:32 +0000 | [diff] [blame] | 8 | Support |
Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 9 | ) |
| 10 | |
| 11 | add_llvm_unittest(ExecutionEngineTests |
| 12 | ExecutionEngineTest.cpp |
| 13 | ) |
| 14 | |
David Blaikie | e960a4e | 2015-02-23 00:36:25 +0000 | [diff] [blame^] | 15 | add_subdirectory(Orc) |
| 16 | |
Eric Christopher | 79cc1e3 | 2014-09-02 22:28:02 +0000 | [diff] [blame] | 17 | # Include MCJIT tests only if native arch is a built JIT target. |
Alp Toker | 7bfa48b | 2014-06-08 02:45:56 +0000 | [diff] [blame] | 18 | list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx) |
| 19 | list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx) |
| 20 | if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0) |
Jyotsna Verma | 8542abd | 2013-03-28 03:38:29 +0000 | [diff] [blame] | 21 | add_subdirectory(MCJIT) |
| 22 | endif() |