-
Notifications
You must be signed in to change notification settings - Fork 443
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
llvm dependencies in ebpf backend can cause cmake problems. #1376
Comments
I had the same issue, I had to run |
This seems to be a bug in the llvm package for some ubuntu versions. The makefile has a link to a stackoverflow post describing a fix. It would be nice if the find-package would not crash and would just return false... |
Here is the link describing the problem and the solution: |
BCC seems to have a similar problem. This issue discusses several more workarounds: |
Pulling the latest p4c, when I run cmake I get some errors:
If I comment out the
find_package(LLVM)
line in that last cmake file, everything configures, but some stuff is disabled.The README.md file just says that llvm 3.7.1 or later is required. Is the problem llvm 3.8?
The text was updated successfully, but these errors were encountered: