git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] [COGITO] RPM: build in parallel on SMP systems

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Dec 9, 2005, 03:37 UTC
Message-ID
<4398FBEC.6040800@zytor.com>

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>
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
 
Message 1 of 1 in “[COGITO] RPM: build in parallel on SMP systems”
  1. [COGITO] RPM: build in parallel on SMP systemsH. Peter Anvin, Dec 9, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.