-
Notifications
You must be signed in to change notification settings - Fork 15
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
WIP call vendor/configure and vendor/make to create libzmq.a #3
Conversation
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
Hi Axel, Could you explain to me what problem using From what I recall you were unable to cross-compile for android using cmake. Why not open an issue for that? |
Added WIP to the title of this PR. Also integrate with testcrate again following openssl_rs's example. |
I now build from the testcrate to see who the src-crate is used. Sub-problem is now that the cloned git submodule is not on the stable branch and the
Is that something you could change for the git submodule? |
Yes the master branch uses a unreleased version for zmq. The latest_release branch tracks the lastest zmq stable release. |
I suggest to add the stable branch here as a submodule like described here. |
Currently I'm not sure I understand your previous comment. |
I think that the submodule should be 'stable' not master.
This way the submodule directory 'vendor' contains the branch 'stable' when zeromq-src-rs is checked out. |
The master branch mirrors The lastest_release mirros follows Do you mean that you think either of these branches should be renamed? |
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
Signed-off-by: Axel Nennker <axel.nennker@telekom.de>
Signed-off-by: Axel Nennker axel.nennker@telekom.de
I suggest to call zeromq's autogen.sh && configure && make to build libzmq.a
How to use this:
git clone --recursive https://github.com/AxelNennker/zeromq-src-rs
cd zeromq-src-rs
Please see https://developer.android.com/studio/
ANDROID_API=28 PATH=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH CC=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang CXX=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang++ cargo build --target=aarch64-linux-android
vendor/src/.libs/libzmq.a
Possible improvements:
cargo clean
removes everything built