-
Notifications
You must be signed in to change notification settings - Fork 176
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
Test suite does not build on centos7 #72
Comments
I'll see what I can do. Will need to fix that on the way to C++20 support anyway, I guess. Thanks for reporting it. |
I used your referenced centos7/8 |
Yes, please, use the code if it is useful. Since devtoolset should ideally only be used during build, but not runtime, ultimately this line https://github.com/bbannier/filesystem/blob/81908c385b017f39cee013ff73d5c3abb67261be/.cirrus.yml#L25 should probably read instead - source /opt/rh/devtoolset-9/enable && PATH=$PATH:/usr/local/bin .ci/unix-test.sh
+ PATH=$PATH:/usr/local/bin .ci/unix-test.sh With that you could ensure that the binary produced with devtoolset can be used without it. |
Released with v1.3.6 |
Awesome, thanks a lot @gulrak. |
The test suite does not seem to build under centos7 with devtoolset-9. This seems to be due to a used
TestAllocator
not implementingrebind
(deprecated in C++17, removed in C++20), e.g.,I was exploring whether this library would be a good replacement for devtoolset on centos7 since the base system
libstdc++
is fairly old there, and some the std filesystem library often requires compiled components (the devtoolset workflow is easiest to deploy if the produced artifacts have not runtime dependencies on devtoolset libraries).I have tested this by extending the Cirrus CI setup with centos7 and centos8 platforms here. The build and test steps pass for centos8, but centos7 fails with above error.
Ideally it should be possible to use this library to statically compile in a libstdc++-neutral std::filesystem-like functionality (either by using header-only components or by a static link).
I understand that there is no official support for centos platforms, so please close this if it is out of scope.
The text was updated successfully, but these errors were encountered: