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