Skip to contentSkip to conversation

poco: avoid build failures on multicore hosts

PATCH New Carlos Santos 2 participants 2 messages Jan 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poco: avoid build failures on multicore hosts

Parallel build still fails on heavilly multicore machines (e.g. -j25) and hacks likecommit 32f4957b153bdabe7af60d529942aca7d1a4783d do not seem to be effective.

Let's simply use MAKE1 for the build step, instead.

Fixes:
http://autobuild.buildroot.net/results/388/38834ad3013fe79e5e4f75997133f1bd827be6dc

---
Extra information: here at DATACOM we have a build farm with several multicore blades that usually build with "make -j25". With this setup we have been observing compilation failures each two days.

Change-Id: If80cd0b01ceb8b0aee886ea96a266fa864fa8eb0

---
 package/poco/poco.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/poco/poco.mk +2 -1
index 79452c0..54ec701 100644
@@ -57,8 +57,9 @@ define POCO_CONFIGURE_CMDS
 		--no-samples)
 endef
 
+# Use $(MAKE1) to avoid failures on heavilly parallel machines (e.g. -j25)
 define POCO_BUILD_CMDS
-	$(MAKE) POCO_TARGET_OSARCH=$(ARCH) CROSS_COMPILE=$(TARGET_CROSS) \
+	$(MAKE1) POCO_TARGET_OSARCH=$(ARCH) CROSS_COMPILE=$(TARGET_CROSS) \
 		MYSQL_LIBDIR=$(STAGING_DIR)/usr/lib/mysql \
 		MYSQL_INCDIR=$(STAGING_DIR)/usr/include/mysql \
 		DEFAULT_TARGET=$(POCO_MAKE_TARGET) -C $(@D)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 poco: avoid build failures on multicore hosts

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Carlos" == Carlos Santos <[email protected]> writes:

Parallel build still fails on heavilly multicore machines (e.g. -j25) and hacks likecommit 32f4957b153bdabe7af60d529942aca7d1a4783d do not seem to be effective.

Let's simply use MAKE1 for the build step, instead.

Fixes:
http://autobuild.buildroot.net/results/388/38834ad3013fe79e5e4f75997133f1bd827be6dc

Quoted 8 lines

---
Extra information: here at DATACOM we have a build farm with several multicore blades that usually build with "make -j25". With this setup we have been observing compilation failures each two days.

Change-Id: If80cd0b01ceb8b0aee886ea96a266fa864fa8eb0

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard