-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
layout: default | ||
title: Building KLEE | ||
subtitle: Dependencies | ||
slug: getting-started | ||
--- | ||
|
||
KLEE requires all the dependencies of LLVM (see [here](http://llvm.org/docs/GettingStarted.html#requirements)), and some more. In particular, you should install the programs and libraries listed below. `graphviz/doxygen` are optional and only needed to generate the source code documentation. | ||
|
||
Under Ubuntu, use: | ||
```bash | ||
$ sudo apt-get install build-essential cmake curl file g++-multilib gcc-multilib git libcap-dev libgoogle-perftools-dev libncurses5-dev libsqlite3-dev libtcmalloc-minimal4 python3-pip unzip graphviz doxygen | ||
``` | ||
|
||
Under macOS, run: | ||
```bash | ||
$ brew install curl git cmake python unzip gperftools sqlite3 graphviz doxygen bash | ||
``` | ||
|
||
You should also install `lit` to enable testing, `tabulate` to support additional features in `klee-stats` and `wllvm` to make it easier to compile programs to LLVM bitcode: | ||
|
||
```bash | ||
$ sudo pip3 install lit wllvm | ||
$ sudo apt-get install python3-tabulate | ||
``` | ||
|
||
Use `--user` for `pip3` to install packages for the current user only: | ||
|
||
```bash | ||
$ pip3 install --user lit wllvm | ||
``` | ||
|
||
and make sure that e.g. `~/.local/bin` (check with `python3 -m site --user-base` on your system) is in your `PATH`. |