Add valgrind to BUILDING_FROM_SOURCE.md

This commit is contained in:
Richard Feldman 2020-10-13 23:16:30 -04:00 committed by GitHub
parent 66fd2db2cd
commit 26978b58b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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