qemu/_constraints

65 lines
1.5 KiB
Plaintext

<constraints>
<!-- All builds are fine with 8GB disk -->
<overwrite>
<conditions>
<package>qemu</package>
<package>qemu:linux-user</package>
<package>qemu:testsuite</package>
</conditions>
<hardware>
<disk>
<size unit="G">8</size>
</disk>
</hardware>
</overwrite>
<!-- To build qemu, s390x needs more than the default memory -->
<overwrite>
<conditions>
<arch>s390x</arch>
<package>qemu</package>
</conditions>
<hardware>
<memory>
<size unit="M">1200</size>
</memory>
</hardware>
</overwrite>
<!-- Excluding ARM, qemu-testsuite needs more than the default memory -->
<overwrite>
<conditions>
<arch>i586</arch>
<arch>x86_64</arch>
<arch>ppc64le</arch>
<package>qemu:testsuite</package>
</conditions>
<hardware>
<memory>
<size unit="M">4400</size>
</memory>
</hardware>
</overwrite>
<!-- And for some reason ppc64 needs even more -->
<overwrite>
<conditions>
<arch>ppc64</arch>
<package>qemu:testsuite</package>
</conditions>
<hardware>
<memory>
<size unit="M">4800</size>
</memory>
</hardware>
</overwrite>
<!-- To build qemu in a reasonable amount of time, aarch64 and x86_64 needs as much parallelism as we can get -->
<overwrite>
<conditions>
<arch>aarch64</arch>
<arch>x86_64</arch>
<package>qemu</package>
</conditions>
<hardware>
<processors>8</processors>
</hardware>
</overwrite>
</constraints>