Hello community, here is the log from the commit of package PrusaSlicer for openSUSE:Factory checked in at 2020-08-21 19:08:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PrusaSlicer (Old) and /work/SRC/openSUSE:Factory/.PrusaSlicer.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PrusaSlicer" Fri Aug 21 19:08:28 2020 rev:5 rq:828307 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/PrusaSlicer/PrusaSlicer.changes 2020-08-18 15:06:08.915919002 +0200 +++ /work/SRC/openSUSE:Factory/.PrusaSlicer.new.3399/PrusaSlicer.changes 2020-08-21 19:09:34.544548646 +0200 @@ -1,0 +2,15 @@ +Thu Aug 20 15:50:07 UTC 2020 - Benjamin Greiner <c...@bnavigator.de> + +- revert the memoryperjob change. The build process really acquires + that much memory per job and the workers cannot provide 3GB per + CPU core. Sadly, we are limited by memory not by CPU cores. +- require 11 GB of RAM. This allows us to run 3 jobs in parallel and + can be provided by all architectures + +------------------------------------------------------------------- +Thu Aug 20 09:03:33 UTC 2020 - Martin Liška <mli...@suse.cz> + +- Use memoryperjob constraint instead of %limit_build macro. +- Use only 1GB for memoryperjob. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PrusaSlicer.spec ++++++ --- /var/tmp/diff_new_pack.o3aWB5/_old 2020-08-21 19:09:39.804551771 +0200 +++ /var/tmp/diff_new_pack.o3aWB5/_new 2020-08-21 19:09:39.804551771 +0200 @@ -67,7 +67,13 @@ sed -i 's/UNKNOWN/OpenSUSE/' version.inc %build -%limit_build -m 4096 +# The build process really acquires that much memory per job. We are +# limited by memory not by CPU cores. Using memoryperjob in _constraints cannot +# provide any workers on some architectures. This is still better than not using +# parallel building at all. +# https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.build_job_constraints.html +# https://en.opensuse.org/openSUSE:Specfile_guidelines#Parallel_make +%limit_build -m 3072 # sse2 flags for 32-bit: see gh#prusa3d/PrusaSlicer#3781 %ifarch %ix86 export CFLAGS="%optflags -mfpmath=sse -msse2" ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.o3aWB5/_old 2020-08-21 19:09:39.848551797 +0200 +++ /var/tmp/diff_new_pack.o3aWB5/_new 2020-08-21 19:09:39.848551797 +0200 @@ -1,10 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> <constraints> <hardware> <disk> <size unit="G">12</size> </disk> - <memory> - <size unit="G">8</size> - </memory> + <physicalmemory> + <size unit="G">11</size> + </physicalmemory> </hardware> </constraints>