aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/p-klee-linux-ubuntu.inc4
-rw-r--r--scripts/build/p-klee-osx.inc3
2 files changed, 7 insertions, 0 deletions
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