threads / patch / 2788

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

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

## tl;dr

One message between Dec 9, 2005 and Dec 9, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

H. Peter Anvin· Dec 9, 2005, 03:37 UTC · lore

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>
Show changes to cogito.spec.in +4 −1
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
 

← back to recent threads