This repository contains build scripts to bundle the boost sources required to build shards
The packaged sources are fetched from a github release in this repository using:
FetchContent_Declare(
boost
URL https://github.com/shards-lang/boost/releases/download/boost-f74a225c09-2/output.7z
URL_HASH SHA256=7C876AC31F7D1A80C9B4671FD960399F86CF24DC9DA83AFF7F1CBC8984424080
)
When a tag is pushed to this repository, the CI step will run the package_shards
script and make a release linked to that tag, reference the new archive URL and hash in the original project.
Add dependencies to the array MODULES
inside the package_shards
script
To update this repository use a git rebase -i <commit>
, where <commit>
is probably a tagged release commit from the upstream superproject (e.g. boost-1.81.0
)
Make sure to include the commits containing this doc and package script on top of the rebase, alongside and submodule modifications. To keep it easy to update, you should tag shards specific commits with [shards]
NOTE: Any newly added submodules by boost should be modified to reference the absolute url, e.g. https://github.com/boostorg/url.git
instead of ../url.git