Skip to content

Commit df441d7

Browse files
committed
Build LLVM toolchain with lld in container
Signed-off-by: Alice Ziuziakowska <[email protected]>
1 parent 3123e26 commit df441d7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build-clang-with-args.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ cmake "${llvm_dir}/llvm" \
142142
-DLLVM_ENABLE_BACKTRACES=Off \
143143
-DLLVM_DEFAULT_TARGET_TRIPLE="${toolchain_target}" \
144144
-DLLVM_STATIC_LINK_CXX_STDLIB=On \
145+
-DLLVM_USE_LINKER="lld" \
145146
-DCLANG_VENDOR="lowRISC" \
146147
-DBUG_REPORT_URL="[email protected]" \
147148
-DLLVM_INCLUDE_EXAMPLES=Off \

prepare-host.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ dnf install -y \
3131
zlib-devel \
3232
zlib-static \
3333
libffi-devel \
34-
expat-static
34+
expat-static \
35+
lld

0 commit comments

Comments
 (0)