mirror of https://gitlab.com/famedly/conduit
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
219dfbabd5 | 3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
build.sh | 3 years ago | |
test.sh | 3 years ago |
README.md
Cross compilation
The cross
folder contains a set of convenience scripts (build.sh
and test.sh
) for cross-compiling Conduit.
Currently supported targets are
- aarch64-unknown-linux-musl
- arm-unknown-linux-musleabihf
- armv7-unknown-linux-musleabihf
- x86_64-unknown-linux-musl
Install prerequisites
Docker
$ sudo apt install docker
$ sudo systemctl start docker
$ sudo usermod -aG docker $USER
$ newgrp docker
Cross
$ cargo install cross
Buiding Conduit
$ TARGET=armv7-unknown-linux-musleabihf ./cross/build.sh --release
The cross-compiled binary is at target/armv7-unknown-linux-musleabihf/release/conduit
Testing Conduit
$ TARGET=armv7-unknown-linux-musleabihf ./cross/test.sh --release