Skip to content

[cpm] Replace Boost URL with a generated boost subset.

Lars Bilke requested to merge boost-subset into master

Boost is a quite heavy download. This MR replaces the regular Boost via CPM download with a download consisting only of the subset of Boost we actually use. The subset is generated via bcp, see https://gitlab.opengeosys.org/ogs/libs/boost-subset/-/blob/main/.gitlab-ci.yml.

Regular Boost installations via the systems package manager still work.

This speeds up uncached CI builds as well as container builds.

This MR also removes the inclusion of Boost in development container generated via ogscm (also removes option --boost-sourceforge). ogscm changes: Boost is installed only when --mfront-option is given.

@kristofkessler The new Boost download location at gitlab.opengeosys.org should work fine for your environments.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Lars Bilke

Merge request reports