Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@

# rust target
/target
/PLAN.md
11 changes: 11 additions & 0 deletions benchmark/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ RUN git clone https://github.com/daanx/mimalloc-bench &&\
git reset --hard a4ce904286365c7adfba54f0eea3a2df3fc95bd1

WORKDIR /mimalloc-bench

# Skip the Bazel install: it is only needed to build Google's tcmalloc (tcg),
# which this Dockerfile does not build or benchmark, and its apt repository
# key (https://bazel.build/bazel-release.pub.gpg) is no longer served,
# breaking the "packages" phase below.
RUN sed -i '/^[[:space:]]*aptinstallbazel[[:space:]]*$/d' build-bench-env.sh && \
if grep -qE '^[[:space:]]*aptinstallbazel[[:space:]]*$' build-bench-env.sh; then \
echo "error: aptinstallbazel call still present in build-bench-env.sh" >&2; \
exit 1; \
fi

# Install dependencies
RUN ./build-bench-env.sh packages

Expand Down