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

cmake fails on "Clang libraries not found (set CLANG_ROOT)" #186

Open
Abh15h3k opened this issue May 25, 2020 · 5 comments
Open

cmake fails on "Clang libraries not found (set CLANG_ROOT)" #186

Abh15h3k opened this issue May 25, 2020 · 5 comments

Comments

@Abh15h3k
Copy link

Abh15h3k commented May 25, 2020

I have tried exporting CLANG_ROOT=/lib/clang/10.0.0 ( which contains the 'bin' 'include' and 'lib' forlders ). but cmake is always failing at "Clang libraries not found (set CLANG_ROOT)"
Attaching my CMakeOutput.log

I'm using Arch Linux

CMakeOutput.log

@Abh15h3k
Copy link
Author

Abh15h3k commented May 25, 2020

while breaking my head on this. i remembered another package that wouldn't build after version 10 of all these tools (gcc llvm) came out.

so i downgraded to gcc9 llvm9 clang9. and it builds and installs. properly. ( from archive.archlinux.org)

@Abh15h3k
Copy link
Author

but now make test. everything fails

@alexfikl
Copy link
Contributor

This should be fixed by the buildsystem changes in #185 (at least it is for me on Arch as well).

For the CLANG_ROOT error in particular, Arch just seems to have a single libclang-cpp, not all the individual libs that Oclgrind was looking for, so cmake wasn't finding it.

@mdigiorgio
Copy link

Same issue here with make test building with gcc7 llvm7 and clang7, I get 97/98 failures. Any updates?

@ululi1970
Copy link

ululi1970 commented Aug 31, 2021

Having this issue with Ubuntu 18.04, LLVM 11, Clang-13. Installing libclang-13-dev solved the problem

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

No branches or pull requests

4 participants