0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 set(LLVM_LINK_COMPONENTS
|
33
|
2 Core
|
|
3 ExecutionEngine
|
|
4 Interpreter
|
77
|
5 MC
|
95
|
6 OrcJIT
|
83
|
7 RuntimeDyld
|
33
|
8 Support
|
0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
9 )
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
10
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
11 add_llvm_unittest(ExecutionEngineTests
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
12 ExecutionEngineTest.cpp
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
13 )
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
14
|
147
|
15 add_subdirectory(JITLink)
|
95
|
16 add_subdirectory(Orc)
|
|
17
|
77
|
18 # Include MCJIT tests only if native arch is a built JIT target.
|
|
19 list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx)
|
|
20 list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx)
|
|
21 if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0)
|
0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
22 add_subdirectory(MCJIT)
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
23 endif()
|