git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Petr Baudis <pasky@ucw.cz>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: [PATCH] [COGITO] RPM: build in parallel on SMP systems
Date: Thu, 08 Dec 2005 19:37:16 -0800	[thread overview]
Message-ID: <4398FBEC.6040800@zytor.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 128 bytes --]

asciidoc is hideously slow, so it's worth it to build in parallel on SMP 
hosts.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>

[-- Attachment #2: cogito.smp.build --]
[-- Type: text/plain, Size: 532 bytes --]

diff --git a/cogito.spec.in b/cogito.spec.in
index 501c52e..7c3c91d 100644
--- a/cogito.spec.in
+++ b/cogito.spec.in
@@ -22,7 +22,7 @@ many other version control systems.
 
 %build
 
-make all doc
+make %{_smp_mflags} all doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -42,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README COPYING Documentation/tutorial-script
 
 %changelog
+* Thu Dec 8 2005 H. Peter Anvin <hpa@zytor.com>
+- add %{_smp_mflags}
+
 * Tue Nov 1 2005 Pavel Roskin <proski@gnu.org> 0.15.1-1
 - generate and include manuals
 

                 reply	other threads:[~2005-12-09  3:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4398FBEC.6040800@zytor.com \
    --to=hpa@zytor.com \
    --cc=git@vger.kernel.org \
    --cc=pasky@ucw.cz \
    /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;
as well as URLs for NNTP newsgroup(s).