1 set(LLVM_LINK_COMPONENTS 2 interpreter 3 ) 4 5 add_llvm_unittest(ExecutionEngineTests 6 ExecutionEngineTest.cpp 7 ) 8 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() 15