From 26978b58b4985c51a60c1bb46058ab5b319b69b9 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Tue, 13 Oct 2020 23:16:30 -0400 Subject: [PATCH] Add valgrind to BUILDING_FROM_SOURCE.md --- BUILDING_FROM_SOURCE.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/BUILDING_FROM_SOURCE.md b/BUILDING_FROM_SOURCE.md index 95cc799f93..78e8faf718 100644 --- a/BUILDING_FROM_SOURCE.md +++ b/BUILDING_FROM_SOURCE.md @@ -1,13 +1,17 @@ # Building the Roc compiler from source -## Installing LLVM, libunwind, and libc++-dev +## Installing LLVM, valgrind, libunwind, and libc++-dev To build the compiler, you need these installed: * `libunwind` (macOS should already have this one installed) * `libc++-dev` -* a particular version of LLVM +* a particular version of LLVM + +To run the test suite (via `cargo test`), you additionally need to install: + +* [`valgrind`](https://www.valgrind.org/) Some systems may already have `libc++-dev` on them, but if not, you may need to install it. (On Ubuntu, this can be done with `sudo apt-get install libc++-dev`.) macOS systems should already have `libunwind`, but other systems will need to install it