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.

First 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 would 
like
to do some more testing before spamming with wrong-testing results.

Some more questions inline:

 
> 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:
> 
>    x86_64: defconfig + KVM=m KVM_INTEL=m KVM_AMD=m
>    i386: defconfig + KVM=m KVM_INTEL=m KVM_AMD=m

Without virtio? intentionally?

>    s390: defconfig + KVM=m
>    ia64: defconfig + KVM=m KVM_INTEL=m
>    powerpc: ppc4x_defconfig + VIRTUALIZATION=y KVM=y KVM_440=y KVM_E500=n
>                        KVM_EXIT_TIMING=n VIRTIO_PCI=m VIRTIO_BALLOON=m
> VIRTIO_BLK=m VIRTIO_NET=m
>                        VIRTIO_CONSOLE=m
>    powerpc: ppc64_defconfig VIRTUALIZATION=y KVM=y KVM_BOOK3S_64=m'
>                        KVM_EXIT_TIMING=n VIRTIO_PCI=m
>                        VIRTIO_BALLOON=m VIRTIO_BLK=m VIRTIO_NET=m
>                        VIRTIO_CONSOLE=m
> 
> The recipe for a build is:
> - check out the source

Any specific branches beside the master branch?


> - MAKE defconfig
>     where MAKE="make ARCH=$ARCH
> CROSS_COMPILE=/opt/gcc-4.5.0-nolibc/$ARCH-linux/bin/$ARCH-linux-'

The buildbot master configuration requires exactly that path for CROSS_COMPILE 
on
the buildslave. The buildsaves need to be setup the toolchain before hand 
manually.

Just let me and Christian know if we should add another toolchain or upgrade 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/configure_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

-- 
Daniel Gollub
Linux Consultant & Developer
Mail: gol...@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to