From a2e47c7a59d835ba80beef53b986d45e99ecd94a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 22 Apr 2025 16:21:50 +0300 Subject: [PATCH] CI: Support Doxygen in ci_build.bash --- build-aux/ci_build.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-aux/ci_build.bash b/build-aux/ci_build.bash index 07c64a24..d2408569 100755 --- a/build-aux/ci_build.bash +++ b/build-aux/ci_build.bash @@ -43,6 +43,7 @@ NATIVE_LANG_SUPPORT="y" SMALL="n" CLMUL="y" SANDBOX="y" +DOXYGEN="y" SRC_DIR="$ABS_DIR/../" DEST_DIR="$SRC_DIR/../xz_build" PHASE="all" @@ -91,6 +92,7 @@ while getopts a:b:c:d:l:m:n:s:p:f:w:h opt; do small) SMALL="y";; clmul) CLMUL="n";; sandbox) SANDBOX="n";; + doxygen) DOXYGEN="n";; *) echo "Invalid disable value: $disable_arg"; exit 1 ;; esac done @@ -208,6 +210,7 @@ then add_extra_option "$SMALL" "--enable-small" "" add_extra_option "$CLMUL" "" "--disable-clmul-crc" add_extra_option "$SANDBOX" "" "--enable-sandbox=no" + add_extra_option "$DOXYGEN" "--enable-doxygen" "" # Workaround a bug in too old config.guess. Version with # timestamp='2022-05-08' would be needed but the autotools-dev @@ -243,6 +246,7 @@ then add_extra_option "$NATIVE_LANG_SUPPORT" "" "-DXZ_NLS=OFF" add_extra_option "$SMALL" "-DXZ_SMALL=ON" "" + add_extra_option "$DOXYGEN" "-DXZ_DOXYGEN=ON" "" # Remove old cache file to clear previous settings. rm -f "CMakeCache.txt"