From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Ueicx-000476-OG for ltp-list@lists.sourceforge.net; Tue, 21 May 2013 09:13:03 +0000 Received: from lgemrelse7q.lge.com ([156.147.1.151]) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1Ueicv-0004cH-TL for ltp-list@lists.sourceforge.net; Tue, 21 May 2013 09:13:03 +0000 From: "Jungsoo Son" Date: Tue, 21 May 2013 17:57:45 +0900 Message-ID: <006901ce5601$42cc89e0$c8659da0$@lge.com> MIME-Version: 1.0 Content-Language: ko Subject: [LTP] [PATCH] Makefile: Disable parallel build for $(CRITICAL_MAKEFILES) List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5499732015535617544==" Errors-To: ltp-list-bounces@lists.sourceforge.net To: ltp-list@lists.sourceforge.net This is a multipart message in MIME format. --===============5499732015535617544== Content-Type: multipart/alternative; boundary="----=_NextPart_000_006A_01CE564C.B2B4F530" Content-Language: ko This is a multipart message in MIME format. ------=_NextPart_000_006A_01CE564C.B2B4F530 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit This patch fixes parallel build error. When use parallel build with -j16 or -j8, $(CRITICAL_MAKEFILES) are created as empty file because generate-makefiles is called several times. So need to disable parallel build. The following code can guarantee sequencial building. .NOTPARALLEL: $(CRITICAL_MAKEFILES) Signed-off-by: jungsoo.son --- testcases/open_posix_testsuite/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/open_posix_testsuite/Makefile b/testcases/open_posix_testsuite/Makefile index 9c61fa4..bce5cf3 100644 --- a/testcases/open_posix_testsuite/Makefile +++ b/testcases/open_posix_testsuite/Makefile @@ -110,5 +110,7 @@ $(CRITICAL_MAKEFILES): \ $(top_srcdir)/LDLIBS @$(MAKE) generate-makefiles +.NOTPARALLEL: $(CRITICAL_MAKEFILES) + #tests-pretty: # $(MAKE) all | column -t -s: -- 1.7.9.5 ------=_NextPart_000_006A_01CE564C.B2B4F530 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

This patch fixes parallel build error. When use parallel = build

with = -j16 or -j8, $(CRITICAL_MAKEFILES) are created as empty = file

because generate-makefiles is called several times. So need = to

disable = parallel build.

The following code can guarantee sequencial = building.

.NOTPARALLEL: $(CRITICAL_MAKEFILES)

 

Signed-off-by: jungsoo.son = <jungsoo.son@lge.com>

---

= testcases/open_posix_testsuite/Makefile |    2 = ++

1 file = changed, 2 insertions(+)

 

diff --git a/testcases/open_posix_testsuite/Makefile = b/testcases/open_posix_testsuite/Makefile

index 9c61fa4..bce5cf3 = 100644

--- = a/testcases/open_posix_testsuite/Makefile

+++ = b/testcases/open_posix_testsuite/Makefile

@@ -110,5 +110,7 @@ = $(CRITICAL_MAKEFILES): \

     = $(top_srcdir)/LDLIBS

         @$(MAKE) = generate-makefiles

+.NOTPARALLEL: = $(CRITICAL_MAKEFILES)

+

#tests-pretty:

= #        $(MAKE) all | column -t = -s:

-- =

1.7.9.5

------=_NextPart_000_006A_01CE564C.B2B4F530-- --===============5499732015535617544== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may --===============5499732015535617544== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list --===============5499732015535617544==--