[GitHelp] release version of boost from GitHub?
Hi, guys. What is the right place for getting the last/or-any (released) version of boost? This page provides the last release as well as others: https://www.boost.org. But I've got the impression that after Boost moved to GitHub and became "modular", the releases can be downloaded right from the GitHub "releases" page. So it looks like it is not the case, and my assumptions is wrong because when I go to the "releases" page on GitHub (https://github.com/boostorg/boost/releases) and download a release (let's say "boost-1.68.0") I don't get any libs inside. Could you please help me to understand this situation. Is the only place to get a release of boost is https://www.boost.org, but not GitHub? Is GitHub used only for development, or getting the latest changes which are not released yet? --- Kostia Kyiv, Ukraine
On 26/09/2018 05:24, Kostiantyn Ponomarenko wrote:
What is the right place for getting the last/or-any (released) version of boost?
This page provides the last release as well as others: https://www.boost.org. But I've got the impression that after Boost moved to GitHub and became "modular", the releases can be downloaded right from the GitHub "releases" page.
So it looks like it is not the case, and my assumptions is wrong because when I go to the "releases" page on GitHub (https://github.com/boostorg/boost/releases) and download a release (let's say "boost-1.68.0") I don't get any libs inside.
Boost itself (and hence the Boost GitHub) only ever actually releases sources. You must build these yourself if you want to use the libraries (unless you are only using those libraries which are header-only). Precompiled binary libraries are a convenience provided by third parties, and are considered separate from the release. (Even though the Windows binaries are typically provided concurrent with the release.) Having said that, you're right that the release downloads on github only contain the superproject files, not the submodule files from each library. I don't know if that's intended or if it's a bug. You could probably reconstruct the full release by downloading the individual archives from each submodule project (or at least each library that you want plus its dependencies). It's probably easier to still keep downloading the monolithic packages from boost.org, however. I think at some point someone was working on a tool which would download just the subset of modules that you wanted, but I'm not sure how far they got with that and whether it's usable or not.
Gavin Lambert wrote:
You could probably reconstruct the full release by downloading the individual archives from each submodule project (or at least each library that you want plus its dependencies).
To match the format of earlier releases, the release has its headers in boost/ and the individual libs/<name>/include/ directories are removed. If you do `git submodule update --init` and then `./bootstrap(.sh)` and then `./b2 headers` you'll have something very similar to the release, except that boost/ will contain symlinks (or hardlinks/junctions on Windows) instead of copies. But it won't be the same as the actual release as shipped.
Thanks! Excellent answers. They fully cover my question.
---
Kostia
Kyiv, Ukraine
On Wed, Sep 26, 2018 at 3:55 AM Peter Dimov via Boost
Gavin Lambert wrote:
You could probably reconstruct the full release by downloading the individual archives from each submodule project (or at least each library that you want plus its dependencies).
To match the format of earlier releases, the release has its headers in boost/ and the individual libs/<name>/include/ directories are removed.
If you do `git submodule update --init` and then `./bootstrap(.sh)` and then `./b2 headers` you'll have something very similar to the release, except that boost/ will contain symlinks (or hardlinks/junctions on Windows) instead of copies. But it won't be the same as the actual release as shipped.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
Gavin Lambert
-
Kostiantyn Ponomarenko
-
Peter Dimov