|
Boost : |
Subject: Re: Limiting dependency Boost libraries
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-06-22 19:06:39
On 22 June 2018 at 20:38, Stefan Seefeld <stefan_at_[hidden]> wrote:
> On 2018-06-22 02:13 PM, Mateusz Loskot wrote:
>>
>> The depinst.py below calculates maximum set of Boost libraries
>> which are requirements of GIL:
>>
>> ```
>> $ cd boost_root
>> $ python tools/boostdep/depinst/depinst.py -v gil | grep dependency
>> Adding dependency config
>> Adding dependency core
>> Adding dependency mpl
>> Adding dependency iterator
>> Adding dependency integer
>> Adding dependency type_traits
>> Adding dependency concept_check
>> Adding dependency static_assert
>> Adding dependency bind
>> Adding dependency preprocessor
>> Adding dependency function
>> Adding dependency lexical_cast
>> Adding dependency smart_ptr
>> Adding dependency array
>> Adding dependency lambda
>> Adding dependency numeric/conversion
>> Adding dependency algorithm
>> Adding dependency filesystem
>> Adding dependency test
>> Adding dependency crc
>> ```
>>
>> The depinst.py does
>> - only scan GIL headers
>> - not analyse conditional #include-s, so for some compilation
>> cases, some dependencies may not be required.
>
>
> In addition, it would be very useful to know whether the dependencies are
> for the library itself, or for the tests only.
>
>>
>> Since GIL switched to C++11, some may be obvious candidates to get rid of.
>>
>> Could we brainstorm some priority list of dependencies?
>> - trivial to remove
>> - non-trivial to remove
>> - impossible to removed
>>
>> Shall we open GH issue for this?
>
>
> I have created https://github.com/boostorg/gil/projects/3 so we can
> experiment with the (relatively) new "project" artefact on github. Yes, I
> think such an endeavor would be very useful indeed.
Let's give it a go with first proposal to triage
https://github.com/boostorg/gil/pull/101
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Boost list run by Boost-Gil-Owners