From 5a633251bb6168b8b7e5d0cd7d554858e96a3b0e Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Fri, 18 Mar 2022 11:35:24 +0000 Subject: Install doxygen and graphviz (dot) to generate Doxygen documentation when ENABLE_DOXYGEN=ON --- scripts/build/p-klee-linux-ubuntu.inc | 4 ++++ scripts/build/p-klee-osx.inc | 3 +++ 2 files changed, 7 insertions(+) (limited to 'scripts/build') diff --git a/scripts/build/p-klee-linux-ubuntu.inc b/scripts/build/p-klee-linux-ubuntu.inc index d2847343..4b8a89bf 100644 --- a/scripts/build/p-klee-linux-ubuntu.inc +++ b/scripts/build/p-klee-linux-ubuntu.inc @@ -38,6 +38,10 @@ install_build_dependencies_klee() { dependencies+=(lcov curl git) fi + if [[ $(to_bool "${ENABLE_DOXYGEN}") -eq 1 ]]; then + dependencies+=(doxygen graphviz) + fi + apt -y --no-install-recommends install "${dependencies[@]}" pip3 install lit diff --git a/scripts/build/p-klee-osx.inc b/scripts/build/p-klee-osx.inc index fae6bbd3..38eaa02c 100644 --- a/scripts/build/p-klee-osx.inc +++ b/scripts/build/p-klee-osx.inc @@ -2,5 +2,8 @@ install_build_dependencies_klee() { brew upgrade python # upgrade to Python 3 brew link --overwrite python + if [[ $(to_bool "${ENABLE_DOXYGEN}") -eq 1 ]]; then + brew install doxygen graphviz + fi pip3 install lit tabulate } \ No newline at end of file -- cgit 1.4.1