Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Added support for clang with GNU stdlib (relevant on Ubuntu 18.04) #153

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

Merged

Conversation

emmenlau
Copy link

@emmenlau emmenlau commented Apr 2, 2021

This PR adds support for using clang with GNU stdlib on older versions of stdlib where its required to pass stdc++fs to the linker.

NOTE: In the cmake check for clang_with_gnu_stdlib, there is a generator expression checking $<NOT:$<BOOL:${WIN32}>>. This is not exactly what I would like to have there. Better would be a check for Linux, but I did not find a nice way to put that into a generator expression. Maybe UNIX would do, but the fix is also not required on Apple.

Closes #152

@glynos
Copy link
Member

glynos commented Apr 2, 2021

I'll look at this over the weekend and try to do something about the CI failures too

@glynos
Copy link
Member

glynos commented Apr 4, 2021

I updated the main branch to fix the CI issues, can you merge and run again?

@emmenlau emmenlau force-pushed the bda_fix_clang_with_gnu_stdlib branch from cf76c52 to 76b4f29 Compare April 9, 2021 16:27
@emmenlau
Copy link
Author

emmenlau commented Apr 9, 2021

Rebased on latest main and pushed again, lets see what the CI says...

@glynos glynos merged commit 346fc20 into cpp-netlib:main Apr 14, 2021
@emmenlau emmenlau deleted the bda_fix_clang_with_gnu_stdlib branch April 14, 2021 18:22
@emmenlau
Copy link
Author

Thanks!

GerHobbelt pushed a commit to GerHobbelt/url that referenced this pull request Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not build on Ubuntu 18.04 with Clang
2 participants