-
Notifications
You must be signed in to change notification settings - Fork 23
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
Enable cross-compilation #18
Comments
Does this project need to be modified in any way to allow using these tools? |
negative, my branch (without opencv dependency) compiles on both a amd64 laptop & a rockchip SoC as-is, both with the latest Debian + libhidapi-dev + libusb-1.0-0-dev. would be interested to know how Android SDK did this |
I would be interested in this as well. Could also consider using bazel. It could sit along side the traditional builds in the repo. https://github.com/bazelbuild/examples/blob/main/rust-examples/02-hello-cross/README.md. All rust all the time is cool but some things are better at handling dependencies. My past attempts at rust cross compilation were full of difficulties, but it was awhile back. I recently ran through the bazel build rust examples and was suitably impressed with what can be possible. There is a learning curve with bazel, however, I do use it for another project where cross compilation is part of the process. I would say the big win for a dev is not having to manage toolchains, and dependencies get handled cleanly. |
2 options I'm aware of but haven't tried:
my team is working on several builds for ARM architecture (MacOS/Linux). They work smoothly, but we would ideally move to a single publishing pipeline that uses a x86_64 computer to build binaries for all environments.
please upvote if you have similar requirement
The text was updated successfully, but these errors were encountered: