-
Notifications
You must be signed in to change notification settings - Fork 12k
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_INCLUDE_BENCHMARKS with llvm 14.0.1 failing to build. #54941
Comments
I try to build llvm 14.0.4 and it fails with the following error -- Looking for include file sys/inotify.h Can someone help me here? |
Can someone help me with the above issue? |
this issue persists all the way through to latest 16.0.3 |
Indeed:
@felix May I build after symlinking? |
for latest 16.0.4 LLVM_INCLUDE_TESTS also needs to be set to off, in addition to LLVM_INCLUDE_BENCHMARKS. |
Why is |
without the benchmark patch the following build error occurs with llvm.
It appears to be that the
if (LLVM_INCLUDE_BENCHMARKS)
is expanded before the make option is overridden. Unsure if this is a cmake BUG / FEATURE or an error in thellvm/CMakeLists.txt
file. If you runscripts/build llvm:host
a 2nd time straight away - it successfully compiles. The CMakeCache.txt file has the correct option in itLLVM_INCLUDE_BENCHMARKS:BOOL=OFF
so the option
-DLLVM_INCLUDE_BENCHMARKS=OFF
is correctly being past from the command line.The text was updated successfully, but these errors were encountered: