Skip to content

Commit

Permalink
Fix local callgrind runs (#723)
Browse files Browse the repository at this point in the history
* Fix local callgrind runs

* Rust version sanity check
  • Loading branch information
kazimuth authored Jan 18, 2024
1 parent 4cc3edb commit 3e46d52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/bench/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Set up to run from linux / WSL (running from a windows file system will be extremely slow).
# See the README for commands to run.

FROM rust:1.72
# sync with: ../../rust-toolchain.toml
FROM rust:1.74

RUN apt-get update && \
apt-get install -y valgrind protobuf-compiler bash && \
Expand All @@ -11,3 +12,5 @@ RUN apt-get update && \
ENV CARGO_TARGET_DIR=/projects/SpacetimeDB/linux-target
ENV CARGO_HOME=/projects/SpacetimeDB/linux-cache
ENV RUSTUP_HOME=/projects/SpacetimeDB/linux-rustup

RUN rustup default 1.74 && cargo install --git https://github.com/clockworklabs/iai-callgrind.git --branch main iai-callgrind-runner

0 comments on commit 3e46d52

Please sign in to comment.