-
Notifications
You must be signed in to change notification settings - Fork 258
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
[BUG] Build error of ncnn for Android 'x86_64' ABI with NDK r27 #2054
Comments
Also observed in vcpkg. |
This is the fix. It is included in r28. It doesn't cherry-pick cleanly to r27 - will try to resolve conflicts next week.
|
Thanks! I'm looking forward to it. |
The patch applies cleanly using |
Description
I tried to fix a build error of ncnn for Android 'arm64-v8a' ABI with NDK r27 by enabling cmake policy CMP0057 for cmake version >=3.3 in PR Tencent/ncnn#5615,
but build failed on 'X86' ABI:
The Github Action check of that PR shows a similar problem of 'X86' ABI on Linux. Manually turning off avx512bf16 by adding
-DNCNN_AVX512BF16=OFF
can pass the compilation. And there is no problem with NDK r26.Attached files: cast_x86_avx512bf16-b8d4a1.zip
full_log: x86_build_error.txt
Affected versions
r27
Canary version
No response
Host OS
Linux, Windows
Host OS version
Windows 11 Pro (22631.3958), Linux unknown (GitHub Action)
Affected ABIs
x86, x86_64
Build system
CMake
Other build system
No response
minSdkVersion
29
Device API level
No response
The text was updated successfully, but these errors were encountered: