public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] Makefile: Disable parallel build for $(CRITICAL_MAKEFILES)
@ 2013-05-21  8:57 Jungsoo Son
  2013-05-21  9:51 ` Wanlong Gao
  2013-05-21 10:33 ` chrubis
  0 siblings, 2 replies; 6+ messages in thread
From: Jungsoo Son @ 2013-05-21  8:57 UTC (permalink / raw)
  To: ltp-list


[-- Attachment #1.1: Type: text/plain, Size: 898 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 4186 bytes --]

[-- Attachment #2: Type: text/plain, Size: 421 bytes --]

------------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-06-05 16:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-21  8:57 [LTP] [PATCH] Makefile: Disable parallel build for $(CRITICAL_MAKEFILES) Jungsoo Son
2013-05-21  9:51 ` Wanlong Gao
2013-05-21 10:33 ` chrubis
2013-05-30 13:03   ` chrubis
     [not found]     ` <006901ce5dda$30547c60$90fd7520$@lge.com>
2013-06-03 13:01       ` chrubis
2013-06-05 16:11         ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox