about summary refs log tree commit diff homepage
path: root/scripts/build/p-klee-linux-ubuntu.inc
blob: f5e6aed2a8878528e2bfa86abc9add19c43ee13f (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
26
install_build_dependencies_klee() {
  apt update -y

  dependencies=(
    build-essential
    gcc-multilib # to generate 32bit
    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[@]}"

  pip3 install lit
  pip3 install tabulate
}