Version | SDK v13 | Ubuntu 20.04 LTS | Ubuntu 21.04 | Debian 11 testing | Fedora 32 | Fedora 33 | Fedora 34 | Android |
Cmake | - | 3.16.3 | 3.18.4 | 3.18.4 | 3.17 | 3.18 | 3.19 | 3.10 (or system any) |
Python | 3.7.12 | 3.8.2 | 3.9.2 | 3.9.2 | 3.8.2 | 3.9.0 | 3.9.4 | 3.9 |
Boost | 1.79 | 1.71.0 | 1.74.0 | 1.74.0 | 1.69 | 1.73 | 1.75 | 1.78 |
SDL | 2.0.8 | 2.0.10 | 2.0.14 | 2.0.14 | 2.0.12 | 2.0.12 | 2.0.12 | - |
Dependencies version in different distirbutives
Moderator: Committer
Dependencies version in different distirbutives
I've managed to see some dependencies version:
What about to raise minimum required boost version to 1.62 ?
Last edited by o01eg on Sat Aug 06, 2022 6:40 pm, edited 10 times in total.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Dependencies version in different distirbutives
Debian looks well maintained stretch (Debian 9) has 0.4.6 and 0.4.8 via official backports repositories. I do not know who supports debian, but in principle if you run debian 9 you have direct access to snapd (via apt install), so in principle the debian-9 for 0.4.9 story could be: install it via snap. Should be tested though beforehand.
I base the snap builds on the long-term stable cores (core18 aka ubuntu 18.4), so a bump of minimal boost up to 1.65 would be fine for me.
I am not sure when core20 is stable (it should be in april) - as far as i can see it will have boost 1.71.
I base the snap builds on the long-term stable cores (core18 aka ubuntu 18.4), so a bump of minimal boost up to 1.65 would be fine for me.
I am not sure when core20 is stable (it should be in april) - as far as i can see it will have boost 1.71.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!
Re: Dependencies version in different distirbutives
Some others:
Version | openSUSE 15.1 | openSUSE Tumbleweed |
Cmake | 3.10 | 3.16 |
Python | 2.7 (3.5 optional) | 3.7 |
Boost | 1.66 | 1.71 |
SDL | 2.0.8 | 2.0.12 |
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
- adrian_broher
- Programmer
- Posts: 1156
- Joined: Fri Mar 01, 2013 9:52 am
- Location: Germany
Re: Dependencies version in different distirbutives
> What about to raise minimum required boost version to 1.62 ?
Is there anything that you need from 1.62 or rather from between 1.58 and 1.62?
Is there anything that you need from 1.62 or rather from between 1.58 and 1.62?
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
Re: Dependencies version in different distirbutives
At least we can remove some compatibility code. Moreover CI doesn't test for boost below 1.62.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Dependencies version in different distirbutives
I don't see a lot of relevant cases where the boost version is checked... A quick search for "BOOST_VERSION" just found
https://github.com/freeorion/freeorion/ ... s.cpp#L515
that is testing for Boost versions less than 1.66.
Re: Dependencies version in different distirbutives
Cmake has checks for "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}", but I found only one checks less than 1.62 at https://github.com/freeorion/freeorion/ ... s.txt#L283Geoff the Medio wrote: ↑Wed Mar 18, 2020 9:47 amI don't see a lot of relevant cases where the boost version is checked... A quick search for "BOOST_VERSION" just found
https://github.com/freeorion/freeorion/ ... s.cpp#L515
that is testing for Boost versions less than 1.66.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Dependencies version in different distirbutives
Updated distros tables and removed those with python 3.5.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Dependencies version in different distirbutives
I think we could raise minimal cmake to 3.10 and maybe even boost to 1.65.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Dependencies version in different distirbutives
One of advantages to bump boost to 1.64 is to use process library https://www.boost.org/doc/libs/1_64_0/d ... ocess.html instead of own code.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Dependencies version in different distirbutives
Removed unsupported distributives after upgrade to Python 3.8 and Boost 1.69.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Re: Dependencies version in different distirbutives
I've updated list of available dependencies. Maybe we can update minimum supported Python to 3.9 after SDK update?
- Attachments
-
- freeorion-dependencies.ods
- (13.59 KiB) Downloaded 89 times
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Dependencies version in different distirbutives
At least I'd like to drop support for Fedora 32 and Ubuntu 20.04 due to Boost 1.69 and 1.71 being incompatible with C++20.
https://stackoverflow.com/questions/627 ... -under-c20
https://github.com/boostorg/signals2/co ... 80a4fa8cec
( Your table says Ubuntu 20.04 should have boost 1.71 but the GitHub workflow build log reports 1.69: https://github.com/freeorion/freeorion/ ... step:10:74 )
So perhaps set Boost 1.73 as minimum required?
https://stackoverflow.com/questions/627 ... -under-c20
https://github.com/boostorg/signals2/co ... 80a4fa8cec
( Your table says Ubuntu 20.04 should have boost 1.71 but the GitHub workflow build log reports 1.69: https://github.com/freeorion/freeorion/ ... step:10:74 )
So perhaps set Boost 1.73 as minimum required?
Re: Dependencies version in different distirbutives
I suppose it because FindBoosr.cmake report minimum required version instead of found one. I could print message with actual version from CMake.Geoff the Medio wrote: ↑Fri Apr 21, 2023 5:14 pm ( Your table says Ubuntu 20.04 should have boost 1.71 but the GitHub workflow build log reports 1.69: https://github.com/freeorion/freeorion/ ... step:10:74 )
Yes, I suppose it's fine.
Also I'd like to test if Debian stable supports c++20. Support two Ubuntu LTSs would be fine but I suppose next FreeOrion release isn't expected earlier than Ubuntu 24.04 LTS.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm