Skip to content

Commit 354e95a

Browse files
committed
ci: Use ninja in build-clang.sh
Now that we have brought ninja back to the installed base packages, we can use it for the initial Clang build as well.
1 parent aad709b commit 354e95a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ INC="/rustroot/include:/usr/include"
2525
# disable them. BOLT is used for optimizing LLVM.
2626
hide_output \
2727
cmake ../llvm \
28+
-GNinja \
2829
-DCMAKE_C_COMPILER=/rustroot/bin/gcc \
2930
-DCMAKE_CXX_COMPILER=/rustroot/bin/g++ \
3031
-DCMAKE_BUILD_TYPE=Release \
@@ -39,8 +40,8 @@ hide_output \
3940
-DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt;bolt" \
4041
-DC_INCLUDE_DIRS="$INC"
4142

42-
hide_output make -j$(nproc)
43-
hide_output make install
43+
hide_output ninja
44+
hide_output ninja install
4445

4546
cd ../..
4647
rm -rf llvm-project

0 commit comments

Comments
 (0)