[SciPy-Dev] Boost for stats

Hans Dembinski hans.dembinski at gmail.com
Mon Feb 22 06:22:53 EST 2021


Hi,

> On 22. Feb 2021, at 10:35, Ralf Gommers <ralf.gommers at gmail.com> wrote:
> 
> Ouch, that's a lot slower than I expected. I'm not sure I understand it though, there should be no `git status` churn at all (unless the build process messes with files in-place?) and it's faster than cloning our own repo:
> 
> $ time git clone git at github.com:boostorg/boost.git
> Cloning into 'boost'...
> remote: Enumerating objects: 15, done.
> remote: Counting objects: 100% (15/15), done.
> remote: Compressing objects: 100% (11/11), done.
> remote: Total 254626 (delta 8), reused 11 (delta 4), pack-reused 254611
> Receiving objects: 100% (254626/254626), 62.02 MiB | 7.47 MiB/s, done.
> Resolving deltas: 100% (163071/163071), done.
> 
> real 0m12.221s
> user 0m5.959s
> sys 0m2.725s

because of the a long-term goal to make boost more modular, cloning boostorg/boost like this only clones the so called superproject of Boost, which indeed very small. It consists itself of many submodules with the individual Boost libraries, like Boost.Math etc, which live in separate repositories. If you do

git clone --recurse-submodules git at github.com:boostorg/boost.git

instead, you will see the long delay. Fetching all the submodules indeed takes a lot of time, unfortunately. The main Boost repo includes 157 submodules.

Best regards,
Hans


More information about the SciPy-Dev mailing list