Change to stl::filesystem from Boost::filesystem
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Change to stl::filesystem from Boost::filesystem
At this rate... VSG will be ready before OpenMW gets to 1.0 :/
- AnyOldName3
- Posts: 2677
- Joined: 26 Nov 2015, 03:25
Re: Change to stl::filesystem from Boost::filesystem
It's much easier to work on something new than maintain legacy stuff. We need to keep compatibility with all the dumb decisions Bethesda made and loads of legacy bloat in OSG, but VSG doesn't need to copy anything.
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Change to stl::filesystem from Boost::filesystem
So OpenMW would have to two support two renderes?
- AnyOldName3
- Posts: 2677
- Joined: 26 Nov 2015, 03:25
Re: Change to stl::filesystem from Boost::filesystem
We don't need to add support for VSG, but if we do, we would need to add it as a second renderer.
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Change to stl::filesystem from Boost::filesystem
I have a WIP branch... updates appveyor to drop msvc 2015, adds msvc 2019 (2017 and 2019), linux drops gcc-5 and we use std::filesytem instead of std::experimental:filesystem in bsatool. Just bsatool for now, easy/small to test as my other MR is full of merge conflicts. I don't want to come back to this after a month and have more conflicts.
The main problem is still MacOS. std::filesystem/std::experimental::filesystem isn't there yet until MacOS 10.15 and Travis doesn't have that yet. Having the SDK installed is not enough, the libstdc++ of the system itself has to be updated and Travis still uses 10.14.
It might make life harder for Android people. It also means that tes3mp will likely also have to adapt.
The main problem is still MacOS. std::filesystem/std::experimental::filesystem isn't there yet until MacOS 10.15 and Travis doesn't have that yet. Having the SDK installed is not enough, the libstdc++ of the system itself has to be updated and Travis still uses 10.14.
It might make life harder for Android people. It also means that tes3mp will likely also have to adapt.
-
- Posts: 256
- Joined: 19 Jul 2016, 01:02
Re: Change to stl::filesystem from Boost::filesystem
MacOS 10.15 was just released about a week ago and Travis already has up to Xcode 11.2 support (which has std::filesystem support). It's just a matter of time now.psi29a wrote: ↑21 Oct 2019, 09:14The main problem is still MacOS. std::filesystem/std::experimental::filesystem isn't there yet until MacOS 10.15 and Travis doesn't have that yet. Having the SDK installed is not enough, the libstdc++ of the system itself has to be updated and Travis still uses 10.14.
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Change to stl::filesystem from Boost::filesystem
Sadly not... they use Xcode 11.2 with 10.15 SDK on 10.14 MacOS. So no go until they finally get around to actually running MacOS 10.15 (libstdc++), so yeah... as I've said, we''be been waiting years now.
https://docs.travis-ci.com/user/referen ... os-version
My latest MR is here if you would like to follow along:
https://github.com/OpenMW/openmw/pull/2561
original was from 2017 was:
https://github.com/OpenMW/openmw/pull/1526
Been waiting, literately for years now.
https://docs.travis-ci.com/user/referen ... os-version
My latest MR is here if you would like to follow along:
https://github.com/OpenMW/openmw/pull/2561
original was from 2017 was:
https://github.com/OpenMW/openmw/pull/1526
Been waiting, literately for years now.
Re: Change to stl::filesystem from Boost::filesystem
I bet you that it is indeed a matter of time. Some number of picoseconds greater than 0 from now until the end of the universe.
Anyway, I'll bet you a dollar it's done before 2020.
Re: Change to stl::filesystem from Boost::filesystem
CircleCI has a beta 10.15
https://circleci.com/docs/2.0/testing-ios/
https://circleci.com/docs/2.0/testing-ios/