| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@iyadahmed When (and if) you have the bandwidth, let us know what you think 🙏 Alternatively if time is limited, there is no problem integrating the patch originally suggested in #320 (comment) |
Sorry, something went wrong.
|
I've just tried it, it works great, but it still does not execute the cmTC_* executables in a virtual device automatically, but not a problem, it can be done in a separate patch, also I was going to execute them manually anyways, I think this patch is good to go so far |
Sorry, something went wrong.
|
Yep here are exit codes for each program, there's two extra programs that turned out to not return 0 |
Sorry, something went wrong.
|
here's the configure command I'm using btw cmake .. \ -D_download_3.10.9_md5="25eb3686327c157dcb8ac9f01105c306" \ -DPYTHON_VERSION=3.10.9 \ -DCMAKE_INSTALL_PREFIX=/home/iyad/Development/Blender_On_Android/lib/android_aarch64/python \ -DCMAKE_SYSTEM_NAME=Android \ -DCMAKE_SYSTEM_VERSION=21 \ -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a \ -DCMAKE_ANDROID_NDK=/home/iyad/Android/Sdk/ndk/25.1.8937393 \ -DCMAKE_ANDROID_STL_TYPE=c++_static make install |
Sorry, something went wrong.
|
tests are failing on mac though :/ @jcfr |
Sorry, something went wrong.
|
for some reason this patch produces different check binaries than master |
Sorry, something went wrong.
|
Here are results of cmTC_* binaries from the other patch |
Sorry, something went wrong.
Sorry, something went wrong.
|
ah for automatic running on virtual device my bad I should have used the instructions from unix docs, |
Sorry, something went wrong.
|
The run_on_android.sh script works great! got Python on the virtual device! now we need to figure out why MacOSX CI fails 😄 |
Sorry, something went wrong.
|
here's my final config command, now using the default Python version as Python 3.10 fails for some reason cmake .. \ -DCMAKE_INSTALL_PREFIX=/home/iyad/Development/Blender_On_Android/lib/android_aarch64/python \ -DCMAKE_SYSTEM_NAME=Android \ -DCMAKE_SYSTEM_VERSION=21 \ -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a \ -DCMAKE_ANDROID_NDK=/home/iyad/Android/Sdk/ndk/25.1.8937393 \ -DCMAKE_ANDROID_STL_TYPE=c++_static \ -DCMAKE_CROSSCOMPILING_EMULATOR=../run_on_android.sh \ -DANDROID_ALLOW_UNDEFINED_SYMBOLS=ON \ -DENABLE_DECIMAL=OFF \ -DENABLE_CTYPES=OFF |
Sorry, something went wrong.
|
Things are becoming more clear now, imo,
|
Sorry, something went wrong.
It was not effective, and it was visible using Android Studio.
Translated to CMake from a patch on the Yocto project: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/python/python3/0002-Don-t-do-runtime-test-to-get-float-byte-order.patch?h=zeus It avoids the execution of a program on the target device, and produces a clearer endianness result.
It avoids the need for checking it by running a program on the target platform.
…piling They are already present in source releases, so it is possible to ignore the regeneration step. We do that only when cross-compiling, because it is not possible to build for both the host and the target with a single pass of CMake.
| Back | FazBrowse Home | New Git URL |
This corresponds to #280 being rebased against current master (along with extracting documentation into its own CROSS-COMPILING.rst document)
Footnotes
https://github.com/dockcross/dockcross#readme ↩