File tree 3 files changed +4
-5
lines changed
src/ci/docker/host-x86_64
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 && \
23
23
libstdc++-devel.x86_64 \
24
24
make \
25
25
ncurses-devel \
26
- ninja-build \
27
26
openssl-devel \
28
27
patch \
29
28
perl \
@@ -65,6 +64,7 @@ ENV RUST_CONFIGURE_ARGS \
65
64
--enable-profiler \
66
65
--set target.i686-unknown-linux-gnu.linker=clang \
67
66
--build=i686-unknown-linux-gnu \
67
+ --set llvm.ninja=false \
68
68
--set rust.jemalloc
69
69
ENV SCRIPT python3 ../x.py dist --build $HOSTS --host $HOSTS --target $HOSTS
70
70
ENV 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 && \
23
23
libstdc++-devel.x86_64 \
24
24
make \
25
25
ncurses-devel \
26
- ninja-build \
27
26
openssl-devel \
28
27
patch \
29
28
perl \
@@ -77,6 +76,7 @@ ENV RUST_CONFIGURE_ARGS \
77
76
--set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
78
77
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
79
78
--set llvm.thin-lto=true \
79
+ --set llvm.ninja=false \
80
80
--set rust.jemalloc \
81
81
--set rust.use-lld=true \
82
82
--set rust.lto=thin
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ INC="/rustroot/include:/usr/include"
25
25
# disable them. BOLT is used for optimizing LLVM.
26
26
hide_output \
27
27
cmake ../llvm \
28
- -GNinja \
29
28
-DCMAKE_C_COMPILER=/rustroot/bin/gcc \
30
29
-DCMAKE_CXX_COMPILER=/rustroot/bin/g++ \
31
30
-DCMAKE_BUILD_TYPE=Release \
@@ -40,8 +39,8 @@ hide_output \
40
39
-DLLVM_ENABLE_PROJECTS=" clang;lld;compiler-rt;bolt" \
41
40
-DC_INCLUDE_DIRS=" $INC "
42
41
43
- hide_output ninja
44
- hide_output ninja install
42
+ hide_output make -j $( nproc )
43
+ hide_output make install
45
44
46
45
cd ../..
47
46
rm -rf llvm-project
You can’t perform that action at this time.
0 commit comments