diff options
author | jiseongg <jiseongg301@gmail.com> | 2020-10-09 14:47:34 +0900 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2020-10-12 10:46:19 +0100 |
commit | 51940e20c7b1a1651e247726a80c4ac643fd322b (patch) | |
tree | 0c804dd6950235ca4f52a23ff37ca4b699f43f0f | |
parent | 88475f63661dafa7a13d3e2c7ea2679dc9cd3c8a (diff) | |
download | klee-51940e20c7b1a1651e247726a80c4ac643fd322b.tar.gz |
Add doxygen support in docker image
CMake Warning at docs/CMakeLists.txt:46 (message): Doxygen not found. Can't build Doxygen documentation
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | scripts/build/p-klee.inc | 1 | ||||
-rw-r--r-- | scripts/build/v-klee.inc | 2 |
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 |