meta: fix and enable parallel build
cover meta: fix and enable parallel build
Hello,
I've used a for loop to build these recipe more than 500 times, and fix the issues that I've found, there is no errors in recent 250 builds, I think it's worth to enable the parallel build for them, we can disable it if we find errors again.
I will go on the build until 1000 times.
The left ones in-core are:
gettext_0.16.1 # Lower version
subversion_1.8.10 # I have a fix for it, but seems not enough. net-tools_1.60-25 # I have a fix for, but seems not enough. groff_1.22.2 # I have a fix for, but seems not enough. groff_1.18.1.4 # Lower version
// Robert
The following changes since commit 6bf5cbbcac80ee818cc932d69227e70e41ce02d3:
libtool: Fix option parsing performance regression (2015-02-10 22:36:09 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/parallel
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/parallel
Robert Yang (12):
bind: fix and enable parallel build
tcp-wrappers: fix and enable parallel build
slang: fix and enable parallel build
at: fix and enable parallel build
mtools: fix and enable parallel build
pth: fix and enable parallel build
openssl: fix and enable parallel build
blktrace: fix and enable parallel build
ghostscript: fix and enable parallel build
pcmciautils: fix and enable parallel build
vala.bbclass: enable PARALLEL_MAKE
meta: enable parallel build for several recipes
meta/classes/vala.bbclass | 3 - .../Makefile-fix-for-parallel-build.patch | 35 ++++ meta/recipes-bsp/pcmciautils/pcmciautils.inc | 1 - meta/recipes-bsp/pcmciautils/pcmciautils_018.bb | 4 +- .../bind/bind/bind-subdirs-run-serially.patch | 35 ++++ meta/recipes-connectivity/bind/bind_9.9.5.bb | 2 +- .../nfs-utils/nfs-utils_1.3.1.bb | 2 - meta/recipes-connectivity/openssl/openssl.inc | 3 + .../recipes-connectivity/openssl/openssl_1.0.1j.bb | 3 - meta/recipes-core/libcgroup/libcgroup_0.41.bb | 3 - meta/recipes-devtools/autoconf/autoconf_2.69.bb | 2 - meta/recipes-devtools/dpkg/dpkg.inc | 2 - meta/recipes-devtools/json-c/json-c_0.12.bb | 2 - meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 - meta/recipes-devtools/mtools/mtools_3.9.9.bb | 8 +- meta/recipes-devtools/mtools/mtools_4.0.18.bb | 8 +- .../python/python-pygobject_2.28.3.bb | 2 - meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 1 - .../at/at/makefile-fix-parallel.patch | 35 ++++ meta/recipes-extended/at/at_3.1.16.bb | 5 +- meta/recipes-extended/bash/bash.inc | 2 - .../ghostscript-9.15-parallel-make.patch | 40 +++++ .../ghostscript/ghostscript_9.15.bb | 6 +- meta/recipes-extended/mailx/mailx_12.5.bb | 1 - .../slang/slang/slang-makefile-fix-parallel.patch | 177 ++++++++++++++++++++ meta/recipes-extended/slang/slang_2.2.4.bb | 2 +- .../tcp-wrappers-7.6/makefile-fix-parallel.patch | 54 ++++++ .../tcp-wrappers/tcp-wrappers_7.6.bb | 6 +- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 - meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 2 - .../xorg-lib/libpthread-stubs_0.3.bb | 1 - meta/recipes-graphics/xorg-lib/xcb-util.inc | 2 - .../blktrace/blktrace/makefile-fix-parallel.patch | 41 +++++ meta/recipes-kernel/blktrace/blktrace_git.bb | 5 +- meta/recipes-kernel/perf/perf.bb | 1 - meta/recipes-multimedia/speex/speex_1.2rc1.bb | 2 - meta/recipes-support/icu/icu.inc | 1 - meta/recipes-support/libpcre/libpcre_8.36.bb | 2 - .../pth/files/pth-fix-parallel.patch | 48 ++++++ meta/recipes-support/pth/pth_2.0.7.bb | 6 +- 40 files changed, 498 insertions(+), 61 deletions(-) create mode 100644 meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch create mode 100644 meta/recipes-connectivity/bind/bind/bind-subdirs-run-serially.patch create mode 100644 meta/recipes-extended/at/at/makefile-fix-parallel.patch create mode 100644 meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch create mode 100644 meta/recipes-extended/slang/slang/slang-makefile-fix-parallel.patch create mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/makefile-fix-parallel.patch create mode 100644 meta/recipes-kernel/blktrace/blktrace/makefile-fix-parallel.patch create mode 100644 meta/recipes-support/pth/files/pth-fix-parallel.patch
Signature · 1 line
1.7.9.5
PATCH 1/12 bind: fix and enable parallel build
--- .../bind/bind/bind-subdirs-run-serially.patch | 35 ++++++++++++++++++++ meta/recipes-connectivity/bind/bind_9.9.5.bb | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-connectivity/bind/bind/bind-subdirs-run-serially.patch
meta/recipes-connectivity/bind/bind/bind-subdirs-run-serially.patch new file +35 -0
@@ -0,0 +1,35 @@ +From b24468b6fe1f136bfd854773bc0e117aca0012d5 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Wed, 28 Jan 2015 01:23:09 -0800 +Subject: [PATCH] lib/export/isc/Makefile.in: let SUBDIRS run serially + +Fix parallel issue:: +make[2]: *** No rule to make target `nls/msgcat.o', needed by `libisc.a'. Stop. +make[2]: *** Waiting for unfinished jobs.... +make[3]: Leaving directory `bind-9.9.5/lib/export/isc/unix' + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + lib/export/isc/Makefile.in | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/export/isc/Makefile.in b/lib/export/isc/Makefile.in +index a92f66f..27dabcb 100644 +--- a/lib/export/isc/Makefile.in ++++ b/lib/export/isc/Makefile.in +@@ -103,6 +103,10 @@ SRCS = @ISC_EXTRA_SRCS@ \ + + LIBS = @LIBS@ + ++# Note: the order of SUBDIRS is important. ++# Attempt to disable parallel processing. ++.NOTPARALLEL: ++.NO_PARALLEL: + SUBDIRS = include unix nls @ISC_THREAD_DIR@ + TARGETS = timestamp + +-- +1.7.9.5 +
meta/recipes-connectivity/bind/bind_9.9.5.bb +1 -1
@@ -19,6 +19,7 @@ SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ file://init.d-add-support-for-read-only-rootfs.patch \ file://bind9_9_5-CVE-2014-8500.patch \ file://bind-add-crosscripts-search-path-for-xml2-config.patch \ + file://bind-subdirs-run-serially.patch \ " SRC_URI[md5sum] = "e676c65cad5234617ee22f48e328c24e"
@@ -48,7 +49,6 @@ INITSCRIPT_PARAMS = "defaults" SYSTEMD_SERVICE_${PN} = "named.service" -PARALLEL_MAKE = "" RDEPENDS_${PN} = "python-core"
Signature · 1 line
1.7.9.5
PATCH 2/12 tcp-wrappers: fix and enable parallel build
In reply to Robert Yang--- .../tcp-wrappers-7.6/makefile-fix-parallel.patch | 54 ++++++++++++++++++++ .../tcp-wrappers/tcp-wrappers_7.6.bb | 6 +-- 2 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/makefile-fix-parallel.patch
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/makefile-fix-parallel.patch new file +54 -0
@@ -0,0 +1,54 @@ +From daf89d272e51b2153015ce7f54ab0b86182e64c1 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Wed, 28 Jan 2015 18:50:23 -0800 +Subject: [PATCH] Makefile: fix for parallel build + +Fixed: +make: *** No rule to make target `cflags', needed by `tcpd.o'. Stop. + +Let "cflags" depend on config-check which generates cflgas will fix the +problem. + +Also fixed: +Fatal error: can't create shared/hosts_access.o: No such file or directory + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + Makefile | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index fe5e732..f468751 100644 +--- a/Makefile ++++ b/Makefile +@@ -714,6 +714,7 @@ KIT = README miscd.c tcpd.c fromhost.c hosts_access.c shell_cmd.c \ + LIB = libwrap.a + + shared/%.o: %.c ++ [ -d shared ] || mkdir -p shared + $(CC) $(CFLAGS) $(SHCFLAGS) -c $< -o $@ + + SOMAJOR = 0 +@@ -730,6 +731,8 @@ SHLIB_OBJ= $(addprefix shared/, $(LIB_OBJ)); + + all other: config-check tcpd tcpdmatch try-from safe_finger tcpdchk $(LIB) + ++cflags: config-check ++ + # Invalidate all object files when the compiler options (CFLAGS) have changed. + + config-check: +@@ -739,7 +742,7 @@ config-check: + then rm cflags.new ; \ + else mv cflags.new cflags ; \ + fi >/dev/null 2>/dev/null +- @if [ ! -d shared ]; then mkdir shared; fi ++ @[ -d shared ] || mkdir -p shared + + $(LIB): $(LIB_OBJ) + rm -f $(LIB) +-- +1.7.9.5 +
meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +3 -3
@@ -40,16 +40,16 @@ SRC_URI = "ftp://ftp.porcupine.org/pub/security/tcp_wrappers_${PV}.tar.gz \ file://tcpdchk_libwrapped.patch \ file://ldflags.patch \ file://rename_strings_variable.patch \ - \ file://try-from.8 \ - file://safe_finger.8" + file://safe_finger.8 \ + file://makefile-fix-parallel.patch \ + " SRC_URI[md5sum] = "e6fa25f71226d090f34de3f6b122fb5a" SRC_URI[sha256sum] = "9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d" S = "${WORKDIR}/tcp_wrappers_${PV}" -PARALLEL_MAKE = "" EXTRA_OEMAKE = "'CC=${CC}' \ 'AR=${AR}' \ 'RANLIB=${RANLIB}' \
Signature · 1 line
1.7.9.5
PATCH 3/12 slang: fix and enable parallel build
In reply to Robert Yang--- .../slang/slang/slang-makefile-fix-parallel.patch | 177 ++++++++++++++++++++ meta/recipes-extended/slang/slang_2.2.4.bb | 2 +- 2 files changed, 178 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/slang/slang/slang-makefile-fix-parallel.patch
meta/recipes-extended/slang/slang/slang-makefile-fix-parallel.patch new file +177 -0
@@ -0,0 +1,177 @@ +From ba11ed50474cf00d38ad96f600e4f5fc0d42d924 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Wed, 28 Jan 2015 22:55:17 -0800 +Subject: [PATCH] Makefile.in: fix for parallel build + +Fixed: +* /bin/sh: 1: cd: can't cd to objs + +The $(OBJDIR) was in wrong place. + +* install: cannot stat `src/elfobjs/libslang.so.2.2.4': No such file or directory + +* install: target `/usr/share/slsh/rline/' is not a directory: No such file or directory + +Upstream-Status: Pending +Signed-off-by: Robert Yang <[email protected]> +--- + modules/Makefile.in | 64 +++++++++++++++++++++++++-------------------------- + slsh/Makefile.in | 10 ++++---- + src/Makefile.in | 2 +- + 3 files changed, 38 insertions(+), 38 deletions(-) + +diff --git a/modules/Makefile.in b/modules/Makefile.in +index 0384359..bd9e9a6 100644 +--- a/modules/Makefile.in ++++ b/modules/Makefile.in +@@ -87,53 +87,53 @@ config.h: ../src/config.h + $(OBJDIR): + -$(MKINSDIR) $(OBJDIR) + # +-slsmg-module.so: $(OBJDIR) $(OBJDIR)/slsmg-module.so +-$(OBJDIR)/slsmg-module.so: slsmg-module.c config.h ++slsmg-module.so: $(OBJDIR)/slsmg-module.so ++$(OBJDIR)/slsmg-module.so: slsmg-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/slsmg-module.c -o slsmg-module.so $(LIBS) +-rand-module.so: $(OBJDIR) $(OBJDIR)/rand-module.so +-$(OBJDIR)/rand-module.so: rand-module.c config.h ++rand-module.so: $(OBJDIR)/rand-module.so ++$(OBJDIR)/rand-module.so: rand-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/rand-module.c -o rand-module.so $(LIBS) +-newt-module.so: $(OBJDIR) $(OBJDIR)/newt-module.so +-$(OBJDIR)/newt-module.so: newt-module.c config.h ++newt-module.so: $(OBJDIR)/newt-module.so ++$(OBJDIR)/newt-module.so: newt-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/newt-module.c -o newt-module.so -lnewt $(LIBS) +-termios-module.so: $(OBJDIR) $(OBJDIR)/termios-module.so +-$(OBJDIR)/termios-module.so: termios-module.c config.h ++termios-module.so: $(OBJDIR)/termios-module.so ++$(OBJDIR)/termios-module.so: termios-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/termios-module.c -o termios-module.so $(LIBS) +-select-module.so: $(OBJDIR) $(OBJDIR)/select-module.so +-$(OBJDIR)/select-module.so: select-module.c config.h ++select-module.so: $(OBJDIR)/select-module.so ++$(OBJDIR)/select-module.so: select-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/select-module.c -o select-module.so $(LIBS) +-fcntl-module.so: $(OBJDIR) $(OBJDIR)/fcntl-module.so +-$(OBJDIR)/fcntl-module.so: fcntl-module.c config.h ++fcntl-module.so: $(OBJDIR)/fcntl-module.so ++$(OBJDIR)/fcntl-module.so: fcntl-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/fcntl-module.c -o fcntl-module.so $(LIBS) +-varray-module.so: $(OBJDIR) $(OBJDIR)/varray-module.so +-$(OBJDIR)/varray-module.so: varray-module.c config.h ++varray-module.so: $(OBJDIR)/varray-module.so ++$(OBJDIR)/varray-module.so: varray-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/varray-module.c -o varray-module.so $(LIBS) +-pcre-module.so: $(OBJDIR) $(OBJDIR)/pcre-module.so +-$(OBJDIR)/pcre-module.so: pcre-module.c config.h ++pcre-module.so: $(OBJDIR)/pcre-module.so ++$(OBJDIR)/pcre-module.so: pcre-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(PCRE_INC) $(SRCDIR)/pcre-module.c -o pcre-module.so $(PCRE_LIB) $(LIBS) +-onig-module.so: $(OBJDIR) $(OBJDIR)/onig-module.so +-$(OBJDIR)/onig-module.so: onig-module.c config.h ++onig-module.so: $(OBJDIR)/onig-module.so ++$(OBJDIR)/onig-module.so: onig-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(ONIG_INC) $(SRCDIR)/onig-module.c -o onig-module.so $(ONIG_LIB) $(LIBS) +-png-module.so: $(OBJDIR) $(OBJDIR)/png-module.so +-$(OBJDIR)/png-module.so: png-module.c config.h ++png-module.so: $(OBJDIR)/png-module.so ++$(OBJDIR)/png-module.so: png-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(PNG_INC) $(SRCDIR)/png-module.c -o png-module.so $(PNG_LIB) $(LIBS) +-socket-module.so: $(OBJDIR) $(OBJDIR)/socket-module.so +-$(OBJDIR)/socket-module.so: socket-module.c config.h ++socket-module.so: $(OBJDIR)/socket-module.so ++$(OBJDIR)/socket-module.so: socket-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/socket-module.c -o socket-module.so $(SOCKET_LIBS) $(LIBS) +-iconv-module.so: $(OBJDIR) $(OBJDIR)/iconv-module.so +-$(OBJDIR)/iconv-module.so: iconv-module.c config.h ++iconv-module.so: $(OBJDIR)/iconv-module.so ++$(OBJDIR)/iconv-module.so: iconv-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(ICONV_INC) $(SRCDIR)/iconv-module.c -o iconv-module.so $(ICONV_LIB) $(LIBS) +-zlib-module.so: $(OBJDIR) $(OBJDIR)/zlib-module.so +-$(OBJDIR)/zlib-module.so: zlib-module.c config.h ++zlib-module.so: $(OBJDIR)/zlib-module.so ++$(OBJDIR)/zlib-module.so: zlib-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(ZLIB_INC) $(SRCDIR)/zlib-module.c -o zlib-module.so $(ZLIB_LIB) $(LIBS) +-fork-module.so: $(OBJDIR) $(OBJDIR)/fork-module.so +-$(OBJDIR)/fork-module.so: fork-module.c config.h ++fork-module.so: $(OBJDIR)/fork-module.so ++$(OBJDIR)/fork-module.so: fork-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/fork-module.c -o fork-module.so $(LIBS) +-sysconf-module.so: $(OBJDIR) $(OBJDIR)/sysconf-module.so +-$(OBJDIR)/sysconf-module.so: sysconf-module.c config.h ++sysconf-module.so: $(OBJDIR)/sysconf-module.so ++$(OBJDIR)/sysconf-module.so: sysconf-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/sysconf-module.c -o sysconf-module.so $(LIBS) +-csv-module.so: $(OBJDIR) $(OBJDIR)/csv-module.so +-$(OBJDIR)/csv-module.so: csv-module.c config.h ++csv-module.so: $(OBJDIR)/csv-module.so ++$(OBJDIR)/csv-module.so: csv-module.c config.h $(OBJDIR) + cd $(OBJDIR) && $(CC_SHARED) $(INCS) $(SRCDIR)/csv-module.c -o csv-module.so $(LIBS) + + # Note that Windows/Cygwin modules need execute permissions +diff --git a/slsh/Makefile.in b/slsh/Makefile.in +index b71b9bc..0b0271c 100644 +--- a/slsh/Makefile.in ++++ b/slsh/Makefile.in +@@ -99,7 +99,7 @@ install_directories: + $(MKINSDIR) $(DEST_SLSH_LOCALLIB_DIR) + $(MKINSDIR) $(DEST_SLSH_SCRIPT_DIR) + $(MKINSDIR) $(DEST_SLSH_DOC_DIR)/html +-install_lib_files: ++install_lib_files: install_directories + @for X in lib/*.sl; \ + do \ + echo $(INSTALL_DATA) $$X $(DEST_SLSH_LIB_DIR); \ +@@ -108,7 +108,7 @@ install_lib_files: + exit 1; \ + fi; \ + done +-install_rline_files: ++install_rline_files: install_directories + @for X in lib/rline/*.sl lib/rline/slrline.rc; \ + do \ + echo $(INSTALL_DATA) $$X $(DEST_SLSH_LIB_DIR)/rline/; \ +@@ -117,7 +117,7 @@ install_rline_files: + exit 1; \ + fi; \ + done +-install_scripts: ++install_scripts: install_directories + @for X in $(SCRIPTS); \ + do \ + echo $(INSTALL) scripts/$$X $(DEST_SLSH_SCRIPT_DIR); \ +@@ -126,7 +126,7 @@ install_scripts: + exit 1; \ + fi; \ + done +-install_help: ++install_help: install_directories + @for X in lib/help/*.hlp; \ + do \ + echo $(INSTALL_DATA) $$X $(DEST_SLSH_HELP_DIR); \ +@@ -135,7 +135,7 @@ install_help: + exit 1; \ + fi; \ + done +-install_docs: ++install_docs: install_directories + @for X in doc/html/*.html; \ + do \ + echo $(INSTALL_DATA) $$X $(DEST_SLSH_DOC_DIR)/html/; \ +diff --git a/src/Makefile.in b/src/Makefile.in +index 03fa056..2c6cdbf 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -191,7 +191,7 @@ install-static: static install-headers install-docs $(DEST_LIBDIR) + @echo installing $(OBJDIR_NORMAL_LIB) in $(DEST_LIBDIR)/ + $(INSTALL_DATA) $(OBJDIR_NORMAL_LIB) $(DEST_LIBDIR)/ + $(RANLIB) $(DEST_LIBDIR)/$(NORMAL_LIB) +-install-elf-and-links: ++install-elf-and-links: $(ELFDIR_ELF_LIB) + -$(RM) $(DEST_LIBDIR)/$(ELFLIB) + -$(RM) $(DEST_LIBDIR)/$(ELFLIB_MAJOR) + @echo installing $(ELFLIB_BUILD_NAME) in $(DEST_LIBDIR) +-- +1.7.9.5 +
meta/recipes-extended/slang/slang_2.2.4.bb +1 -1
@@ -22,6 +22,7 @@ SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2 \ file://change-char-type-to-signed-char-in-macros.patch \ file://sprintf-bug-concerning-8-bit-characters.patch \ file://slang-fix-the-iconv-existence-checking.patch \ + file://slang-makefile-fix-parallel.patch \ " inherit autotools-brokensep
@@ -48,4 +49,3 @@ do_install() { FILES_${PN} += "${libdir}/${BPN}/v2/modules/ ${datadir}/slsh/" FILES_${PN}-dbg += "${libdir}/${BPN}/v2/modules/.debug" -PARALLEL_MAKE = ""
Signature · 1 line
1.7.9.5
PATCH 4/12 at: fix and enable parallel build
In reply to Robert Yang--- .../at/at/makefile-fix-parallel.patch | 35 ++++++++++++++++++++ meta/recipes-extended/at/at_3.1.16.bb | 5 +-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/at/at/makefile-fix-parallel.patch
meta/recipes-extended/at/at/makefile-fix-parallel.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 150b63a936af71b992a3a7b0fc2d2497e51fc800 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Wed, 28 Jan 2015 23:52:00 -0800 +Subject: [PATCH] Makefile: fix for parallel build + +Fixed: +y.tab.c:1001:0: error: unterminated #if + +Let "$(YACC) -d parsetime.y" only run once will fix the problem. + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + Makefile | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index 2a9b918..aa7c04a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -75,7 +75,9 @@ at: $(ATOBJECTS) + atd: $(RUNOBJECTS) + $(CC) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) + +-y.tab.c y.tab.h: parsetime.y ++y.tab.h: y.tab.c ++ ++y.tab.c: parsetime.y + $(YACC) -d parsetime.y + + lex.yy.c: parsetime.l +-- +1.7.9.5 +
meta/recipes-extended/at/at_3.1.16.bb +3 -2
@@ -22,7 +22,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ file://file_replacement_with_gplv2.patch \ file://atd.init \ file://atd.service \ - ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ + file://makefile-fix-parallel.patch \ + " PAM_SRC_URI = "file://pam.conf.patch \ file://configure-add-enable-pam.patch"
@@ -44,7 +46,6 @@ INITSCRIPT_PARAMS = "defaults" SYSTEMD_SERVICE_${PN} = "atd.service" -PARALLEL_MAKE = "" do_compile_prepend () { cp -f ${WORKDIR}/posixtm.[ch] ${S}
Signature · 1 line
1.7.9.5
PATCH 5/12 mtools: fix and enable parallel build
In reply to Robert YangFixed do_install error:
mkdir: cannot create directory `/path/to/image/usr': File exists
mkdir: cannot create directory `/path/to/image/usr/share': File exists
--- meta/recipes-devtools/mtools/mtools_3.9.9.bb | 8 ++++++-- meta/recipes-devtools/mtools/mtools_4.0.18.bb | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-)
meta/recipes-devtools/mtools/mtools_3.9.9.bb +6 -2
@@ -44,6 +44,10 @@ inherit autotools texinfo EXTRA_OECONF = "--without-x" -PARALLEL_MAKEINST = "" - BBCLASSEXTEND = "native nativesdk" + +do_install_prepend () { + # Create bindir to fix parallel installation issues + mkdir -p ${D}/${bindir} + mkdir -p ${D}/${datadir} +}
meta/recipes-devtools/mtools/mtools_4.0.18.bb +6 -2
@@ -35,6 +35,10 @@ inherit autotools texinfo EXTRA_OECONF = "--without-x" -PARALLEL_MAKEINST = "" - BBCLASSEXTEND = "native nativesdk" + +do_install_prepend () { + # Create bindir to fix parallel installation issues + mkdir -p ${D}/${bindir} + mkdir -p ${D}/${datadir} +}
Signature · 1 line
1.7.9.5
PATCH 6/12 pth: fix and enable parallel build
In reply to Robert Yang--- .../pth/files/pth-fix-parallel.patch | 48 ++++++++++++++++++++ meta/recipes-support/pth/pth_2.0.7.bb | 6 +-- 2 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/pth/files/pth-fix-parallel.patch
meta/recipes-support/pth/files/pth-fix-parallel.patch new file +48 -0
@@ -0,0 +1,48 @@ +From df06b8170745eac347acb95f9f374f257621254f Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Thu, 29 Jan 2015 18:11:00 -0800 +Subject: [PATCH] Makefile.in: fix for parallel build + +Fixed: +* do_compile + pth_uctx.c:31:19: fatal error: pth_p.h: No such file or directory + #include "pth_p.h" + ^ +compilation terminated. +make: *** [pth_uctx.lo] Error 1 + +* do_install: + cp: cannot create regular file `image/usr/lib/pkgconfig/#INST@15507#': No such file or directory + +Upstream-Status: Pending +Signed-off-by: Robert Yang <[email protected]> +--- + Makefile.in | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index de0390d..381a0ee 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -219,7 +219,8 @@ test_pthread: test_pthread.o test_common.o libpthread.la + + # install the package + install: all-for-install +- @$(MAKE) $(MKFLAGS) install-dirs install-pth @INSTALL_PTHREAD@ install-pkgconfigDATA ++ @$(MAKE) $(MKFLAGS) install-dirs ++ @$(MAKE) $(MKFLAGS) install-pth @INSTALL_PTHREAD@ install-pkgconfigDATA + @touch .done-install >/dev/null 2>&1 || $(TRUE) + @$(MAKE) $(MKFLAGS) what-next + install-dirs: +@@ -432,7 +433,7 @@ TAGS: + ## (AUTOMATICALLY UPDATED - DO NOT EDIT) + ## + +-$(LOBJS): Makefile ++$(LOBJS): Makefile pth_p.h + + # DO NOT REMOVE + pth_attr.lo: pth_attr.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h +-- +1.7.9.5 +
meta/recipes-support/pth/pth_2.0.7.bb +3 -3
@@ -13,13 +13,13 @@ python __anonymous () { } SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \ - file://pth-add-pkgconfig-support.patch" + file://pth-add-pkgconfig-support.patch \ + file://pth-fix-parallel.patch \ + " SRC_URI[md5sum] = "9cb4a25331a4c4db866a31cbe507c793" SRC_URI[sha256sum] = "72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232" -PARALLEL_MAKE="" - BINCONFIG = "${bindir}/pth-config" inherit autotools binconfig-disabled pkgconfig
Signature · 1 line
1.7.9.5
PATCH 7/12 openssl: fix and enable parallel build
In reply to Robert YangFixed:
Cannot create directory image/usr: File exists
make: *** [install_sw] Error 17
Create /usr to avoid race issues.
--- meta/recipes-connectivity/openssl/openssl.inc | 3 +++ .../recipes-connectivity/openssl/openssl_1.0.1j.bb | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-connectivity/openssl/openssl.inc +3 -0
@@ -152,6 +152,9 @@ do_compile_ptest () { } do_install () { + # Create ${D}/${prefix} to fix parallel issues + mkdir -p ${D}/${prefix}/ + oe_runmake INSTALL_PREFIX="${D}" MANDIR="${mandir}" install oe_libinstall -so libcrypto ${D}${libdir}
meta/recipes-connectivity/openssl/openssl_1.0.1j.bb +0 -3
@@ -49,9 +49,6 @@ PACKAGES =+ " \ FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" FILES_${PN}-engines-dbg = "${libdir}/ssl/engines/.debug" -PARALLEL_MAKE = "" -PARALLEL_MAKEINST = "" - do_configure_prepend() { cp ${WORKDIR}/find.pl ${S}/util/find.pl }
Signature · 1 line
1.7.9.5
PATCH 8/12 blktrace: fix and enable parallel build
In reply to Robert Yang--- .../blktrace/blktrace/makefile-fix-parallel.patch | 41 ++++++++++++++++++++ meta/recipes-kernel/blktrace/blktrace_git.bb | 5 ++- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-kernel/blktrace/blktrace/makefile-fix-parallel.patch
meta/recipes-kernel/blktrace/blktrace/makefile-fix-parallel.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 98cb9a95ce536d21be390934bd42dc2abde5959f Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Thu, 29 Jan 2015 22:18:06 -0800 +Subject: [PATCH] Makefile: fix for parallel build + +Fixed parallel issue: +* btreplay.o: file not recognized: File truncated + collect2: error: ld returned 1 exit status + +* btreplay/btreplay.c:47:18: fatal error: list.h: No such file or directory + #include "list.h" + ^ + compilation terminated. + + Don't make btreplay twice will fix the problem + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index fe35d02..e7b1e94 100644 +--- a/Makefile ++++ b/Makefile +@@ -17,8 +17,8 @@ btt/btt: + btreplay/btrecord: + $(MAKE) -C btreplay + +-btreplay/btreplay: +- $(MAKE) -C btreplay ++btreplay/btreplay: btreplay/btrecord ++ echo Building $@ + + %.o: %.c + $(CC) -o $*.o -c $(ALL_CFLAGS) $< +-- +1.7.9.5 +
meta/recipes-kernel/blktrace/blktrace_git.bb +3 -2
@@ -10,7 +10,9 @@ PR = "r6" PV = "1.0.5+git${SRCPV}" SRC_URI = "git://git.kernel.dk/blktrace.git \ - file://ldflags.patch" + file://ldflags.patch \ + file://makefile-fix-parallel.patch \ + " S = "${WORKDIR}/git"
@@ -19,7 +21,6 @@ EXTRA_OEMAKE = "\ 'CFLAGS=${CFLAGS}' \ 'LDFLAGS=${LDFLAGS}' \ " -PARALLEL_MAKE = "" do_install() { oe_runmake ARCH="${ARCH}" prefix=${prefix} \
Signature · 1 line
1.7.9.5
PATCH 9/12 ghostscript: fix and enable parallel build
In reply to Robert Yang--- .../ghostscript-9.15-parallel-make.patch | 40 ++++++++++++++++++++ .../ghostscript/ghostscript_9.15.bb | 6 +-- 2 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch
meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.15-parallel-make.patch new file +40 -0
@@ -0,0 +1,40 @@ +From be1e1b33191afdcfe3c2ecc4ff3e361a5859e9c6 Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Fri, 30 Jan 2015 00:40:22 -0800 +Subject: [PATCH] contrib.mak: fix for parallel build + +Fixed: +rm: cannot remove `/usr/share/ghostscript/9.15/lib': Is a directory + +Create lib before install to fix the race issue. + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + contrib/contrib.mak | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/contrib/contrib.mak b/contrib/contrib.mak +index 08a80d1..de2e20d 100644 +--- a/contrib/contrib.mak ++++ b/contrib/contrib.mak +@@ -947,6 +947,7 @@ $(DEVOBJ)dviprlib.$(OBJ) : $(JAPSRC)dviprlib.c $(JAPSRC)dviprlib.h + $(DEVCC) $(O_)$@ $(C_) $(JAPSRC)dviprlib.c + + extra-dmprt-install: ++ mkdir -p $(DESTDIR)$(gsdatadir)$(D)lib + $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 + $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 + $(INSTALL_DATA) $(JAPSRC)escp_24.src $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 +@@ -1088,6 +1089,7 @@ $(DEVOBJ)gdevalps.$(OBJ) : $(JAPSRC)gdevalps.c $(PDEVH) + ### ----------------- Additional .upp files ---------------- ### + + extra-upp-install: ++ mkdir -p $(DESTDIR)$(gsdatadir)$(D)lib + for f in $(CONTRIBSRC)uniprint$(D)*.upp; do \ + $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \ + done +-- +1.7.9.5 +
meta/recipes-extended/ghostscript/ghostscript_9.15.bb +1 -5
@@ -24,6 +24,7 @@ SRC_URI = "${SRC_URI_BASE} \ file://objarch.h \ file://ghostscript-9.02-parallel-make.patch \ file://cups-no-gcrypt.patch \ + file://ghostscript-9.15-parallel-make.patch \ " SRC_URI_class-native = "${SRC_URI_BASE} \
@@ -101,8 +102,3 @@ do_install_class-native () { } BBCLASSEXTEND = "native" - -# Ghostscript install tool 'instcopy' tries to remove already created -# directories during install and parallel make causes problems. -PARALLEL_MAKEINST="" -
Signature · 1 line
1.7.9.5
PATCH 10/12 pcmciautils: fix and enable parallel build
In reply to Robert Yang--- .../Makefile-fix-for-parallel-build.patch | 35 ++++++++++++++++++++ meta/recipes-bsp/pcmciautils/pcmciautils.inc | 1 - meta/recipes-bsp/pcmciautils/pcmciautils_018.bb | 4 ++- 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch
meta/recipes-bsp/pcmciautils/pcmciautils-018/Makefile-fix-for-parallel-build.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 1b8ad348f8c712c8e0c16c49cc1c8e577e4d6d3e Mon Sep 17 00:00:00 2001 +From: Robert Yang <[email protected]> +Date: Thu, 5 Feb 2015 01:16:30 -0800 +Subject: [PATCH] Makefile: fix for parallel build + +Fixed: +| src/lex_config.c:34:25: fatal error: yacc_config.h: No such file or directory +| +| #include "yacc_config.h" +| ^ +| compilation terminated. + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <[email protected]> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index d45fdc3..de2a5f9 100644 +--- a/Makefile ++++ b/Makefile +@@ -246,7 +246,7 @@ $(PCMCIA_SOCKET_STARTUP): $(LIBC) src/startup.o src/yacc_config.o src/lex_config + $(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) src/startup.o src/yacc_config.o src/lex_config.o $(LIB_OBJS) $(ARCH_LIB_OBJS) + $(QUIET) $(STRIPCMD) $@ + +-yacc_config.o lex_config.o: %.o: %.c ++yacc_config.o lex_config.o: %.o: %.c: %.h + $(CC) -c -MD -O -pipe $(CPPFLAGS) $< + + debugtools: ccdv $(CBDUMP) $(CISDUMP) +-- +1.7.9.5 +
meta/recipes-bsp/pcmciautils/pcmciautils.inc +0 -1
@@ -23,7 +23,6 @@ LD = "${CC}" CFLAGS =+ "-I${S}/src" CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" -PARALLEL_MAKE = "" EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" do_install () {
meta/recipes-bsp/pcmciautils/pcmciautils_018.bb +3 -1
@@ -1,6 +1,8 @@ require pcmciautils.inc -SRC_URI += "file://makefile_fix.patch" +SRC_URI += "file://makefile_fix.patch \ + file://Makefile-fix-for-parallel-build.patch \ +" SRC_URI[md5sum] = "5d85669b3440baa4532363da6caaf1b4" SRC_URI[sha256sum] = "79e6ae441278e178c07501d492394ed2c0326fdb66894f6d040ec811b0dc8ed5"
Signature · 1 line
1.7.9.5
PATCH 11/12 vala.bbclass: enable PARALLEL_MAKE
In reply to Robert YangThe midori is built well now.
--- meta/classes/vala.bbclass | 3 --- 1 file changed, 3 deletions(-)
meta/classes/vala.bbclass +0 -3
@@ -1,6 +1,3 @@ -# Vala has problems with multiple concurrent invocations -PARALLEL_MAKE = "" - # Everyone needs vala-native and targets need vala, too, # because that is where target builds look for .vapi files. #
Signature · 1 line
1.7.9.5
PATCH 12/12 meta: enable parallel build for several recipes
In reply to Robert YangI used a for loop to build these packages more than 520 times, these recipes never failed.
--- .../nfs-utils/nfs-utils_1.3.1.bb | 2 -- meta/recipes-core/libcgroup/libcgroup_0.41.bb | 3 --- meta/recipes-devtools/autoconf/autoconf_2.69.bb | 2 -- meta/recipes-devtools/dpkg/dpkg.inc | 2 -- meta/recipes-devtools/json-c/json-c_0.12.bb | 2 -- meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 -- .../python/python-pygobject_2.28.3.bb | 2 -- meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 1 - meta/recipes-extended/bash/bash.inc | 2 -- meta/recipes-extended/mailx/mailx_12.5.bb | 1 - meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 2 -- meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 2 -- .../xorg-lib/libpthread-stubs_0.3.bb | 1 - meta/recipes-graphics/xorg-lib/xcb-util.inc | 2 -- meta/recipes-kernel/perf/perf.bb | 1 - meta/recipes-multimedia/speex/speex_1.2rc1.bb | 2 -- meta/recipes-support/icu/icu.inc | 1 - meta/recipes-support/libpcre/libpcre_8.36.bb | 2 -- 18 files changed, 32 deletions(-)
meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb +0 -2
@@ -34,8 +34,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x SRC_URI[md5sum] = "8de676b9ff34b8f9addc1d0800fabdf8" SRC_URI[sha256sum] = "ff79d70b7b58b2c8f9b798c58721127e82bb96022adc04a5c4cb251630e696b8" -PARALLEL_MAKE = "" - # Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will # pull in the remainder of the dependencies.
meta/recipes-core/libcgroup/libcgroup_0.41.bb +0 -3
@@ -17,9 +17,6 @@ SRC_URI[sha256sum] = "e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706 EXTRA_OECONF = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}" -# http://www.mail-archive.com/[email protected]/msg21444.html -PARALLEL_MAKE = "" - PACKAGES =+ "cgroups-pam-plugin" FILES_cgroups-pam-plugin = "${base_libdir}/security/pam_cgroup.so*" FILES_${PN}-dbg += "${base_libdir}/security/.debug"
meta/recipes-devtools/autoconf/autoconf_2.69.bb +0 -2
@@ -2,8 +2,6 @@ require autoconf.inc PR = "r11" -PARALLEL_MAKE = "" - LICENSE = "GPLv2 & GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504"
meta/recipes-devtools/dpkg/dpkg.inc +0 -2
@@ -11,8 +11,6 @@ RDEPENDS_${PN}_class-native = "xz-native" S = "${WORKDIR}/${BPN}-${PV}" -PARALLEL_MAKE = "" - inherit autotools gettext perlnative pkgconfig systemd python () {
meta/recipes-devtools/json-c/json-c_0.12.bb +0 -2
@@ -11,8 +11,6 @@ SRC_URI[sha256sum] = "000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c1707 RPROVIDES_${PN} = "libjson" -PARALLEL_MAKE = "" - inherit autotools do_configure_prepend() {
meta/recipes-devtools/mtd/mtd-utils_git.bb +0 -2
@@ -29,6 +29,4 @@ FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/j FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*" FILES_mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image" -PARALLEL_MAKE = "" - BBCLASSEXTEND = "native"
meta/recipes-devtools/python/python-pygobject_2.28.3.bb +0 -2
@@ -18,8 +18,6 @@ S = "${WORKDIR}/pygobject-${PV}" EXTRA_OECONF += "--disable-introspection" -PARALLEL_MAKEINST = "" - inherit autotools distutils-base pkgconfig # necessary to let the call for python-config succeed
meta/recipes-devtools/valgrind/valgrind_3.10.1.bb +0 -1
@@ -36,7 +36,6 @@ inherit autotools ptest EXTRA_OECONF = "--enable-tls --without-mpicc" EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpicc" EXTRA_OEMAKE = "-w" -PARALLEL_MAKE = "" do_install_append () { install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
meta/recipes-extended/bash/bash.inc +0 -2
@@ -6,8 +6,6 @@ DEPENDS = "ncurses bison-native" inherit autotools gettext texinfo update-alternatives ptest -PARALLEL_MAKE = "" - EXTRA_AUTORECONF += "--exclude=autoheader" EXTRA_OECONF = "--enable-job-control"
meta/recipes-extended/mailx/mailx_12.5.bb +0 -1
@@ -29,4 +29,3 @@ inherit autotools-brokensep CFLAGS_append = " -D_BSD_SOURCE -DDEBIAN -I${S}/EXT" EXTRA_OEMAKE = "SENDMAIL=${sbindir}/sendmail" -PARALLEL_MAKE = ""
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +0 -2
@@ -53,8 +53,6 @@ EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," -PARALLEL_MAKE = "" - EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" do_configure_prepend() {
meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb +0 -2
@@ -42,8 +42,6 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," -PARALLEL_MAKE = "" - EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" do_configure_prepend() {
meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb +0 -1
@@ -7,7 +7,6 @@ SECTION = "x11/libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad" -PARALLEL_MAKE = "" #DEPENDS = "xcb-proto xproto libxau libxslt-native" # DEPENDS += "xsltproc-native gperf-native"
meta/recipes-graphics/xorg-lib/xcb-util.inc +0 -2
@@ -16,8 +16,6 @@ SECTION = "x11/libs" DEPENDS = "libxcb" DEPENDS += "gperf-native" -PARALLEL_MAKE = "" - SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" inherit autotools pkgconfig
meta/recipes-kernel/perf/perf.bb +0 -1
@@ -98,7 +98,6 @@ EXTRA_OEMAKE += "\ 'infodir=${@os.path.relpath(infodir, prefix)}' \ " -PARALLEL_MAKE = "" do_compile() { # Linux kernel build system is expected to do the right thing
meta/recipes-multimedia/speex/speex_1.2rc1.bb +0 -2
@@ -14,8 +14,6 @@ SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-${PV}.tar.gz" SRC_URI[md5sum] = "c4438b22c08e5811ff10e2b06ee9b9ae" SRC_URI[sha256sum] = "342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6" -PARALLEL_MAKE = "" - inherit autotools pkgconfig lib_package EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \
meta/recipes-support/icu/icu.inc +0 -1
@@ -10,7 +10,6 @@ S = "${WORKDIR}/icu/source" SPDX_S = "${WORKDIR}/icu" STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}" -PARALLEL_MAKE = "" CPPFLAGS_append_libc-uclibc = " -DU_TIMEZONE=0" BINCONFIG = "${bindir}/icu-config"
meta/recipes-support/libpcre/libpcre_8.36.bb +0 -2
@@ -28,8 +28,6 @@ BINCONFIG = "${bindir}/pcre-config" inherit autotools binconfig-disabled ptest -PARALLEL_MAKE = "" - EXTRA_OECONF = "\ --enable-newline-is-lf \ --enable-rebuild-chartables \
Signature · 1 line
1.7.9.5
Re: [PATCH 03/12] slang: fix and enable parallel build
In reply to Robert YangQuoted 6 lines · Robert Yang
Signed-off-by Robert Yang <[email protected]>--- .../slang/slang/slang-makefile-fix-parallel.patch | 177 ++++++++++++++++++++ meta/recipes-extended/slang/slang_2.2.4.bb | 2 +- 2 files changed, 178 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/slang/slang/slang-makefile-fix-parallel.patch
The autobuilder is still seeing issues with this:
http://errors.yoctoproject.org/Errors/Details/8700/
http://errors.yoctoproject.org/Errors/Details/8699/
Cheers,
Richard