about summary refs log tree commit diff homepage
path: root/scripts/build/p-metasmt-linux-ubuntu.inc
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2020-01-23 15:25:45 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2020-02-13 17:39:21 +0000
commitdbda156217c532a7e1a65e8c216e593a64c0b8fc (patch)
tree015e9b05723106f58c7865f1636ad7157edd41bb /scripts/build/p-metasmt-linux-ubuntu.inc
parent64a2b1a93648461f11daa44911d791c28bc00885 (diff)
downloadklee-dbda156217c532a7e1a65e8c216e593a64c0b8fc.tar.gz
Update ubuntu build dependencies for KLEE
Build dependencies for different components were tied to a specific Ubuntu version (16.04).
Although, they are the same for newer versions as well.

By renaming `p-component-linux-ubuntu-16.04.inc` to `p-component-linux-ubuntu.inc`, the script can be used for newer Ubuntu versions as well.

Do some minor cleaning up.
Diffstat (limited to 'scripts/build/p-metasmt-linux-ubuntu.inc')
-rw-r--r--scripts/build/p-metasmt-linux-ubuntu.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/build/p-metasmt-linux-ubuntu.inc b/scripts/build/p-metasmt-linux-ubuntu.inc
new file mode 100644
index 00000000..1e381b78
--- /dev/null
+++ b/scripts/build/p-metasmt-linux-ubuntu.inc
@@ -0,0 +1,31 @@
+setup_build_variables_metasmt() {
+  return 0
+}
+
+install_build_dependencies_metasmt() {
+  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
+    python
+    autoconf
+    python3
+    curl
+  )
+
+  #Install essential dependencies
+  apt -y --no-install-recommends install "${dependencies[@]}"
+}
\ No newline at end of file