https://github.com/payload/android-test-boost-python-3
Tests Boost.Python 3 for Android via CrystaX NDK.
https://github.com/payload/android-test-boost-python-3
Last synced: 9 months ago
JSON representation
Tests Boost.Python 3 for Android via CrystaX NDK.
- Host: GitHub
- URL: https://github.com/payload/android-test-boost-python-3
- Owner: payload
- Created: 2015-12-19T21:30:25.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-19T21:33:36.000Z (about 10 years ago)
- Last Synced: 2025-02-10T09:12:01.597Z (11 months ago)
- Language: Makefile
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test Boost.Python on Android
Output:
Hello from test.cpp!
Hello from main.py!
Hello from my_native_py.cpp!
## How to build, install and run
make && make install && make run
You can also `make help` for a explanation of the `make` targets.
`make` or `make ndk-build` compiles and links the files in `jni/`.
`make install` pushes assets, python and outputs of `ndk-build` on the device
into /data/local/tmp/test-boost-python-3.
It creates a `install` cache for incrementally updating files on the device.
`make run` runs the executable `test-boost-python-3` on the device.
`make clean` removes everything execept the `install` cache.
`make uninstall` removes the `install` cache and removes the project folder
on the device.
`ndk-build` needs to be in PATH.
CrystaX NDK dependencies:
arm-linux-androideabi-5-linux-x86_64.tar.xz
boost-1.59.0-build-files.tar.xz
boost-1.59.0-headers.tar.xz
boost-1.59.0-libs-gnu-5-armeabi.tar.xz
compiler-rt-libs-armeabi.tar.xz # don't know
crystax-libs-armeabi.tar.xz
gabixx-libs-armeabi-g.tar.xz # don't know
gnu-libstdc++-headers-5.tar.xz
gnu-libstdc++-libs-5-armeabi-g.tar.xz
libgccunwind-libs-armeabi.tar.xz
python3.5-headers.tar.xz
python3.5-libs-armeabi.tar.xz