-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux distros jobs on PRs + Fix linking issues on some platforms #2101
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2101 +/- ##
=======================================
Coverage 63.75% 63.75%
=======================================
Files 96 96
Lines 19202 19202
Branches 9798 9798
=======================================
Hits 12242 12242
Misses 4658 4658
Partials 2302 2302 Continue to review full report at Codecov.
|
Not quite correct. For GCC 8 and clang 7-8, this is needed. GCC9 and clang9 and above do not. Well, the libc++ versions actually. GCC7 supports std::experimental::filesystem which is basically boost::filesystem. I wouldn't bother with it though. |
Thanks for the detailed review! I'll be more explicit about those checks in the CMake code then. |
This is how I do it elsewhere: gerbera/gerbera@143217b#diff-30d8f6be6320feeacf686be94f48c70869b52630e01ea625f0f15adc0d57c3e4R16 |
Just for the sake of sharing: There is a long discussion about this topic in a CMake gitlab issue: It seems difficult to come up with something very robust (for all possible cases). I'll try to come up with something good enough for the platforms we support in our CI infrastructure. |
d23ef1f
to
efe8293
Compare
efe8293
to
b7d5c7e
Compare
I forgot to mention one thing. On 32-bit OS, GCC 8.3 has a bug where std::filesystem does not work with larger than 2GB files. This was fixed with 8.4 I don't know if that's relevant. Debian 10 comes with GCC 8.3. |
Definitely it is good to know. I'm adding this link for future reference in case this bites us in the future: |
Fixes #2100