This section explains how to build Managarm with manual installation of the build dependencies.
Note: we recommend using
cbuildrtas it provides a clean build environment separate from your host machine, so issues are less frequent and easier to reproduce. It also allows you to use pre-built tools from our build server rather than compiling everything from source.
Be aware that not only missing dependencies can impact the build process: some ports might incorrectly detect optional dependencies from the host operating system. Since it is infeasible to test all possible combinations of host packages, support for building outside of containers is not a priority of the project.
- Complete the Preparations section.
- Certain programs are required to build managarm; to get a list of the corresponding Debian packages we refer you to the Dockerfile.
mesonis required. There is a Debian package, but as of Debian Stretch, a newer version is required. Install it from pip:
pip3 install meson
protobufis also required. There is a Debian package, but a newer version is required. Install it from pip:
pip3 install protobuf
- For managarm kernel documentation you may also want
mdbook. You can install it from your distribution repositories, or using cargo:
cargo install --git https://github.com/rust-lang/mdBook.git mdbook
Now proceed to the Building paragraph.