Skip to content

Commit 30e01c2

Browse files
committed
Move that LD_PRELOAD line to later in the file
1 parent 112999b commit 30e01c2

File tree

1 file changed

+1
-3
lines changed
  • src/ci/docker/host-x86_64/dist-x86_64-linux

1 file changed

+1
-3
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ RUN mkdir -p /rustroot/bin
4040

4141
ENV PATH=/rustroot/bin:$PATH
4242
ENV LD_LIBRARY_PATH=/rustroot/lib64:/rustroot/lib32:/rustroot/lib
43-
# This is a RUN command because we need to do some command interpolation
44-
RUN export LD_PRELOAD=`jemalloc-config --libdir`/libjemalloc.so.`jemalloc-config --revision`
4543
ENV PKG_CONFIG_PATH=/rustroot/lib/pkgconfig
4644
WORKDIR /tmp
4745
RUN mkdir /home/user
@@ -58,7 +56,7 @@ RUN ./cmake.sh
5856
# Now build LLVM+Clang, afterwards configuring further compilations to use the
5957
# clang/clang++ compilers.
6058
COPY host-x86_64/dist-x86_64-linux/build-clang.sh /tmp/
61-
RUN ./build-clang.sh
59+
RUN LD_PRELOAD=`jemalloc-config --libdir`/libjemalloc.so.`jemalloc-config --revision` ./build-clang.sh
6260
ENV CC=clang CXX=clang++
6361

6462
# rustc-perf version from 2023-10-22

0 commit comments

Comments
 (0)