-
-
Notifications
You must be signed in to change notification settings - Fork 81
Added x86_64 build target on android #50
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,13 +8,19 @@ if [ -z "$ANDROID_NDK_HOME" ]; then | |
| exit 1 | ||
| fi | ||
|
|
||
| # Ring won't build in the below target for whatever reason | ||
| # 'arm armv7-linux-androideabi' \ | ||
| if [ $RELEASE ]; then | ||
| echo "Building in release mode... (slow)"; | ||
| else | ||
| echo "Building in debug mode... (fast)" | ||
| fi | ||
|
|
||
| ORIG_PATH="$PATH" | ||
|
|
||
| # Ring won't build in the below target for whatever reason | ||
| # 'arm armv7-linux-androideabi' \ | ||
| for archtargetstr in \ | ||
| 'x86 i686-linux-android' \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just remove 32-bit support completely, it just slows down testing time. I have a 10 year old laptop and even that has a 64-bit CPU. The Core 2 series were the first mainstream 64-bit Intel CPUs and they have been available for 13 years now!
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know why, but Google seems to suggest supporting 32-bit x86 is normal: https://developer.android.com/distribute/best-practices/develop/64-bit Could check the device support matrix and see if there actually are any 32-bit x86 devices out there that don't support x86_64, but until then I'll keep it. It's annoying with the build times, but I'd rather we make it such that we don't build for every target on non-release builds.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might be because of those mobile Intel mobile SoC for smartphones which Intel made one generation of and failed spectacularly in 2014, they were 32-bit. Since then they probably just want x86_64 APKs because of Chromebooks now supporting Android apps. |
||
| 'x86_64 x86_64-linux-android' \ | ||
| 'arm64 aarch64-linux-android' \ | ||
| ; do | ||
| arch=$(echo $archtargetstr | cut -d " " -f 1) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this as well