-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Compile bug: Android example compilation failure after commit b4357. #10952
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
Comments
Could you elaborate further? Should I consider adding any CMake parameters to the Android build to prevent this error? Thank you. |
I suspect that this is due to using |
I tested the latest build, but unfortunately, the issue persists. Below is the CMake error log, where the fatal error appears to be: "error: unknown argument: '-mfp16-format=ieee'". ---- Error Log----- Run Build Command(s):F:\Work\Android\sdk\cmake\3.22.1\bin\ninja.exe cmTC_09134 && [1/2] Building C object CMakeFiles/cmTC_09134.dir/src.c.o Source file was: static void* test_func(void* data) int main(void) return 0; Performing C++ SOURCE FILE Test GGML_COMPILER_SUPPORTS_FP16_FORMAT_I3E failed with the following output: Run Build Command(s):F:\Work\Android\sdk\cmake\3.22.1\bin\ninja.exe cmTC_f70f9 && [1/2] Building CXX object CMakeFiles/cmTC_f70f9.dir/src.cxx.o Source file was: |
These messages are not indicative of a failed build, compiler tests are expected to fail occasionally. |
The compiler output still the same actually. [CXX1429] error when building with cmake using H:\AI\llama.cpp\examples\llama.android\llama\src\main\cpp\CMakeLists.txt: -- The C compiler identification is Clang 18.0.1 C++ build system [configure] failed while executing: |
You need to clear the cmake cache |
I tried cleaning the project and deleting all temporary build files, but it still didn’t work. It only worked after replacing the |
The last build no more problems, thank you. |
Name and Version
llama.cpp b4358 - latest
Operating systems
Other? (Please let us know in description)
Which llama.cpp modules do you know to be affected?
libllama (core library)
Problem description & steps to reproduce
When compiling the Android example, the following error message is displayed: "Failed to get ARM features." The detailed logs are provided below.
First Bad Commit
b4358
Relevant log output
The text was updated successfully, but these errors were encountered: