Skip to content

Commit be26a55

Browse files
bors[bot]vext01
andauthored
67: Fix building LLVM as shared objects r=ltratt a=vext01 Co-authored-by: Edd Barrett <[email protected]>
2 parents fd75496 + 8f99d66 commit be26a55

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

.buildbot.sh

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} \
1414
-DLLVM_ENABLE_ASSERTIONS=On \
1515
-DLLVM_ENABLE_PROJECTS="lld;clang" \
1616
-DCLANG_DEFAULT_PIE_ON_LINUX=OFF \
17+
-DBUILD_SHARED_LIBS=ON \
1718
-GNinja \
1819
../llvm
1920
cmake --build .

lldb/tools/lldb-instr/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ add_lldb_tool(lldb-instr
1111
clangSerialization
1212
clangTooling
1313

14+
LINK_COMPONENTS
15+
Support
1416
)

llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ add_llvm_component_library(LLVMAsmPrinter
3333
LINK_COMPONENTS
3434
Analysis
3535
BinaryFormat
36+
BitWriter
3637
CodeGen
3738
Core
3839
DebugInfoCodeView

llvm/lib/Transforms/Yk/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ add_llvm_component_library(LLVMYkPasses
1010
intrinsics_gen
1111

1212
LINK_COMPONENTS
13+
Analysis
1314
Core
1415
Support
1516
)

0 commit comments

Comments
 (0)