Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 1 | set(LLVM_LINK_COMPONENTS |
Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 2 | interpreter |
Chandler Carruth | 94d0251 | 2012-06-21 09:51:26 +0000 | [diff] [blame] | 3 | ) |
| 4 | |
| 5 | add_llvm_unittest(ExecutionEngineTests |
| 6 | ExecutionEngineTest.cpp |
| 7 | ) |
| 8 | |
Jyotsna Verma | 8542abd | 2013-03-28 03:38:29 +0000 | [diff] [blame] | 9 | # Include JIT/MCJIT tests only if native arch is a JIT target. |
| 10 | list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" have_jit) |
| 11 | if (NOT have_jit EQUAL -1 ) |
| 12 | add_subdirectory(JIT) |
| 13 | add_subdirectory(MCJIT) |
| 14 | endif() |