File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
src/ci/docker/host-x86_64 Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ RUN yum upgrade -y && \
2323 libstdc++-devel.x86_64 \
2424 make \
2525 ncurses-devel \
26- ninja-build \
2726 openssl-devel \
2827 patch \
2928 perl \
@@ -65,6 +64,7 @@ ENV RUST_CONFIGURE_ARGS \
6564 --enable-profiler \
6665 --set target.i686-unknown-linux-gnu.linker=clang \
6766 --build=i686-unknown-linux-gnu \
67+ --set llvm.ninja=false \
6868 --set rust.jemalloc
6969ENV SCRIPT python3 ../x.py dist --build $HOSTS --host $HOSTS --target $HOSTS
7070ENV CARGO_TARGET_I686_UNKNOWN_LINUX_GNU_LINKER=clang
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ RUN yum upgrade -y && \
2323 libstdc++-devel.x86_64 \
2424 make \
2525 ncurses-devel \
26- ninja-build \
2726 openssl-devel \
2827 patch \
2928 perl \
@@ -77,6 +76,7 @@ ENV RUST_CONFIGURE_ARGS \
7776 --set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
7877 --set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
7978 --set llvm.thin-lto=true \
79+ --set llvm.ninja=false \
8080 --set rust.jemalloc \
8181 --set rust.use-lld=true \
8282 --set rust.lto=thin
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ INC="/rustroot/include:/usr/include"
2525# disable them. BOLT is used for optimizing LLVM.
2626hide_output \
2727 cmake ../llvm \
28- -GNinja \
2928 -DCMAKE_C_COMPILER=/rustroot/bin/gcc \
3029 -DCMAKE_CXX_COMPILER=/rustroot/bin/g++ \
3130 -DCMAKE_BUILD_TYPE=Release \
@@ -40,8 +39,8 @@ hide_output \
4039 -DLLVM_ENABLE_PROJECTS=" clang;lld;compiler-rt;bolt" \
4140 -DC_INCLUDE_DIRS=" $INC "
4241
43- hide_output ninja
44- hide_output ninja install
42+ hide_output make -j $( nproc )
43+ hide_output make install
4544
4645cd ../..
4746rm -rf llvm-project
You can’t perform that action at this time.
0 commit comments