Boost logo

Boost :

Subject: Re: Limiting dependency Boost libraries
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-06-22 20:10:59


On 22 June 2018 at 20:13, Mateusz Loskot <mateusz_at_[hidden]> wrote:
>
> $ cd boost_root
> $ python tools/boostdep/depinst/depinst.py -v gil | grep dependency
> Adding dependency config
> ...

Ups, that list is incomplete.
Trying to avoid the `git submodule` execution, I wrongly patched depinst.py
and generated only list of *direct* dependencies.

Correct modification is this:

```
diff --git a/depinst/depinst.py b/depinst/depinst.py
index ce7f060..7b90b6f 100644
--- a/depinst/depinst.py
+++ b/depinst/depinst.py
@@ -154,7 +154,7 @@ def install_modules( deps, x, gm ):
         if not i:

             print 'Installing module', m
- os.system( 'git submodule -q update --init libs/' + m )
+ #os.system( 'git submodule -q update --init libs/' + m )

             r += 1
```

Now, the list of all transitive dependencies is much longer:

```
$ python tools/boostdep/depinst/depinst.py -v gil
Installing module function
Installing module core
Installing module static_assert
Installing module algorithm
Installing module iterator
Installing module lambda
Installing module bind
Installing module mpl
Installing module crc
Installing module type_traits
Installing module concept_check
Installing module preprocessor
Installing module filesystem
Installing module test
Installing module integer
Installing module lexical_cast
Installing module config
Installing module array
Installing module numeric/conversion
Installing module smart_ptr
Installing module move
Installing module system
Installing module type_index
Installing module math
Installing module io
Installing module unordered
Installing module utility
Installing module regex
Installing module container
Installing module predef
Installing module detail
Installing module tuple
Installing module conversion
Installing module assert
Installing module fusion
Installing module optional
Installing module function_types
Installing module exception
Installing module timer
Installing module range
Installing module typeof
Installing module container_hash
Installing module throw_exception
Installing module atomic
Installing module intrusive
Installing module winapi
Installing module chrono
Installing module ratio
Installing module rational
```

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Boost list run by Boost-Gil-Owners