limit numjobs to 32 on aarch64

epel8
Than Ngo 2 years ago
parent 0032cb0f5b
commit 3882491e81

@ -14,7 +14,7 @@
# set default numjobs for the koji build # set default numjobs for the koji build
%ifarch aarch64 %ifarch aarch64
%global numjobs 64 %global numjobs 32
%else %else
%global numjobs %{_smp_build_ncpus} %global numjobs %{_smp_build_ncpus}
%endif %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) # decode byte 0xe2 in position 474: ordinal not in range(128)
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
ulimit -n 4096
# reduce warnings # reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument' 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' FLAGS+=' -Wno-unused-but-set-variable -Wno-unused-result -Wno-unused-function -Wno-unused-variable'

Loading…
Cancel
Save