Skip to content
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

Android 4.x Build Doubled in Size #129

Closed
dmarcs opened this issue Dec 18, 2023 · 2 comments
Closed

Android 4.x Build Doubled in Size #129

dmarcs opened this issue Dec 18, 2023 · 2 comments

Comments

@dmarcs
Copy link

dmarcs commented Dec 18, 2023

If you compare the build artifacts from these 2 runs

  1. https://github.com/opencv/ci-gha-workflow/actions/runs/6345578976
  2. https://github.com/opencv/ci-gha-workflow/actions/runs/6425845547

The first is much bigger than the second. One big difference between the 2 is OpenCV-android-sdk/sdk/native/libs/x86_64/libopencv_java4.so

The size of libopencv_java4.so is the same for all other architectures (armeabi-v7a, arm64-v8a, x86). For whatever reason it only doubled in size for x86_64.

OpenCV-android-sdk/sdk/native/libs/x86_64/libopencv_java4.so should be around 26 MB, but it ends up being over 52 MB

@dmarcs
Copy link
Author

dmarcs commented Dec 19, 2023

The size difference is because the 2nd build includes ippiw and ippicv.

@dmarcs dmarcs closed this as completed Dec 19, 2023
@opencv-alalek
Copy link

relates #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants