about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
-rw-r--r--scripts/build/p-klee.inc1
-rw-r--r--scripts/build/v-klee.inc2
3 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index eed582ce..6a0eefb9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,6 +16,7 @@ ENV COVERAGE=0
 ENV USE_TCMALLOC=1
 ENV BASE=/tmp
 ENV LLVM_VERSION=9.0
+ENV ENABLE_DOXYGEN=1
 ENV ENABLE_OPTIMIZED=1
 ENV ENABLE_DEBUG=1
 ENV DISABLE_ASSERTIONS=0
@@ -36,7 +37,7 @@ LABEL maintainer="KLEE Developers"
 # TODO remove adding sudo package
 # Create ``klee`` user for container with password ``klee``.
 # and give it password-less sudo access (temporarily so we can use the TravisCI scripts)
-RUN apt update && DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install sudo emacs-nox vim-nox file python3-dateutil && \
+RUN apt update && DEBIAN_FRONTEND=noninteractive apt -y --no-install-recommends install sudo emacs-nox vim-nox file python3-dateutil doxygen && \
     rm -rf /var/lib/apt/lists/* && \
     useradd -m klee && \
     echo klee:klee | chpasswd && \
diff --git a/scripts/build/p-klee.inc b/scripts/build/p-klee.inc
index 6967dc71..b6c4604c 100644
--- a/scripts/build/p-klee.inc
+++ b/scripts/build/p-klee.inc
@@ -22,6 +22,7 @@ build_klee() {
     "-DGTEST_SRC_DIR=${GTEST_INSTALL_PATH}"
     "-DENABLE_UNIT_TESTS=TRUE"
     "-DENABLE_SYSTEM_TESTS=TRUE"
+    "-DENABLE_DOXYGEN=${ENABLE_DOXYGEN}"
     "-DLIT_ARGS=-v"
   )
 
diff --git a/scripts/build/v-klee.inc b/scripts/build/v-klee.inc
index 5f7d9fca..60b4a498 100644
--- a/scripts/build/v-klee.inc
+++ b/scripts/build/v-klee.inc
@@ -4,12 +4,14 @@ required_variables_klee=(
   "KLEE_RUNTIME_BUILD"
   "USE_TCMALLOC"
   "USE_LIBCXX"
+  "ENABLE_DOXYGEN"
 )
 
 required_variables_check_klee() {
   check_bool "COVERAGE"
   check_bool "USE_TCMALLOC"
   check_bool "USE_LIBCXX"
+  check_bool "ENABLE_DOXYGEN"
 }
 
 # On which artifacts does KLEE depend on