limit numjobs to 64 on aarch64

This commit is contained in:
Than Ngo 2023-02-09 08:40:01 +01:00
parent 2fc2dc4d1b
commit 7a18b923fd

View File

@ -14,14 +14,14 @@
# set default numjobs for the koji build
%ifarch aarch64
%global numjobs 8
%global numjobs 64
%else
%global numjobs %{_smp_build_ncpus}
%endif
# This flag is so I can build things very fast on a giant system.
# Enabling this in koji causes aarch64 builds to timeout indefinitely.
%global use_all_cpus 1
%global use_all_cpus 0
%if %{use_all_cpus}
%global numjobs %{_smp_build_ncpus}