blob: 8bf39a199b3ad4387557c0c2fa6bf6be9509754b (
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
27
28
29
30
31
32
33
34
35
|
install_build_dependencies_klee() {
source "${DIR}/common-functions"
# Install KLEE's dependencies
dependencies=(
build-essential
gcc-multilib # to generate 32bit
zlib1g-dev
python3
python3-setuptools
python3-pip
python3-wheel
)
if [[ "${SOLVERS:-}" == "metaSMT" ]]; then
dependencies+=(
libboost-dev
libgmp-dev
)
fi
if [[ $(to_bool "${COVERAGE}") -eq 1 ]]; then
dependencies+=(lcov curl git)
fi
if [[ $(to_bool "${ENABLE_DOXYGEN}") -eq 1 ]]; then
dependencies+=(doxygen graphviz)
fi
with_sudo apt-get -y --no-install-recommends install "${dependencies[@]}"
pip3 install --user lit
pip3 install --user tabulate
base_path="$(python3 -m site --user-base)"
export PATH="$PATH:${base_path}/bin"
}
|