summaryrefslogtreecommitdiff
blob: bce19d168b0a58241a336aa8e077f020e54a4713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/19

--- comgr/CMakeLists.old	2019-07-19 17:19:26.080276421 +0200
+++ comgr/CMakeLists.txt	2019-07-19 18:17:25.780163592 +0200
@@ -185,7 +185,11 @@
 include_directories(./yaml-cpp/include)
 
 set(CLANG_LIBS
-  clangFrontendTool)
+  clangFrontendTool
+  clangFrontend
+  clangBasic
+  clangDriver
+  clangSerialization)
 
 set(LLD_LIBS
   lldELF
@@ -193,8 +197,19 @@
 
 llvm_map_components_to_libnames(LLVM_LIBS
   ${LLVM_TARGETS_TO_BUILD}
+  Option
   DebugInfoDWARF
-  Symbolize)
+  Symbolize
+  Support
+  Object
+  BitWriter
+  MC
+  MCParser
+  MCDisassembler
+  Core
+  IRReader
+  CodeGen
+  Linker)
 
 target_link_libraries(amd_comgr
   PUBLIC