Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sfcgal for openSUSE:Factory checked in at 2022-12-07 17:35:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sfcgal (Old) and /work/SRC/openSUSE:Factory/.sfcgal.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sfcgal" Wed Dec 7 17:35:01 2022 rev:4 rq:1040771 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sfcgal/sfcgal.changes 2022-08-10 17:15:57.546124428 +0200 +++ /work/SRC/openSUSE:Factory/.sfcgal.new.1835/sfcgal.changes 2022-12-07 17:36:20.172989615 +0100 @@ -1,0 +2,7 @@ +Mon Dec 5 22:40:45 UTC 2022 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Reduce _constraints to actual lower bound, limit number of + jobs with memory_per_job and limit_build macro. +- Remove some unused build dependencies. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sfcgal.spec ++++++ --- /var/tmp/diff_new_pack.jYZWuf/_old 2022-12-07 17:36:20.828993207 +0100 +++ /var/tmp/diff_new_pack.jYZWuf/_new 2022-12-07 17:36:20.832993229 +0100 @@ -46,12 +46,10 @@ BuildRequires: cmake BuildRequires: gmp-devel BuildRequires: lapack-devel -BuildRequires: libboost_atomic-devel BuildRequires: libboost_chrono-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_headers-devel BuildRequires: libboost_program_options-devel -BuildRequires: libboost_regex-devel BuildRequires: libboost_serialization-devel BuildRequires: libboost_system-devel BuildRequires: libboost_test-devel @@ -60,8 +58,8 @@ BuildRequires: libcgal-devel >= 5.3 BuildRequires: libstdc++-devel BuildRequires: llvm-clang +BuildRequires: memory-constraints BuildRequires: pkgconfig -BuildRequires: xz BuildRequires: pkgconfig(cunit) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libecpg) >= 10 @@ -123,6 +121,8 @@ rm -rfv test/unit/CGAL %build +%limit_build -m 1400 + tmpflags="%{optflags} -fPIC -fPIE" echo "${tmpflags}" # Desactivate lto (check with upstream) @@ -153,18 +153,10 @@ -DSFCGAL_BUILD_EXAMPLES=ON \ -DSFCGAL_BUILD_TESTS=ON -# Upstream recommend to lower number of -j with -g -# so we can keep constraint low on memory -%ifarch i586 ppc64 -make -j2 -%else -make %{?_smp_mflags} -%endif +%cmake_build %install %cmake_install -#No .la lib -find %{buildroot} -type f -name "*.la" -delete -print # Work fine only on x86 %ifarch i586 x86_64 ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.jYZWuf/_old 2022-12-07 17:36:20.868993426 +0100 +++ /var/tmp/diff_new_pack.jYZWuf/_new 2022-12-07 17:36:20.872993447 +0100 @@ -1,12 +1,14 @@ <?xml version="1.0"?> <constraints> <hardware> - <physicalmemory> - <size unit="M">8192</size> - </physicalmemory> <memory> - <size unit="M">16384</size> + <size unit="G">5</size> </memory> + <!-- Cannot use the correct value, rejects too many workers + otherwise. See spec file/limit_build --> + <memoryperjob> + <size unit="M">1100</size> + </memoryperjob> </hardware> <sandbox>kvm</sandbox> <hostlabel exclude="true">SLOW_CPU</hostlabel>