1 Return-Path: <schnouki@schnouki.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 218E7431FD0
\r
6 for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 16:32:06 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id xIwM9Los7Pai for <notmuch@notmuchmail.org>;
\r
17 Wed, 20 Jul 2011 16:32:04 -0700 (PDT)
\r
18 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
19 by olra.theworths.org (Postfix) with ESMTP id 108FF431FB6
\r
20 for <notmuch@notmuchmail.org>; Wed, 20 Jul 2011 16:32:04 -0700 (PDT)
\r
21 Received: from localhost.localdomain (nancy.schnouki.net [78.238.0.45])
\r
22 by ks3536.kimsufi.com (Postfix) with ESMTPSA id 988B46A06A9;
\r
23 Thu, 21 Jul 2011 01:40:51 +0200 (CEST)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
25 s=key-schnouki; t=1311205251;
\r
26 bh=AzOY3XC9Y/8DQNfUKd52GRUXKZJxgw6VulNPhWr91HI=;
\r
27 h=From:To:Subject:Date:Message-Id:In-Reply-To:References;
\r
28 b=KMBBMAeF8qi+BOuqN77US6WsD9Be8H2cLAq05srep4oltLCZNigwI/P5h21QvUr1/
\r
29 XQOJV6Ur/vuOHyjtnykyBImm3fQsQGkzMSfzfWZGJqqgDekPlr2DgUeulnNkQLAfnr
\r
30 IrC8J1bHT4bBFeLNM3hOLidaBTF+f1p94xY67xN4=
\r
31 From: Thomas Jost <schnouki@schnouki.net>
\r
32 To: David Bremner <david@tethera.net>,
\r
33 notmuch@notmuchmail.org
\r
34 Subject: [PATCH] libnotmuch: only build symbols list after the modules are
\r
36 Date: Thu, 21 Jul 2011 01:31:37 +0200
\r
37 Message-Id: <1311204697-14701-1-git-send-email-schnouki@schnouki.net>
\r
38 X-Mailer: git-send-email 1.7.6
\r
39 In-Reply-To: <87aac8ev8z.fsf@convex-new.cs.unb.ca>
\r
40 References: <87aac8ev8z.fsf@convex-new.cs.unb.ca>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 20 Jul 2011 23:32:06 -0000
\r
55 If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules),
\r
56 gen-version-script.sh may be run before all the .o files are created, for
\r
57 example when doing a parallel build on a machine with many cores.
\r
61 Here's an updated version of the patch with a shorter commit message.
\r
63 For the record, the build log I sent earlier was obtained on my work PC, which
\r
64 has two 8-core CPUs. No problem on my laptop with its dual-core CPU though :)
\r
69 lib/Makefile.local | 2 +-
\r
70 1 files changed, 1 insertions(+), 1 deletions(-)
\r
72 diff --git a/lib/Makefile.local b/lib/Makefile.local
\r
73 index 9210f0e..fbc2f6a 100644
\r
74 --- a/lib/Makefile.local
\r
75 +++ b/lib/Makefile.local
\r
76 @@ -74,7 +74,7 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules)
\r
77 $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
\r
78 $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@
\r
80 -notmuch.sym: lib/notmuch.h
\r
81 +notmuch.sym: lib/notmuch.h $(libnotmuch_modules)
\r
82 sh lib/gen-version-script.sh $< $(libnotmuch_modules) > $@
\r
84 $(dir)/$(SONAME): $(dir)/$(LIBNAME)
\r