From 03f5b8fc2214e83296c8c5a5ab9b716c046c6ee7 Mon Sep 17 00:00:00 2001 From: Carl George Date: Nov 04 2020 00:14:57 +0000 Subject: Set %_smp_ncpus_max macro to 16 The libvirt component is failing with what appears to be a race condition. It is being compiled in our build system with 40 cores. Locally building libvirt with only 16 cores works, so try setting this macro to limit the number of CPUs used during build. --- diff --git a/virt.yaml b/virt.yaml index b848099..4aeecff 100644 --- a/virt.yaml +++ b/virt.yaml @@ -34,6 +34,10 @@ data: - ocaml-libnbd-devel - qemu-kvm-tests - qemu-kvm-tests-debuginfo + buildopts: + rpms: + macros: | + %_smp_ncpus_max 16 components: rpms: SLOF: