bash: remove parallelization patch
This patch is problematic in two ways, first with the mis-spelled nproc (as nprocs), it causes the -j option to not have a value, this causes make to not limit the number of jobs that can run in parallel. Secondly, the bash build seems to have a race condition when a large number of jobs (over 60) are run. Since we want a more stable build, let's remove this patch. Change-Id: I5d3e3f496c067fa837090cfec52ddb7aca8873f0 Story: 2003358 Task: 24408 Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
e90ab5fee3
commit
c7d64f9705
@ -1,25 +0,0 @@
|
|||||||
From dbe4403d95cb18d9857bc53420d293e5be1f3fd6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Scott Little <scott.little@windriver.com>
|
|
||||||
Date: Mon, 2 Oct 2017 16:05:36 -0400
|
|
||||||
Subject: [PATCH 3/3] WRS: 0001-Further-parallelize-bash-build.patch
|
|
||||||
|
|
||||||
---
|
|
||||||
SPECS/bash.spec | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/SPECS/bash.spec b/SPECS/bash.spec
|
|
||||||
index 115d540..5e688c1 100644
|
|
||||||
--- a/SPECS/bash.spec
|
|
||||||
+++ b/SPECS/bash.spec
|
|
||||||
@@ -341,7 +341,7 @@ autoconf
|
|
||||||
# Recycles pids is neccessary. When bash's last fork's pid was X
|
|
||||||
# and new fork's pid is also X, bash has to wait for this same pid.
|
|
||||||
# Without Recycles pids bash will not wait.
|
|
||||||
-make "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`"
|
|
||||||
+make -j"%(nprocs)" "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`"
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
@ -1,3 +1,2 @@
|
|||||||
spec-TiS-bash-history.patch
|
spec-TiS-bash-history.patch
|
||||||
0001-Update-package-versioning-for-TIS-format.patch
|
0001-Update-package-versioning-for-TIS-format.patch
|
||||||
0001-Further-parallelize-bash-build.patch
|
|
||||||
|
Loading…
Reference in New Issue
Block a user