Date: Mon, 30 Jan 2017 10:14:16 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Grzegorz Junka <list1@gjunka.com>, freebsd-ports@freebsd.org Subject: Re: poudriere and CPUTYPE Message-ID: <07e5ed6f-97be-5977-017e-18ee1de3ff36@FreeBSD.org> In-Reply-To: <9df9eff0-aae9-18b8-641f-2f5209faad79@gjunka.com> References: <9df9eff0-aae9-18b8-641f-2f5209faad79@gjunka.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OCwiTOwLgL8lCQ2r6NpnMSSu0kldVV1Bl Content-Type: multipart/mixed; boundary="RK6qOqeKcxuE9RuGWK28a2XDkx4TFVLFv"; protected-headers="v1" From: Mathieu Arnold <mat@FreeBSD.org> To: Grzegorz Junka <list1@gjunka.com>, freebsd-ports@freebsd.org Message-ID: <07e5ed6f-97be-5977-017e-18ee1de3ff36@FreeBSD.org> Subject: Re: poudriere and CPUTYPE References: <9df9eff0-aae9-18b8-641f-2f5209faad79@gjunka.com> In-Reply-To: <9df9eff0-aae9-18b8-641f-2f5209faad79@gjunka.com> --RK6qOqeKcxuE9RuGWK28a2XDkx4TFVLFv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 29/01/2017 =C3=A0 18:17, Grzegorz Junka a =C3=A9crit : > When building packages for a different machine it's possible to > specify CPU target, e.g.: > > CPUTYPE?=3Dcore2 > > 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? You should use the oldest CPUTYPE that any machine that will use those packages has. If the host does not support core2, don't use it, use some older one. Also, if it does not support it, bhyve won't work there as it is too old. (As a rule of the thumb, don't use CPUTYPE, at best you will win a few cycles here and there, but it will more generally be more painful when you discover you need to use the packages some place where that CPUTYPE is to recent.) --=20 Mathieu Arnold --RK6qOqeKcxuE9RuGWK28a2XDkx4TFVLFv-- --OCwiTOwLgL8lCQ2r6NpnMSSu0kldVV1Bl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJYjwPpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IjTwP/0v8upaKLNbtusy+ScInfHpQ HJ+eJMmUyakfunF9J/b5e8lh+9nNdABAIQS6XbZmwgAcH/dDC1AY2ZFUnUKQHTtj juapwohLoJE1+uCC0RZFO4Hac1zw8YLJXhgGqk+M5ZrdEfn/6gBWIlTVmEySfEgv ZLUuwCE698ZImaSO9+4amODxAcPmmgoCQbbrhNnslX4EkmZyLYnZzdPpVOGTmuRO 2DjgWPm3QRnIK2b4184uUK3l+FJ05qReJPTAtZzrAtUEFsLn+rhiZxsTIXBiL8Gr +BeTF2NgGK4n1OTbJ7l1DM+Hg0yvVUXTLuzXnLsyO0L048IlhbzrG4fw3OOPi0BN n/iyrjts5QXbxEPHw3uKbzXIjjNyC6DWO8sg3mYknBQNW4dYQ2DR8lgruBstaj9j 7AmhoeEnyjPefTDhPVhV8b7UYYkD9MqlmKoGVPoclzod0u62GlCSjmt4xb0jygp5 wI3qE4XDEuxLa69uqgtQagX/0SP6lMuz/SyTZsKEWtYEqU8VHjRcYxyfyS7nH7LJ PjCI4BgcXkNkALCXsANN4RA8WoDJ7Og96l0Y0ncz3k622bqM/ZQZ2xLVKBIQk3ff Bjw4uWbDDCvlTyIi/ROlelAq+ZeFwFL0+HLsk6YxUBUyaQkdLsYQIxoBNyS+vYm4 DkrxRIj8UZS+lK7pquGK =1qqd -----END PGP SIGNATURE----- --OCwiTOwLgL8lCQ2r6NpnMSSu0kldVV1Bl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07e5ed6f-97be-5977-017e-18ee1de3ff36>