Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memory-constraints for 
openSUSE:Factory checked in at 2026-09-10 11:47:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/memory-constraints (Old)
 and      /work/SRC/openSUSE:Factory/.memory-constraints.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "memory-constraints"

Thu Sep 10 11:47:04 2026 rev:6 rq:1376517 version:20180406

Changes:
--------
--- /work/SRC/openSUSE:Factory/memory-constraints/memory-constraints.changes    
2025-01-12 11:08:26.752346367 +0100
+++ 
/work/SRC/openSUSE:Factory/.memory-constraints.new.1265/memory-constraints.changes
  2026-09-10 11:47:46.890489464 +0200
@@ -1,0 +2,5 @@
+Mon Nov  3 07:47:52 UTC 2025 - Andreas Schwab <[email protected]>
+
+- Never use more than the configured jobs
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ _scmsync.obsinfo ++++++
mtime: 1787658555
commit: 5756ad9789f8d46989fa25b254fd1bc9d059ea95e6273815448b0d17f64ee971
url: https://src.opensuse.org/chromium/memory-constraints
revision: 5756ad9789f8d46989fa25b254fd1bc9d059ea95e6273815448b0d17f64ee971
projectscmsync: https://src.opensuse.org/chromium/_ObsPrj.git

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-08-25 13:49:15.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ memory-constraints.macros ++++++
--- /var/tmp/diff_new_pack.Czf92x/_old  2026-09-10 11:47:48.660563729 +0200
+++ /var/tmp/diff_new_pack.Czf92x/_new  2026-09-10 11:47:48.663563855 +0200
@@ -7,7 +7,10 @@
 
 # m: memory limit in MBs per core; default is 1000
 %limit_build(m:) \
-    _threads="`/usr/bin/getconf _NPROCESSORS_ONLN`" \
+    %global _threads $(/usr/bin/getconf _NPROCESSORS_ONLN) \
+    %global _jobs %{?jobs}%{!?jobs:${RPM_BUILD_NCPUS:-%_threads}} \
+    _threads=%_threads \
+    test "$_threads" -gt "%_jobs" && _threads=%_jobs \
     _core_memory="%{-m:%{-m*}}%{!-m:1000}" \
     echo "Available memory:" \
     cat /proc/meminfo \
@@ -22,8 +25,8 @@
         test "$_threads" -gt "$max_jobs" && _threads="$max_jobs" && echo 
"Warning: Reducing number of jobs to $max_jobs because of memory limits" \
         test "$_threads" -le 0 && _threads=1 && echo "Warning: Do not use the 
parallel build at all because of memory limits" \
     fi \
-    %global jobs $([[ -n $_threads ]] && echo $_threads || echo 
"`/usr/bin/getconf _NPROCESSORS_ONLN`") \
-    %global _smp_mflags $([[ -n $_threads ]] && echo "-j$_threads" || echo 
"-j`/usr/bin/getconf _NPROCESSORS_ONLN`") \
-    %global _smp_build_ncpus $([[ -n $_threads ]] && echo "$_threads" || echo 
"`/usr/bin/getconf _NPROCESSORS_ONLN`") \
+    %global jobs $([[ -n $_threads ]] && echo "$_threads" || echo "%_jobs") \
+    %global _smp_mflags $([[ -n $_threads ]] && echo "-j$_threads" || echo 
"-j%_jobs") \
+    %global _smp_build_ncpus $([[ -n $_threads ]] && echo "$_threads" || echo 
"%_jobs") \
     %{nil}
 

Reply via email to