kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #41988
Re: Minimum Boost version
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Thu, 29 Aug 2019 08:09:37 -0400
-
Autocrypt:
addr=stambaughw@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBEM0hxQRBAC2fNh3YOVLu1d5GZ0SbrTNldGiGnCJPLqzEnqFX9v6jmf33TMt6EmSLkl6 Wtfkoj0nVwKxcYmJkA8DX0QAokBkwNIzhSsBzQvthBLIk/5LnPVVKrEXOcL4mUyH1doKlkaE slgJozNa6Av+oavcvD02o1zJOloBbaHlNlyRt7fKswCgtIFlVjWggVH/15KfWk+Qo5JVPbME AIUBAQyL2OAx0n60AWec2WHnO9buHuG0ibtICgUMkE+2MRmYyKwYRdyVwGoIUemFuOyHp0AJ InX4T+vy2E7vkwODqjtMLfIoRkokW74Fi4nrvjlhOAw/vdq/twLbAmR9MOfPTpR4y7kQy1O2 /n+RkkRvh26vTzfbQmrH7cBJhk6aA/9Uwvu3E4zNJgHVZeS0HyWtmR1eOPPRbnkPgJTToX5O KMKzTJI/FX6kT7cFoCamitHrW3BJP4Dx+cMMsa47EGxqVTdbVJ4LjogsXTXxb+0Fn1u4zBdx x3Cer6O7+hqWy7zvpzeC6nSREjqDKa5CgHtv/GLm5uFPOmsjAsnHj2tlBrQmV2F5bmUgU3Rh bWJhdWdoIDxzdGFtYmF1Z2h3QGdtYWlsLmNvbT6IeAQTEQIAOBYhBOffs6CbblRzBkv33BtR cWlZ+CReBQJbFBS2AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBtRcWlZ+CReMI8A nRbrLkzp7+c2f0vX7sfg4ICX8LAKAJ9uClo4uJajmZa5zZrL2nKdZlUwIrkCDQRDNIcxEAgA gCru+3/aOC6RCjpvYC72wY+d5SmHphC6yeiV2/mOumyt5MLo/Ps2GznZr11JspqFk5K/Zpvp MMLqqjDZ39+50a2iKRQFJ6NlK+hJWMmj6eJygQrCwYo3Gjc6CqfrqUv+8VSnf/i5sIZmtOVA 4ZjML18MuBvMSsNdVLFJd5HNnYb1iOECpvqdPVh/21LLCEw7MUUGGnHBhCrmk2aJe5hFmcSN g4ldBcXrgMQBwf7aMVoobXBMFDb/IENByXn0llB7Gr2IFMRmNS9/p8s/II1Yl2bTqyX4FSz8 cfn7C9KEz7faZ7wzAcpwHFC/zs3JoAjJ0IEKdNUpIwAlKMzT3CzctwADBQf/cxpG28MKyrqk nNmq/8LQLy+x6FSYXBLjxQz9BiBNYeesDZQ6J5UbL1mjpJzMa5tLZypPYo4bbGyR22hrbyDF K7m6AcVaMIJKl98g4ukMutFfAJyRDaREH5Zl/X1P4u1Z/yaAIy9mKaNbaK1/5djNJ5wCTFen TUgAp9xdc30kGkFDdLJFp5uxDY4P0vaZiZdjUCvDM3Zjv5IzpNOfxVqTUBQNUP/BnnKhkk0p DTD6s3X8S+D0rOtEBQ8K0cwERI/E8EFa8nj0TNw4e2MYGR8wg+SxqJ7z5f0zPY0bO6G9DDFB wYCqzzPWGqdAh9vA5971TAbPERtdFybhkurozp2SfYhJBBgRAgAJBQJDNIcxAhsMAAoJEBtR cWlZ+CResHUAniULLCWiT26ieRTl7N2vS6vBo/DuAJ4m7Ss/gyiW6ybTn1ctDXAUgm2QVQ==
-
In-reply-to:
<CAD_CCVZF5qxSpP3M1ZLkGT=G8410V6btpHsHuauV7_kSF-eOrA@mail.gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
What's wrong with setting the minimum boost version to 1.59? If this is
the version that has the testing features that you need and presumably
all later versions, then this should suffice. I would prefer that we
maximize the number of supported distros whenever possible.
Cheers,
Wayne
On 8/28/19 2:49 PM, Blair Bonnett wrote:
> Hi all,
>
> I've recently been playing with some features I'd like to add to KiCad
> (will be able to submit a patch soon I hope). As part of this, I'm
> adding some unit tests. I see that unit_test_utils.h within the qa has a
> number of macros working around Boost pre-1.59, and there's some
> features introduced in Boost 1.59 which would make my testing a lot cleaner.
>
> Currently, the main CMakeLists.txt specifies a minimum version of 1.54
> for Boost. This was released on 1 July 2013 [1]; incidentally, this was
> 18 months before the formal release of C++14 (approved August 2014,
> released December 2014) which is mandated in CMakeLists.
>
> I've done a quick survey of the versions of Boost in some of the larger
> Linux distributions, with the results as follows:
>
> Arch: 1.69 [2]
> Debian stable: 1.67 [3]
> Debian oldstable: 1.62 [4]
> Fedora 30 and 31: 1.69 [5]
> openSUSE: 1.69 [6]
> Ubuntu 19.04: 1.67 [7]
> Ubuntu 18.04 LTS: 1.65 [8]
> Linux Mint 19.2: based on Ubuntu 18.04, so 1.65
>
> It's worth noting that Debian oldstable has KiCad 4.0.5 and Ubuntu 18.04
> LTS has KiCad 4.0.7, so I'd say there is no need to worry about
> targeting them for KiCad 6. This presumably also means Linux Mint is
> using 4.0.7 and is also not of concern.
>
> Based on this, from a Linux point-of-view I'd say its fairly safe to
> bring the minimum Boost requirement up to 1.67 for KiCad 6. However, I'm
> not sure what the Mac and Windows builders use -- they may require a
> lower version. There may also be other reasons I've missed to keep an
> older version as the minimum requirement.
>
> Thoughts?
>
> Blair
>
> [1] https://www.boost.org/users/history/version_1_54_0.html
> [2]: https://www.archlinux.org/packages/extra/x86_64/boost/
> [3] https://packages.debian.org/buster/libboost-all-dev
> [4] https://packages.debian.org/stretch/libboost-all-dev
> [5] https://apps.fedoraproject.org/packages/boost
> [6]: https://software.opensuse.org/package/boost-base
> [7] https://packages.ubuntu.com/disco/libboost-all-dev
> [8] https://packages.ubuntu.com/bionic/libboost-all-dev
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References