[issue27917] Choose platform triplets for android builds

2020-11-18 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 676e6c3d30db by Xavier de Gaye in branch 'default': Issue #27917: Fix test_triplet_in_ext_suffix for the 'x86' Android platform. https://hg.python.org/cpython/rev/676e6c3d30db -- ___ Python tracker

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_triplet_in_ext_suffix in test_sysconfig fails with the 'x86' Android platform. -- status: closed -> open ___ Python tracker ___ __

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Matthias Klose
Matthias Klose added the comment: checked in. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset a931fdc4c4c4 by doko in branch 'default': - Issue #27917: Set platform triplets for Android builds. https://hg.python.org/cpython/rev/a931fdc4c4c4 -- nosy: +python-dev ___ Python tracker

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Matthias Klose
Matthias Klose added the comment: I think that's good for now. The compiler checks maybe can be later adjusted. -- ___ Python tracker ___

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: OK found some wrong usages in my build script. Now MIPS64 builds fine, and PLATFORM_TRIPLET is detected as intended. I didn't test the build on actual devices, as I don't have a MIPS or MIPS64 device. -- ___ Python t

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: CPython builds fine for MIPS with this patch. For MIPS64, apparently Android NDK is broken - it can't even compile a simple C file. -- ___ Python tracker __

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Matthias Klose
Changes by Matthias Klose : Removed file: http://bugs.python.org/file44327/android.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Matthias Klose
Matthias Klose added the comment: yes, it should follow the gnu triplets. I updated these, and added some for mips. However I can't check if the mips ones will do what they are supposed to do. Please could you check these if you have cross compilers available? -- Added file: http://bug

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Well, here's a list of cross compilers in Android NDK: $ ls $ANDROID_NDK/toolchains/*/prebuilt/*/bin/*-gcc | xargs -i basename '{}' aarch64-linux-android-gcc arm-linux-androideabi-gcc mips64el-linux-android-gcc mipsel-linux-android-gcc i686-linux-android-gc

[issue27917] Choose platform triplets for android builds

2016-09-01 Thread Matthias Klose
Matthias Klose added the comment: here's a patch, not yet including the ABI levels. I think we didn't need them for Linux, and maybe start for Android without using them. You can later introduce these if you have to. -- keywords: +patch Added file: http://bugs.python.org/file44327/andr

[issue27917] Choose platform triplets for android builds

2016-08-31 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: In Android NDK, each API level comes with a different set of header files ($ANDROID_NDK/platforms/android-$ANDROID_API_LEVEL/arch-$ARCH/usr/include). In a strict sense, the API level should be included in platform triplet. At least the plat-* directory has diff

[issue27917] Choose platform triplets for android builds

2016-08-31 Thread Matthias Klose
Matthias Klose added the comment: hmm, should the android api level be part of the platform triplet? or are these not relevant for modules? -- ___ Python tracker ___ ___

[issue27917] Choose platform triplets for android builds

2016-08-31 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: In changeset 46567fda0b29, Xavier defined an autotools variable $ANDROID_API_LEVEL. This can be used to determine whether a specific compiler targets Android or not. -- nosy: +xdegaye ___ Python tracker

[issue27917] Choose platform triplets for android builds

2016-08-31 Thread Matthias Klose
Changes by Matthias Klose : -- nosy: +Chi Hsuan Yen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27917] Choose platform triplets for android builds

2016-08-31 Thread Matthias Klose
New submission from Matthias Klose: Following up to http://bugs.python.org/issue23968, I think we should choose different platform triplets for the android builds than we do for the linux builds. Not sure which ones. I saw the following gnu triplets used: - i686-linux-android - arm-linux-a