qemu/_constraints

76 lines
1.8 KiB
Plaintext

<constraints>
<!-- All builds are fine with 10GB disk -->
<overwrite>
<conditions>
<package>qemu</package>
<package>qemu:qemu-linux-user</package>
</conditions>
<hardware>
<disk>
<size unit="G">12</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>
<!-- And this is the case for (some of the) other arch-es as well -->
<overwrite>
<conditions>
<arch>i586</arch>
<arch>x86_64</arch>
<arch>ppc64le</arch>
<package>qemu</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</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>
<!-- To test qemu-linux-user, armv7l needs more than the default memory -->
<overwrite>
<conditions>
<arch>armv7l</arch>
<package>qemu:qemu-linux-user</package>
</conditions>
<hardware>
<memory>
<size unit="M">8192</size>
</memory>
</hardware>
</overwrite>
</constraints>