about summary refs log tree commit diff homepage
path: root/scripts/build/p-klee-linux-ubuntu-16.04.inc
blob: 9109a27ff38a2a767e88a94d6a6d6a332d4dcd49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
install_build_dependencies_klee() {
  apt update -y

  dependencies=(
    build-essential
    cmake
    python-pip #for lit
    python-setuptools #for lit
    python-wheel #for lit
    zlib1g-dev
    python3
    python3-setuptools
    python3-pip
    python3-wheel
  )

  if [[ $(to_bool "${COVERAGE}") -eq 1 ]]; then
    dependencies+=(lcov curl)
  fi

  apt -y --no-install-recommends install "${dependencies[@]}"

  pip install lit
  pip3 install tabulate
}