projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SystemZ] Add test missing from r186148
[oota-llvm.git]
/
unittests
/
ExecutionEngine
/
CMakeLists.txt
diff --git
a/unittests/ExecutionEngine/CMakeLists.txt
b/unittests/ExecutionEngine/CMakeLists.txt
index 5ca99046beaadfec354d1899d910efe8e43ce4a7..4eefc1e3bb1b0ddcc758cd81311005a4893dde53 100644
(file)
--- a/
unittests/ExecutionEngine/CMakeLists.txt
+++ b/
unittests/ExecutionEngine/CMakeLists.txt
@@
-1,11
+1,14
@@
set(LLVM_LINK_COMPONENTS
set(LLVM_LINK_COMPONENTS
- jit
interpreter
interpreter
- nativecodegen
)
add_llvm_unittest(ExecutionEngineTests
ExecutionEngineTest.cpp
)
)
add_llvm_unittest(ExecutionEngineTests
ExecutionEngineTest.cpp
)
-add_subdirectory(JIT)
+# Include JIT/MCJIT tests only if native arch is a JIT target.
+list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" have_jit)
+if (NOT have_jit EQUAL -1 )
+ add_subdirectory(JIT)
+ add_subdirectory(MCJIT)
+endif()