We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09bc67b + 9780abb commit df44909Copy full SHA for df44909
src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile
@@ -33,6 +33,7 @@ RUN yum upgrade -y && \
33
xz \
34
zlib-devel.i686 \
35
zlib-devel.x86_64 \
36
+ jemalloc-devel \
37
&& yum clean all
38
39
RUN mkdir -p /rustroot/bin
@@ -88,7 +89,7 @@ ENV RUST_CONFIGURE_ARGS \
88
89
--set rust.lto=thin \
90
--set rust.codegen-units=1
91
-ENV SCRIPT python3 ../x.py build --set rust.debug=true opt-dist && \
92
+ENV SCRIPT LD_PRELOAD=`jemalloc-config --libdir`/libjemalloc.so.`jemalloc-config --revision` python3 ../x.py build --set rust.debug=true opt-dist && \
93
./build/$HOSTS/stage0-tools-bin/opt-dist linux-ci -- python3 ../x.py dist \
94
--host $HOSTS --target $HOSTS \
95
--include-default-paths \
0 commit comments