Skip to content

Commit 523bc22

Browse files
committed
Move dependencies to separate file
1 parent 73e118d commit 523bc22

File tree

2 files changed

+34
-26
lines changed

2 files changed

+34
-26
lines changed

Diff for: build/build-llvm13.md

+1-26
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,7 @@ You can find detailed instructions in: [Building arbitrary KLEE configurations](
1717
There is no support for uClibc and the POSIX environment under macOS.
1818
KLEE does not work under x86-32.
1919

20-
1. **Install dependencies:** 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.
21-
22-
Under Ubuntu, use:
23-
```bash
24-
$ 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
25-
```
26-
27-
Under macOS, run:
28-
```bash
29-
$ brew install curl git cmake python unzip gperftools sqlite3 graphviz doxygen bash
30-
```
31-
32-
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:
33-
34-
```bash
35-
$ sudo pip3 install lit wllvm
36-
$ sudo apt-get install python3-tabulate
37-
```
38-
39-
Use `--user` for `pip3` to install packages for the current user only:
40-
41-
```bash
42-
$ pip3 install --user lit wllvm
43-
```
44-
45-
and make sure that e.g. `~/.local/bin` (check with `python3 -m site --user-base` on your system) is in your `PATH`.
20+
1. [**Install dependencies:**]({{site.baseurl}}/build/dependencies)
4621

4722
2. **Install LLVM 13:** KLEE is built on top of [LLVM](http://llvm.org); the first steps are to get a working LLVM installation. See [Getting Started with the LLVM System](http://llvm.org/docs/GettingStarted.html) for more information.
4823

Diff for: build/dependencies.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
title: Building KLEE
4+
subtitle: Dependencies
5+
slug: getting-started
6+
---
7+
8+
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.
9+
10+
Under Ubuntu, use:
11+
```bash
12+
$ 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
13+
```
14+
15+
Under macOS, run:
16+
```bash
17+
$ brew install curl git cmake python unzip gperftools sqlite3 graphviz doxygen bash
18+
```
19+
20+
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:
21+
22+
```bash
23+
$ sudo pip3 install lit wllvm
24+
$ sudo apt-get install python3-tabulate
25+
```
26+
27+
Use `--user` for `pip3` to install packages for the current user only:
28+
29+
```bash
30+
$ pip3 install --user lit wllvm
31+
```
32+
33+
and make sure that e.g. `~/.local/bin` (check with `python3 -m site --user-base` on your system) is in your `PATH`.

0 commit comments

Comments
 (0)