Hello community, here is the log from the commit of package coreutils for openSUSE:Factory checked in at 2012-09-23 08:31:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/coreutils (Old) and /work/SRC/openSUSE:Factory/.coreutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "coreutils", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes 2012-06-25 12:24:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-09-23 08:32:41.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Sep 21 11:55:12 UTC 2012 - [email protected] + +- fix coreutils-8.9-singlethreaded-sort.patch to + respect OMP_NUM_THREADS again. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ coreutils-8.9-singlethreaded-sort.patch ++++++ --- /var/tmp/diff_new_pack.GW1xYE/_old 2012-09-23 08:32:42.000000000 +0200 +++ /var/tmp/diff_new_pack.GW1xYE/_new 2012-09-23 08:32:42.000000000 +0200 @@ -1,15 +1,17 @@ Index: src/sort.c =================================================================== ---- src/sort.c.orig 2012-04-16 13:17:12.342019601 +0200 -+++ src/sort.c 2012-04-16 13:17:12.463016705 +0200 -@@ -5288,8 +5288,8 @@ main (int argc, char **argv) +--- src/sort.c.orig ++++ src/sort.c +@@ -5288,7 +5288,11 @@ main (int argc, char **argv) { if (!nthreads) { - unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE); -- nthreads = MIN (np, DEFAULT_MAX_THREADS); -+ //unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE); -+ nthreads = 1; //MIN (np, DEFAULT_MAX_THREADS); ++ unsigned long int np; ++ if (getenv("OMP_NUM_THREADS")) ++ np = num_processors (NPROC_CURRENT_OVERRIDABLE); ++ else ++ np = 1; + nthreads = MIN (np, DEFAULT_MAX_THREADS); } - /* Avoid integer overflow later. */ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
