Personally I don't think Boost.Test is worth replacing, but getting rid of 
filesystem and regex is certainly worthwhile.

As for dune, the ppa provides 2.6 for 18.04 and 16.04 already so it does not 
have a big impact for ubuntu builds.
________________________________
Fra: Opm <[email protected]> på vegne av Bård Skaflestad 
<[email protected]>
Sendt: tirsdag 28. januar 2020 09:47
Til: Joakim Hove <[email protected]>; [email protected] 
<[email protected]>
Emne: Re: [Opm] Dependencies revisited

In addition to the Boost.Spirit component that Joakim mentions there's also the 
practical issue that almost all of our unit tests target Boost.Test as a 
framework.  For instance, the header <boost/test/unit_test.hpp> is included 193 
times across the OPM code base.  If we're going to replace that with another 
framework--Google Test might be an alternative--it is going to require some 
work to rewrite the tests.

That said, raising the minimum C++ language version to C++17 will allow us to 
replace most of our other usage of Boost; notably regular expressions and 
Boost.Filesystem.


Regards,

Bård Skaflestad
SINTEF Digital, Mathematics & Cybernetics
Computational Geosciences group

-----Original Message-----
From: Opm <[email protected]> On Behalf Of Joakim Hove
Sent: Tuesday, January 28, 2020 9:37 AM
To: [email protected]
Subject: Re: [Opm] Dependencies revisited

Another recurring issue is Boost. If we jump to Debian Buster and Ubuntu
> 19.04, this entails that we can bump minimum version of GCC to 8.3.0.
> Is this sufficient to consider removing Boost as a dependency?
>

The parser uses boost spirit::qi which at some stage proved to give a 
performance gain for plain parsing of numerical input, i.e. "3.14" -> 3.14.
It is simple to replace with std varieties, but there might be a performance 
hit.

J
_______________________________________________
Opm mailing list
[email protected]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopm&amp;data=02%7C01%7Carne.morten.kvarving%40sintef.no%7C778f98fe00614d1b8a5f08d7a3cec048%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637157980693157294&amp;sdata=lEVMYxSeq06fCRuP7xuowpD%2F%2FVCpKz%2BPA%2BT5f%2BZHc%2Fo%3D&amp;reserved=0
_______________________________________________
Opm mailing list
[email protected]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopm&amp;data=02%7C01%7Carne.morten.kvarving%40sintef.no%7C778f98fe00614d1b8a5f08d7a3cec048%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637157980693157294&amp;sdata=lEVMYxSeq06fCRuP7xuowpD%2F%2FVCpKz%2BPA%2BT5f%2BZHc%2Fo%3D&amp;reserved=0
_______________________________________________
Opm mailing list
[email protected]
https://opm-project.org/cgi-bin/mailman/listinfo/opm

Reply via email to