limit numjobs to 32 on aarch64

This commit is contained in:
Than Ngo 2023-02-09 10:56:50 +01:00
parent 0032cb0f5b
commit 3882491e81

View File

@ -14,7 +14,7 @@
# set default numjobs for the koji build
%ifarch aarch64
%global numjobs 64
%global numjobs 32
%else
%global numjobs %{_smp_build_ncpus}
%endif
@ -1049,8 +1049,6 @@ sed -i 's|moc|moc-qt5|g' ui/qt/moc_wrapper.py
# decode byte 0xe2 in position 474: ordinal not in range(128)
export LANG=en_US.UTF-8
ulimit -n 4096
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -Wno-unused-variable'