From 2b8c6a20c2a4c1ea594c1dbede0eba389a855a8e Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 29 May 2024 18:06:55 +0200 Subject: [PATCH] Update doxygen to 1.11.0 (#2453) --- documentation/conf.py | 10 ++++++---- scripts/downloadAndBuildDoxygen.sh | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/documentation/conf.py b/documentation/conf.py index a0dcf658fb..3f867e0a3a 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -104,7 +104,9 @@ def install_mtocpp(): def install_doxygen(): """Get a more recent doxygen""" - version = "1.9.7" + version = "1.11.0" + release = f"Release_{version.replace('.', '_')}" + filename = f"doxygen-{version}.linux.bin.tar.gz" doxygen_exe = os.path.join( amici_dir, "ThirdParty", f"doxygen-{version}", "bin", "doxygen" ) @@ -112,9 +114,9 @@ def install_doxygen(): some_dir_on_path = os.environ["PATH"].split(os.pathsep)[0] cmd = ( f"cd '{os.path.join(amici_dir, 'ThirdParty')}' " - f"&& wget 'https://www.doxygen.nl/files/" - f"doxygen-{version}.linux.bin.tar.gz' " - f"&& tar -xzf doxygen-{version}.linux.bin.tar.gz " + f"&& wget 'https://github.com/doxygen/doxygen/releases/download/" + f"{release}/{filename}' " + f"&& tar -xzf '{filename}' " f"&& ln -sf '{doxygen_exe}' '{some_dir_on_path}'" ) subprocess.run(cmd, shell=True, check=True) diff --git a/scripts/downloadAndBuildDoxygen.sh b/scripts/downloadAndBuildDoxygen.sh index 4efa9ab483..a27587d96c 100755 --- a/scripts/downloadAndBuildDoxygen.sh +++ b/scripts/downloadAndBuildDoxygen.sh @@ -9,7 +9,7 @@ DOXYGEN_DIR="${AMICI_PATH}"/ThirdParty/doxygen cd "${AMICI_PATH}"/ThirdParty if [[ ! -d ${DOXYGEN_DIR} ]]; then git clone --single-branch \ - --branch Release_1_10_0 \ + --branch Release_1_11_0 \ --depth 1 \ -c advice.detachedHead=false \ https://github.com/doxygen/doxygen.git "${DOXYGEN_DIR}"