Package: debian-policy
Version: 4.7.4.1
Severity: important

Hi

I will like for ease of reading to define a new section 2.6 architecture

[proposal]

Debian uses a dual‑level architecture system in its packaging: arch:all
packages contain architecture‑independent content such as documentation, icons,
scripts, or pure Python or Java code, and are built once for all architectures.

This distinction allows Debian to efficiently manage multi‑architecture builds,
minimize duplication, and ensure that architecture‑specific optimizations or
constraints are respected during compilation and dependency resolution.

In contrast, arch:any packages contain compiled binaries and must be built
separately for each supported architecture (for instance amd64, arm64, riscv64,
s390x).

Each binary package produced from an arch:any source is tagged with its
specific architecture, while arch:all produces a single binary package shared
across the archive, for instance arch:amd64 or arch:S390x.

Archive wise package are compiled for a baseline that is a specific ABI and
ISA.

[rational]
- Ease of reading
- non normative only informal

[improvment]
- Next step will be to document generally multi arch and partial arch. 
- document hwcaps

But one step as time.

rouca

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to