-
Notifications
You must be signed in to change notification settings - Fork 132
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
Runtime size increase caused by NDK update #936
Comments
We'll have to move to a newer version anyway now, because NDK version 23 will be removed from the GitHub runners on October 9 (actions/runner-images#8383). |
Af first I thought it was these changes in NDK r23b:
For which the suggested workaround is "being explicit and telling CMake that you want But then in r23c, when they switched back to the "legacy toolchain file" (which despite its name, will be the only recommended option for the foreseeable future), they accidentally disabled optimization completely in Sizes from NDK 22.1.7171670, CMAKE_BUILD_TYPE=Release:
NDK 23.2.8568313, CMAKE_BUILD_TYPE=Release:
NDK 26.1.10909125, CMAKE_BUILD_TYPE=Release:
|
The runtime build recently changed from NDK version 22.1.7171670 to 23.2.8568313, to avoid having to install it on the GitHub Actions runner. However, this has caused a significant increase in the size of all .so files in a release build.
See if this can be improved by moving to an even newer version.
Related:
The text was updated successfully, but these errors were encountered: