On Tue, Jul 23, 2024 at 12:38 AM Philippe Mathieu-Daudé <phi...@linaro.org> wrote:
> On 23/7/24 03:17, Richard Henderson wrote: > > On 7/23/24 08:11, Philippe Mathieu-Daudé wrote: > >> On 23/7/24 00:06, Warner Losh wrote: > >>> > >>> > >>> On Mon, Jul 22, 2024 at 3:54 PM Philippe Mathieu-Daudé > >>> <phi...@linaro.org <mailto:phi...@linaro.org>> wrote: > >>> > >>> Hi Warner, > >>> > >>> On 22/7/24 23:43, Warner Losh wrote: > >>> > Add the aarch64 bsd-user fragments needed to build the new > >>> aarch64 code. > >>> > > >>> > Signed-off-by: Warner Losh <i...@bsdimp.com > >>> <mailto:i...@bsdimp.com>> > >>> > --- > >>> > configs/targets/aarch64-bsd-user.mak | 3 +++ > >>> > 1 file changed, 3 insertions(+) > >>> > create mode 100644 configs/targets/aarch64-bsd-user.mak > >>> > >>> Can we build aarch64 on Cirrus-CI? (not clear on > >>> https://cirrus-ci.org/guide/FreeBSD/ > >>> <https://cirrus-ci.org/guide/FreeBSD/>). If so, could you add > >>> a follow-up patch to build that on our CI, patching > >>> .gitlab-ci.d/cirrus.yml? > >>> > >>> > >>> We can build aarch64 host for bsd-user for sure. I'll see if we can > >>> do it in cirrus CI. > >>> If so, I'll try to add it to cirrus.yml. > >>> > >>> This patch series adds aarch64 guest... > >> > >> Yes, we want to use a aarch64 FreeBSD host to build your FreeBSD > >> aarch64 bsd-user guest and test it. Am I wrong? > >> > > > > This is adding guest support, so your suggestion is orthogonal. > > Ah, got it I guess, this series adds support for aarch64 user-mode > emulation on any FreeBSD kernels, so IIUC we can test it on the current > FreeBSD x86 job we have. Currently the x64-freebsd-13-build job uses: > > CONFIGURE_ARGS: > > --target-list-exclude=arm-softmmu,i386-softmmu,microblaze-softmmu,mips64el-softmmu,mipsel-softmmu,mips-softmmu,ppc-softmmu,sh4eb-softmmu,xtensa-softmmu > TEST_TARGETS: check > > So the aarch64-bsd-user target should be selected automatically, > is that correct? > Yes. It's automatically added to the build just by this file existing. So it should at least be compile tested by everything. Warner > (got it, my request to test aarch64 FreeBSD *host* is orthogonal). >