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

Always use api 21 for android ndk. #230

Closed
wants to merge 1 commit into from
Closed

Conversation

mgautierfr
Copy link
Member

mmap64 is supported only from api 21
(https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md)

Let's move to api 21 all the time.

@mhutti1
Copy link
Contributor

mhutti1 commented Jul 31, 2018

About 5% of our users use an API version less than 21. won't this not work for them?

@kelson42
Copy link
Contributor

kelson42 commented Aug 1, 2018

@mhutti1 @mgautierfr That seems to be a good candidate to explain kiwix/kiwix-android#825

@kelson42
Copy link
Contributor

kelson42 commented Aug 1, 2018

@mgautierfr @mhutti1 Do we wait something additional to merge this?

@mgautierfr
Copy link
Member Author

This is superseded by #231 and openzim/libzim#178.

Once theses two PR will be merged we will use mmap when possible and fallback to "classical" memory copy/read on android 32 bits.

@mgautierfr mgautierfr closed this Aug 1, 2018
@kelson42 kelson42 deleted the android_api_21 branch June 12, 2019 05:39
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

Successfully merging this pull request may close these issues.

3 participants