Dependencies check
This commit is contained in:
parent
9dadbd1ef4
commit
8faa689638
|
@ -59,6 +59,42 @@ Synit builds upon many existing technologies, but primarily relies on the follow
|
|||
reason. See [here](./emulator.md) for [instructions on running Synit on a emulated
|
||||
device](./emulator.md).
|
||||
|
||||
Here's a small shell snippet to quickly check for the dependencies you will need:[^contact-if-missing]
|
||||
|
||||
```shell
|
||||
(
|
||||
rustc +nightly --version
|
||||
cross +nightly --version
|
||||
docker --version
|
||||
python --version
|
||||
git --version
|
||||
ssh -V
|
||||
rsync --version | head -1
|
||||
make --version | head -1
|
||||
cc --version | head -1
|
||||
preserves-tool --version
|
||||
qemu-system-aarch64 --version | head -1
|
||||
ls -la /proc/sys/fs/binfmt_misc/qemu-aarch64
|
||||
) 2>/dev/null
|
||||
```
|
||||
|
||||
On my machine, it outputs:
|
||||
|
||||
```
|
||||
rustc 1.73.0-nightly (6ef7d16be 2023-08-19)
|
||||
cross 0.2.5
|
||||
cargo 1.73.0-nightly (80eca0e58 2023-08-19)
|
||||
Docker version 20.10.25+dfsg1, build b82b9f3
|
||||
Python 3.11.4
|
||||
git version 2.40.1
|
||||
rsync version 3.2.7 protocol version 31
|
||||
GNU Make 4.3
|
||||
cc (Debian 13.2.0-2) 13.2.0
|
||||
preserves-tools 3.0.2
|
||||
QEMU emulator version 8.0.4 (Debian 1:8.0.4+dfsg-1)
|
||||
-rw-r--r-- 1 root root 0 Aug 19 12:47 /proc/sys/fs/binfmt_misc/qemu-aarch64
|
||||
```
|
||||
|
||||
## Get the code
|
||||
|
||||
The Synit codebase itself is contained in the [`synit` git
|
||||
|
@ -152,3 +188,7 @@ following the information in [the following chapter](./operation/index.md).
|
|||
one](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014177)) which makes Docker-based
|
||||
cross builds hang. *Downgrading* `qemu-user-static` to version `1:5.2+dfsg-11+deb11u2`
|
||||
worked for me, as did *upgrading* (as of October 2022) to version `1:7.1+dfsg-2`.
|
||||
|
||||
[^contact-if-missing]: Please [contact me at
|
||||
`tonyg@leastfixedpoint.com`](mailto:tonyg@leastfixedpoint.com) if a dependency needs to be
|
||||
added to the list.
|
||||
|
|
Loading…
Reference in New Issue