Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Development (http://www.linux-archive.org/gentoo-development/)
-   -   Make usage and warnings (http://www.linux-archive.org/gentoo-development/514081-make-usage-warnings.html)

Tomá? Chvátal 04-14-2011 07:48 AM

Make usage and warnings
 
Hi guys,
currently in main tree we have quite few places where direct make calls are
used instead of emake.

Most of these are just poor excuses to avoid setting -j1 bit later. This
soultion is problematic because users can set more make options and they all
get ignored this way.

I would like to propose repoman warning that would report direct make usage
and possibly fill the bugs where relevant so it gets migrated to "emake -j1"
(or whatever else is required).

Cheers
--
Tomáš Chvátal
Gentoo Linux Developer [Cluster/Council/KDE/QA/Sci/X11]
E-Mail : scarabeus@gentoo.org
GnuPG FP : 94A4 5CCD 85D3 DE24 FE99 F924 1C1E 9CDE 0341 4587
GnuPG ID : 03414587

Dane Smith 04-14-2011 12:37 PM

Make usage and warnings
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/14/2011 03:48 AM, Tom? Chvtal wrote:
> Hi guys,
> currently in main tree we have quite few places where direct make calls are
> used instead of emake.
>
> Most of these are just poor excuses to avoid setting -j1 bit later. This
> soultion is problematic because users can set more make options and they all
> get ignored this way.
>
> I would like to propose repoman warning that would report direct make usage
> and possibly fill the bugs where relevant so it gets migrated to "emake -j1"
> (or whatever else is required).
>
> Cheers

+1

I also am a big proponent of *not* using -j1 unless it is 100%
necessary. Fix the Makefile. Don't just take the shortcut. There is a
tracker for that here [1].

[1] http://bugs.gentoo.org/show_bug.cgi?id=351559

Regards,
- --
Dane Smith (c1pher)
Gentoo Linux Developer -- QA / Crypto / Sunrise / x86
RSA Key: http://pgp.mit.edu:11371/pks/lookup?search=0x0C2E1531&op=index
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNpuqOAAoJEEsurZwMLhUxIC4P/j+n2IUjII3SK02Fr37paeax
X8J6DqvvZXKyW7ZeIHq9Nqr2EoSMLv+BnyA9O6tcNUayV/Z0/PbkI1+0Dod05mvv
AVWEZ+Ya0TGZ8e1UbsUqphjis0qcDMgTDcUJTnsbFRGe6J8LdE x5BanLlZd/2Vcv
5hQG+tuY1IYTfadyBR8fgcAkY2AXTe5JD2UaV7XZKwt99f8FdM 23hx9ZUoO+l1g5
IzYkiVnfNSmMNyujtxUW4yBHVQcXTCfWCgyyuWbHaB9aGN/FN4QCvP+0A36FOron
vt+iKGcihpyKSGGVHbQ36H8T5c/6QXlX65QPuWVHTTAi2gth3ckmEqtSH8kaE0R9
+5pHB5Afye1HFlggR3oxmRSGKpAHksuSahbxyU8o1hVbDpugaP 5yZMAqKT2hAkcQ
j5ZM/kjhv9yOi4ddfVtW4M3UA5+FStDrmZA1sq3w6OjJv3NkyyApi8A eETde6Mva
tcAxmdAHiFSiFCPlSC5pN5Yx/RQPwY8q0tFGmdsQ2Se/5buzhXE4j8ll7cokMsTE
RvN/LvBY+5wZDQ1TpW5umNE/m770AG7dgci5eai1WfhYvGN2h11XyLfI1BdNhEpS
2+jjp/hcsCUdwuqIJw9OogSpxleRhceLJovEHvCVcByRQJK0rBAE1IF/TytJqrj/
qUABZoc/worAfjle9zLh
=ZrdI
-----END PGP SIGNATURE-----


All times are GMT. The time now is 06:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.