From: Daniel Gollub Subject: Re: buildbot for kvm.git Date: Wed, 24 Nov 2010 23:15:20 +1300 Message-ID: <201011242315.23682.gollub@b1-systems.de> References: <4CDA9E9A.9040708@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1974764.alYhfrpxMt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Cc: KVM list , Christian Berendt To: Avi Kivity Return-path: Received: from schattenjagd.systems.b1-systems.de ([217.11.58.34]:54879 "EHLO mx1.b1-systems.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752924Ab0KXKPc (ORCPT ); Wed, 24 Nov 2010 05:15:32 -0500 In-Reply-To: <4CDA9E9A.9040708@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --nextPart1974764.alYhfrpxMt Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Thursday, November 11, 2010 02:31:06 am Avi Kivity wrote: > Daniel, the buildbot has been fairly effective in keeping qemu-kvm.git > building. I'd like to extend that to kvm.git, especially for non-x86 > architectures. =46irst test builds succeed for x86 and ia64: http://buildbot.b1-systems.de/kvm/grid with gcc-4.5.0-nolibc toolchain from http://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.5.0/ powerpc not ready yet - trivial $ARCH change required in the buildbot master configuration. s390 compilation seems to run fine and hit the first compilation issue: http://buildbot.b1-systems.de/kvm/builders/s390/builds/0/steps/compile/logs= /stdio Currently buildbot notification mails don't get send to the kvm list. I wou= ld like to do some more testing before spamming with wrong-testing results. Some more questions inline: =20 > I've now a virtual machine with a cross compile environment for s390, > ppc, and ia64. I'd like buildbot to build for the following archs and > configs: >=20 > x86_64: defconfig + KVM=3Dm KVM_INTEL=3Dm KVM_AMD=3Dm > i386: defconfig + KVM=3Dm KVM_INTEL=3Dm KVM_AMD=3Dm Without virtio? intentionally? > s390: defconfig + KVM=3Dm > ia64: defconfig + KVM=3Dm KVM_INTEL=3Dm > powerpc: ppc4x_defconfig + VIRTUALIZATION=3Dy KVM=3Dy KVM_440=3Dy KVM_= E500=3Dn > KVM_EXIT_TIMING=3Dn VIRTIO_PCI=3Dm VIRTIO_BALLOON= =3Dm > VIRTIO_BLK=3Dm VIRTIO_NET=3Dm > VIRTIO_CONSOLE=3Dm > powerpc: ppc64_defconfig VIRTUALIZATION=3Dy KVM=3Dy KVM_BOOK3S_64=3Dm' > KVM_EXIT_TIMING=3Dn VIRTIO_PCI=3Dm > VIRTIO_BALLOON=3Dm VIRTIO_BLK=3Dm VIRTIO_NET=3Dm > VIRTIO_CONSOLE=3Dm >=20 > The recipe for a build is: > - check out the source Any specific branches beside the master branch? > - MAKE defconfig > where MAKE=3D"make ARCH=3D$ARCH > CROSS_COMPILE=3D/opt/gcc-4.5.0-nolibc/$ARCH-linux/bin/$ARCH-linux-' The buildbot master configuration requires exactly that path for CROSS_COMP= ILE on the buildslave. The buildsaves need to be setup the toolchain before hand m= anually. Just let me and Christian know if we should add another toolchain or upgrad= e to a newer one. > - append the extra options to .config Done this by invoking: ./scripts/config (proposal/attempt from Christian) (See http://buildbot.b1-systems.de/kvm/builders/x86_64/builds/11/steps/conf= igure_2/logs/stdio ) > - MAKE oldconfig What about make target oldnoconfig instead? To avoid that the build get stuck with every new config option? Demo of the issue with "make oldconfig": http://buildbot.b1-systems.de/kvm/builders/x86_64/builds/10/steps/configure= _3/logs/stdio > - MAKE [...] Best Regards, Daniel =2D-=20 Daniel Gollub Linux Consultant & Developer Mail: gollub@b1-systems.de B1 Systems GmbH Osterfeldstra=DFe 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 --nextPart1974764.alYhfrpxMt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkzs5bsACgkQ7RS5XC+Mp41eAACcCHAv8kqDE/+bZtkTxtsrXmyw ZBAAoJ83HuSIxLxNHFgkvGUX08C6DHAd =dQmU -----END PGP SIGNATURE----- --nextPart1974764.alYhfrpxMt--