summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-January/021183.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021183.html')
-rw-r--r--zarb-ml/mageia-dev/2013-January/021183.html139
1 files changed, 139 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021183.html b/zarb-ml/mageia-dev/2013-January/021183.html
new file mode 100644
index 000000000..e976bfbfa
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-January/021183.html
@@ -0,0 +1,139 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] problem with %_smp_mflags in Cauldron
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20problem%20with%20%25_smp_mflags%20in%20Cauldron&In-Reply-To=%3CCA%2BCX%2Bbi%2BuSVWxv21fXZ9aDzR6VS%2BXwcM_5ceCLeX__tSFXK%3Dzw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="021180.html">
+ <LINK REL="Next" HREF="021184.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] problem with %_smp_mflags in Cauldron</H1>
+ <B>Pascal Terjan</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20problem%20with%20%25_smp_mflags%20in%20Cauldron&In-Reply-To=%3CCA%2BCX%2Bbi%2BuSVWxv21fXZ9aDzR6VS%2BXwcM_5ceCLeX__tSFXK%3Dzw%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] problem with %_smp_mflags in Cauldron">pterjan at gmail.com
+ </A><BR>
+ <I>Sun Jan 6 17:51:07 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="021180.html">[Mageia-dev] problem with %_smp_mflags in Cauldron
+</A></li>
+ <LI>Next message: <A HREF="021184.html">[Mageia-dev] problem with %_smp_mflags in Cauldron
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21183">[ date ]</a>
+ <a href="thread.html#21183">[ thread ]</a>
+ <a href="subject.html#21183">[ subject ]</a>
+ <a href="author.html#21183">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Sun, Jan 6, 2013 at 3:13 PM, philippe makowski
+&lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">makowski.mageia at gmail.com</A>&gt; wrote:
+&gt;<i> Hi,
+</I>&gt;<i>
+</I>&gt;<i> 2013/1/6 Pascal Terjan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at gmail.com</A>&gt;:
+</I>&gt;&gt;<i> So far only waf should be a problem. Maybe we could add a macro with
+</I>&gt;&gt;<i> only the number of cpus and use -j%n_cpus with waf instead of using
+</I>&gt;&gt;<i> the make flags given that it is not compatible with other make
+</I>&gt;&gt;<i> options? (In smp_mflags the second m is for make)
+</I>&gt;<i> That' s fine for me
+</I>
+Anyone against such patch? I would change _smp_mflags to %([
+%_build_ncpus -gt 1 ] &amp;&amp; echo &quot;-j%_build_ncpus -l%_build_ncpus&quot;) later
+
+[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at chopin</A> trunk]$ svn diff
+Index: build.macros.in
+===================================================================
+--- build.macros.in (revision 7023)
++++ build.macros.in (working copy)
+@@ -207,9 +207,10 @@
+ %{nil}
+
+
+-%_smp_mflags %([ -z &quot;$RPM_BUILD_NCPUS&quot; ] \\\
+- &amp;&amp; RPM_BUILD_NCPUS=&quot;`/usr/bin/getconf _NPROCESSORS_ONLN`&quot;; \\\
+- [ &quot;$RPM_BUILD_NCPUS&quot; -gt 1 ] &amp;&amp; echo &quot;-j$RPM_BUILD_NCPUS&quot;)
++# Define _build_ncpus which can be reused with non-make build systems
++# Needs to be sent upstream
++%_build_ncpus %([ -n &quot;$RPM_BUILD_NCPUS&quot; ] &amp;&amp; echo &quot;$RPM_BUILD_NCPUS&quot;
+||<i> /usr/bin/getconf _NPROCESSORS_ONLN)
+</I>+%_smp_mflags %([ %_build_ncpus -gt 1 ] &amp;&amp; echo &quot;-j%_build_ncpus&quot;)
+
+ %_make_bin make
+ %make %{_make_bin} %_smp_mflags
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="021180.html">[Mageia-dev] problem with %_smp_mflags in Cauldron
+</A></li>
+ <LI>Next message: <A HREF="021184.html">[Mageia-dev] problem with %_smp_mflags in Cauldron
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#21183">[ date ]</a>
+ <a href="thread.html#21183">[ thread ]</a>
+ <a href="subject.html#21183">[ subject ]</a>
+ <a href="author.html#21183">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>