From: "Jungsoo Son" <jungsoo.son@lge.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] Makefile: Disable parallel build for $(CRITICAL_MAKEFILES)
Date: Tue, 21 May 2013 17:57:45 +0900 [thread overview]
Message-ID: <006901ce5601$42cc89e0$c8659da0$@lge.com> (raw)
[-- 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
next reply other threads:[~2013-05-21 9:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 8:57 Jungsoo Son [this message]
2013-05-21 9:51 ` [LTP] [PATCH] Makefile: Disable parallel build for $(CRITICAL_MAKEFILES) 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006901ce5601$42cc89e0$c8659da0$@lge.com' \
--to=jungsoo.son@lge.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox