poudriere and CPUTYPE

Grzegorz Junka list1 at gjunka.com
Sun Jan 29 17:18:01 UTC 2017


When building packages for a different machine it's possible to specify 
CPU target, e.g.:

CPUTYPE?=core2

However, when building packages that depend on other packages poudriere 
will install the already build dependencies in order to build the new 
packages. That will fail if the CPU on the build machine doesn't execute 
instructions specified in the CPUTYPE for the target machine. For 
example, on amdfam10 build machine pkg build for core2 fails to install 
and as a result none of the packages can be build since pkg is required 
to install any dependency.

How this CPUTYPE should be used then when building for different 
machines? Bhyve?




More information about the freebsd-ports mailing list