== Ports on Tier-2 architectures ==

Although most of the FreeBSD user base uses machines running either the '''amd64''' or '''i386''' codebase, we do have users of our other architectures.

This document describes the architectures that the Ports Collection currently recognizes.

=== Package Sets ===

 * Various members of '''portmgr''' regularly build and upload official packages: see [[http://pkg-status.FreeBSD.org]].

You can use [[http://portsmon.freebsd.org/|portsmon]] to see more information about the [[http://portsmon.freebsd.org/portserrcounts.py|build status of all buildenvs]].

/!\ the FreeBSD Ports Collection does not yet support 'true' [[CrossBuildingPorts|cross-building]].  Currently, for cross-building we use emulated virtual machines via [[qemu]].
The table below discusses only native building and building on emulated instances.

Package sets are generally built on the oldest supported branch for each [[https://www.freebsd.org/security/#sup|supported release]].

||'''arch''' ||'''build type'''||'''built by'''         ||'''current buildenvs'''||'''updated'''||'''see also'''||
|| aarch64   || native         || portmgr               || 11.1                  || ???         || [[arm64/ports]] ||
|| amd64     || native         || portmgr               || 10.4, 11.1, head      || ~weekly     || ||
|| armv6     || emulation      || portmgr               || 11.1, head            || ~weekly     || [[armv6/ports]] ||
|| armv7     || emulation      || portmgr               || head                  || ~weekly     || [[armv6/ports]] ||
|| i386      || native         || portmgr               || 10.4, 11.1, head      || ~weekly     || ||
|| powerpc   || native         || ---                   || ---                   ||             || ||
|| powerpc64 || native         || MarkLinimon           || 11.1                  || occasional  || [[powerpc/ports]] ||
|| powerpcspe|| native         || ---                   || ---                   ||             || ||
|| riscv64   || ---            || ---                   || ---                   ||             || ||

Other notes: releases previous to FreeBSD 10.x; '''alpha''', '''ia64''', '''mips''', '''mips64''', and '''sparc64''' support have been discontinued; '''sun4v''' support was never completed.

See also PortsBrokenOnTier2Architectures.

=== Architecture Considerations ===

Here are some tips and tricks about the architectures themselves.  Some of this is condensed from the information in [[EdMaste/ArchitectureSpecifics|ArchitectureSpecifics]].  Often the Makefile code needed to make port work on the various 32-bit archs can be cribbed from i386; similarly for BE vs. LE considerations.  The '''Jenkins''' column shows the state of -head src build/installs under Continuous Integration.

||'''architecture'''||'''wordlength'''||'''endian'''||'''Jenkins'''||
|| aarch64   || 64 || LE || [[https://ci.freebsd.org/job/FreeBSD-head-aarch64-build|{{https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| amd64     || 64 || LE || [[https://ci.freebsd.org/job/FreeBSD-head-amd64-build|{{https://ci.freebsd.org/job/FreeBSD-head-amd64-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| armv6     || 32 || LE || [[https://ci.freebsd.org/job/FreeBSD-head-armv6-build|{{https://ci.freebsd.org/job/FreeBSD-head-armv6-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| armv7     || 32 || LE || [[https://ci.freebsd.org/job/FreeBSD-head-armv7-build|{{https://ci.freebsd.org/job/FreeBSD-head-armv7-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| i386      || 32 || LE || [[https://ci.freebsd.org/job/FreeBSD-head-i386-build|{{https://ci.freebsd.org/job/FreeBSD-head-i386-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| powerpc   || 32 || BE || [[https://ci.freebsd.org/job/FreeBSD-head-powerpc-build|{{https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| powerpc64 || 64 || BE || [[https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build|{{https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| powerpcspe|| 32 || BE || [[https://ci.freebsd.org/job/FreeBSD-head-powerpcspe-build|{{https://ci.freebsd.org/job/FreeBSD-head-powerpcspe-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||
|| riscv64   || 64 || LE || [[https://ci.freebsd.org/job/FreeBSD-head-riscv64-build|{{https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/lastCompletedBuild/badge/icon}}|target="_blank"]] ||

----
CategoryPorts CategoryStale