File _constraints of Package kernel-source

<constraints>
  <!-- Default 35GB for binary packages -->
  <overwrite>
    <conditions>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">35</size>
      </disk>
      <memory>
        <size unit="G">4</size>
      </memory>
    </hardware>
  </overwrite>

  <!-- 8GB RAM for kernel-syzkaller -->
  <overwrite>
    <conditions>
      <package>kernel-syzkaller</package>
      <package>kernel-source:kernel-syzkaller</package>
    </conditions>
    <hardware>
      <physicalmemory>
        <size unit="G">8</size>
      </physicalmemory>
    </hardware>
  </overwrite>

  <!-- 8GB for kernel-source -->
  <overwrite>
    <conditions>
      <package>kernel-source</package>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">8</size>
      </disk>
    </hardware>
    <hostlabel exclude="true">SLOW_DISK</hostlabel>
  </overwrite>

  <!-- 4GB for kernel-docs -->
  <overwrite>
    <conditions>
      <package>kernel-docs</package>
      <package>kernel-source:kernel-docs</package>
    </conditions>
    <hardware>
      <physicalmemory>
        <size unit="G">4</size>
      </physicalmemory>
    </hardware>
  </overwrite>

  <!-- 24GB for binary packages on armv6/7 -->
  <overwrite>
    <conditions>
      <arch>armv7l</arch>
      <arch>armv6l</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">24</size>
      </disk>
    </hardware>
  </overwrite>

  <!-- 16GB of disk and 2GB of memory for binary package on s390x -->
  <overwrite>
    <conditions>
      <arch>s390x</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">16</size>
      </disk>
      <memory>
        <size unit="G">2</size>
      </memory>
    </hardware>
  </overwrite>

  <!-- 4 CPUs for binary packages on x86 -->
  <overwrite>
    <conditions>
      <arch>i586</arch>
      <arch>x86_64</arch>
      <arch>riscv64</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <jobs>4</jobs>
    </hardware>
  </overwrite>

  <!-- 4 CPUs for binary packages on POWER -->
  <overwrite>
    <conditions>
      <arch>ppc</arch>
      <arch>ppc64</arch>
      <arch>ppc64le</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <jobs>4</jobs>
    </hardware>
  </overwrite>

  <!-- 2 CPUs for binary packages on ARM -->
  <overwrite>
    <conditions>
      <arch>aarch64</arch>
      <arch>armv6l</arch>
      <arch>armv7l</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <jobs>2</jobs>
    </hardware>
  </overwrite>

  <!-- Build on recent ARMv8.1 to avoid slow builders -->
  <overwrite>
    <conditions>
      <arch>aarch64</arch>
    </conditions>
    <hardware>
      <cpu>
        <flag>asimdrdm</flag>
      </cpu>
    </hardware>
  </overwrite>

  <!-- 45GB for binary packages on aarch64 and x86-->
  <overwrite>
    <conditions>
      <arch>aarch64</arch>
      <arch>x86_64</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">45</size>
      </disk>
    </hardware>
  </overwrite>

  <!-- 52GB for binary packages on riscv64-->
  <overwrite>
    <conditions>
      <arch>riscv64</arch>
<package>kernel-64kb</package>
<package>kernel-source:kernel-64kb</package>
<package>kernel-debug</package>
<package>kernel-source:kernel-debug</package>
<package>kernel-default</package>
<package>kernel-source:kernel-default</package>
<package>kernel-kvmsmall</package>
<package>kernel-source:kernel-kvmsmall</package>
<package>kernel-lpae</package>
<package>kernel-source:kernel-lpae</package>
<package>kernel-pae</package>
<package>kernel-source:kernel-pae</package>
<package>kernel-preempt</package>
<package>kernel-source:kernel-preempt</package>
<package>kernel-vanilla</package>
<package>kernel-source:kernel-vanilla</package>
<package>kernel-zfcpdump</package>
<package>kernel-source:kernel-zfcpdump</package>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">52</size>
      </disk>
    </hardware>
  </overwrite>

  <overwrite>
    <conditions>
      <arch>i586</arch>
      <arch>x86_64</arch>
      <package>kernel-obs-qa</package>
      <package>kernel-source:kernel-obs-qa</package>
    </conditions>
    <sandbox>kvm</sandbox>
  </overwrite>

  <overwrite>
    <conditions>
      <arch>i586</arch>
      <arch>x86_64</arch>
      <package>kernel-obs-qa-xen</package>
      <package>kernel-source:kernel-obs-qa-xen</package>
    </conditions>
    <sandbox>xen</sandbox>
  </overwrite>
</constraints>

openSUSE Build Service is sponsored by