Skip to content

Commit 6545c75

Browse files
committed
linux: install LLVM tools
This will make FileCheck among other tools available. This is needed to build Rust with our LLVM.
1 parent 4a65317 commit 6545c75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpython-linux/build-clang.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ cmake \
9797
-DLIBCXX_LIBCPPABI_VERSION="" \
9898
-DLLVM_BINUTILS_INCDIR=/tools/host/include \
9999
-DLLVM_LINK_LLVM_DYLIB=ON \
100+
-DLLVM_INSTALL_UTILS=ON \
100101
../../llvm
101102

102103
LD_LIBRARY_PATH=/tools/host/lib64 ninja install
@@ -131,6 +132,7 @@ cmake \
131132
-DLIBCXX_LIBCPPABI_VERSION="" \
132133
-DLLVM_BINUTILS_INCDIR=/tools/host/include \
133134
-DLLVM_LINK_LLVM_DYLIB=ON \
135+
-DLLVM_INSTALL_UTILS=ON \
134136
../../llvm
135137

136138
LD_LIBRARY_PATH=/tools/clang-stage1/lib ninja install
@@ -165,6 +167,7 @@ cmake \
165167
-DLIBCXX_LIBCPPABI_VERSION="" \
166168
-DLLVM_BINUTILS_INCDIR=/tools/host/include \
167169
-DLLVM_LINK_LLVM_DYLIB=ON \
170+
-DLLVM_INSTALL_UTILS=ON \
168171
../../llvm
169172

170173
LD_LIBRARY_PATH=/tools/clang-stage2/lib DESTDIR=/build/out ninja install

0 commit comments

Comments
 (0)