about summary refs log tree commit diff homepage
path: root/scripts/build/p-metasmt-linux-ubuntu.inc
blob: f0bc3f79f9ca1f26d154992f177237a8bfd13eac (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
install_build_dependencies_metasmt() {
  source "${DIR}/common-functions"
  with_sudo apt update -y

  dependencies=(
    # libgmp, gperf (required by yices2)
    gperf
    libgmp-dev
    libbz2-dev
    libboost-dev
    build-essential
    git
    wget
    ca-certificates
    cmake
    zlib1g-dev
    bison
    flex
    unzip
    autoconf
    python3
    curl
    python-is-python3 # Need for old Z3
    python3-distutils
    python3-pip
    python3-toml
    default-jre # Needed for ANTLR
  )

  #Install essential dependencies
  with_sudo apt -y --no-install-recommends install "${dependencies[@]}"
}