Dedicated Build Machine-Single ARCH

From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.
This article has some todo items:
  • A lot of the packages will be broken, explain where to report

This page shows how to create a single dedicated build machine to compile software for multiple target devices of a single ARCH.

The main target ARCH for this is the amd64 architecture due to the amount of resources needed to handle the building process, but the process itself is agnostic to what ARCH is being used.

Throughout this article BUILD will refer to the build machine on which we are doing the compilation of the software and HOST will refer to the machine which will finally be running the compiled software.

Overview

Caveats of EAPI < 7

Double nesting

Prepare BUILD machine

Prepare individual chroots

Mount necessary directories

Compiling for HOST