Skip to content
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

Add logic to get the system's gcc headers install folder #70

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

giulianobelinassi
Copy link
Collaborator

libLLVM provided on openSUSE leap are built with gcc-7 headers, which is results in crashes if clang-extract is build with any gcc headers other than 7. Hence we make sure to pass the system's gcc headers to clang so everything works as expected.

libLLVM provided on openSUSE leap are built with gcc-7 headers, which is
results in crashes if clang-extract is build with any gcc headers other
than 7. Hence we make sure to pass the system's gcc headers to clang
so everything works as expected.

Signed-off-by: Giuliano Belinassi <[email protected]>
@marcosps
Copy link
Collaborator

marcosps commented Jul 8, 2024

I built and run the tests with this PR, and with gcc7 compiler installed, and it worked for me as well. If this fixes your problem I believe that you can merge it.

@giulianobelinassi giulianobelinassi merged commit b0f2bd8 into main Jul 8, 2024
2 checks passed
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.

2 participants