100
|
1 # Add GlobalISel to the dependencies if the user wants to build it.
|
|
2 if(LLVM_BUILD_GLOBAL_ISEL)
|
|
3 set(GLOBAL_ISEL GlobalISel)
|
|
4 else()
|
|
5 set(GLOBAL_ISEL "")
|
|
6 endif()
|
|
7
|
33
|
8 set(LLVM_LINK_COMPONENTS
|
|
9 ${LLVM_TARGETS_TO_BUILD}
|
83
|
10 Analysis
|
33
|
11 AsmPrinter
|
|
12 CodeGen
|
|
13 Core
|
|
14 IRReader
|
100
|
15 ${GLOBAL_ISEL}
|
33
|
16 MC
|
95
|
17 MIRParser
|
33
|
18 ScalarOpts
|
|
19 SelectionDAG
|
|
20 Support
|
95
|
21 Target
|
100
|
22 TransformUtils
|
33
|
23 )
|
0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
24
|
77
|
25 # Support plugins.
|
|
26 set(LLVM_NO_DEAD_STRIP 1)
|
|
27
|
0
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
28 add_llvm_tool(llc
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
29 llc.cpp
|
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
30 )
|
95
|
31 export_executable_symbols(llc)
|