Skip to content

Commit

Permalink
Set BOOST_SRC environment variable
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alandefreitas committed Sep 12, 2024
1 parent 40d7618 commit 39aa753
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci_boost_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 39aa753

Please sign in to comment.