-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[DNM] cmake toolchain cleanup system include handling #13648
Conversation
All this is a wip in progress to cleanup how we get the include path for libgcc, libc, and c++ headers. This seems to fix libc with the SDK toolchain and cross-toolchain on fedora. @aurel32 can you try this on debian. |
All checks are passing now. Review history of this comment for details about previous failed status. |
Codecov Report
@@ Coverage Diff @@
## master #13648 +/- ##
==========================================
- Coverage 52.51% 52.48% -0.04%
==========================================
Files 329 329
Lines 46910 46910
Branches 10811 10811
==========================================
- Hits 24637 24621 -16
- Misses 17340 17352 +12
- Partials 4933 4937 +4
Continue to review full report at Codecov.
|
I still do not get why we use
It works for finding the libc, but it doesn't work for C++ headers, neither in debian nor with SDK 0.1.0. You can find a way to test that in PR #13646 |
Also note that this strategy will not work for include paths added by a spec file, like it should be done in PR #12735 (but it's not done like that yet). |
25fd8e1
to
c98d0dc
Compare
Use some cmake module to get the system include paths ... Signed-off-by: Kumar Gala <[email protected]>
Excplicitly add C++ system header include path if we are building a c++ app. Signed-off-by: Kumar Gala <[email protected]>
c98d0dc
to
e8f2ffa
Compare
About the [DNM] tag: https://github.blog/2019-02-14-introducing-draft-pull-requests/ |
No description provided.