From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id BAE8079101 for ; Thu, 25 Oct 2018 05:10:49 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id w9P5AnD0017068 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 24 Oct 2018 22:10:49 -0700 (PDT) Received: from [128.224.162.228] (128.224.162.228) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 24 Oct 2018 22:10:48 -0700 To: Andre McCurdy References: <1540441116-366611-1-git-send-email-changqing.li@windriver.com> From: Changqing Li Message-ID: <4572e29a-3b92-745d-b794-20e514b961a8@windriver.com> Date: Thu, 25 Oct 2018 13:10:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [128.224.162.228] Cc: OE Core mailing list Subject: Re: [PATCH] openssl: change make install run serially X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 05:10:49 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 10/25/2018 12:59 PM, Andre McCurdy wrote: > On Wed, Oct 24, 2018 at 9:18 PM, wrote: >> From: Changqing Li >> >> openssl offcially don't supprt parallel make install, and have >> occasionally install fail problem for parallel build, >> according to upstream suggestion, just make install serially. >> >> refer: >> https://github.com/openssl/openssl/issues/7466#issuecomment-432148137 > Wouldn't setting PARALLEL_MAKEINST be cleaner than patching the Makefile? You are right, I will resend the patch. > >> Signed-off-by: Changqing Li >> --- >> ...nssl-let-make-install-stop-parallel-build.patch | 37 ++++++++++++++++++++++ >> meta/recipes-connectivity/openssl/openssl_1.1.1.bb | 1 + >> 2 files changed, 38 insertions(+) >> create mode 100644 meta/recipes-connectivity/openssl/openssl/0001-openssl-let-make-install-stop-parallel-build.patch >> >> diff --git a/meta/recipes-connectivity/openssl/openssl/0001-openssl-let-make-install-stop-parallel-build.patch b/meta/recipes-connectivity/openssl/openssl/0001-openssl-let-make-install-stop-parallel-build.patch >> new file mode 100644 >> index 0000000..0726d04 >> --- /dev/null >> +++ b/meta/recipes-connectivity/openssl/openssl/0001-openssl-let-make-install-stop-parallel-build.patch >> @@ -0,0 +1,37 @@ >> +From adb36f6dadecf8775cf9603ee4745aed6ee20af1 Mon Sep 17 00:00:00 2001 >> +From: Changqing Li >> +Date: Thu, 25 Oct 2018 09:43:48 +0800 >> +Subject: [PATCH] openssl: let make install stop parallel build >> + >> +openssl offcially don't supprt parallel make install, and have >> +occasionally install fail problem for parallel build, >> +according to upstream suggestion, just make install serially. >> + >> +refer: >> +https://github.com/openssl/openssl/issues/7466#issuecomment-432148137 >> + >> +Upstream-Status: Inappropriate[oe-specific] >> + >> +Signed-off-by: Changqing Li >> +--- >> + Configurations/unix-Makefile.tmpl | 4 ++++ >> + 1 file changed, 4 insertions(+) >> + >> +diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl >> +index 16af4d2..c8f60df 100644 >> +--- a/Configurations/unix-Makefile.tmpl >> ++++ b/Configurations/unix-Makefile.tmpl >> +@@ -437,6 +437,10 @@ depend: >> + >> + # Install helper targets ############################################# >> + >> ++ifneq ($(filter install,$(MAKECMDGOALS)),) >> ++.NOTPARALLEL: >> ++endif >> ++ >> + install_sw: all install_dev install_engines install_runtime >> + >> + uninstall_sw: uninstall_runtime uninstall_engines uninstall_dev >> +-- >> +2.7.4 >> + >> diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1.bb >> index af9038a..8330162 100644 >> --- a/meta/recipes-connectivity/openssl/openssl_1.1.1.bb >> +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1.bb >> @@ -15,6 +15,7 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ >> file://run-ptest \ >> file://openssl-c_rehash.sh \ >> file://0001-skip-test_symbol_presence.patch \ >> + file://0001-openssl-let-make-install-stop-parallel-build.patch \ >> " >> >> SRC_URI_append_class-nativesdk = " \ >> -- >> 2.7.4 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core -- BRs Sandy(Li Changqing) Wind River Linux