From 39aa7533cb1e438412c8a21353794e6ab9e7b3e1 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Thu, 12 Sep 2024 20:30:26 -0300 Subject: [PATCH] Set BOOST_SRC environment variable This makes the build process faster by allowing Antora extensions to fall back to this path to find the Boost source files to generate the reference pages. --- ci_boost_release.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci_boost_release.py b/ci_boost_release.py index 288a822..9151e13 100644 --- a/ci_boost_release.py +++ b/ci_boost_release.py @@ -624,6 +624,11 @@ def command_build(self): else: checkout_branch = "develop" + # Set the environment variable BOOST_SRC_DIR to the root directory + # so that the following scripts can find the boost source code + # instead of downloading it again. + os.environ["BOOST_SRC_DIR"] = self.root_dir + # Call antora project main script os.chdir(self.build_dir) antora_dir = os.path.join(self.build_dir, "antora")