public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] disable dropping to -j1 when building certain programs
@ 2007-09-20 16:15 Marzan, Richard non Unisys
  2007-09-20 16:28 ` Steen Eugen Poulsen
  2007-09-23 12:50 ` Daniel Iliev
  0 siblings, 2 replies; 9+ messages in thread
From: Marzan, Richard non Unisys @ 2007-09-20 16:15 UTC (permalink / raw
  To: gentoo-user

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

How can I disable portage dropping or overriding my MAKEOPTS variable
setting when building certain programs?


[-- Attachment #2: Type: text/html, Size: 1204 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 16:15 [gentoo-user] disable dropping to -j1 when building certain programs Marzan, Richard non Unisys
@ 2007-09-20 16:28 ` Steen Eugen Poulsen
  2007-09-20 19:06   ` Dan Farrell
  2007-09-20 20:27   ` Marzan, Richard non Unisys
  2007-09-23 12:50 ` Daniel Iliev
  1 sibling, 2 replies; 9+ messages in thread
From: Steen Eugen Poulsen @ 2007-09-20 16:28 UTC (permalink / raw
  To: gentoo-user

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

Marzan, Richard non Unisys skrev:
> How can I disable portage dropping or overriding my MAKEOPTS variable 
> setting when building certain programs?
> 

Isn't that self defeating, when an ebuild contains enforced -j1 it's 
because the program can't compile with -j2 or higher. The makefile is 
written badly and doesn't provide make with the needed information to
safely create the execution path. Fx. making a library other parts of 
the code use is not blocking compilation of all files depending on this 
internal library.

Or my personal favorite:
create somefile
mv somefile someplace/somefile
mv someplace/somefile someotherplace/somefile

Dunno why someone needs to move a file twice in a row... but some make 
files does things like this.

But sure go ahead and make custom ebuilds without the make -j1.




[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 16:28 ` Steen Eugen Poulsen
@ 2007-09-20 19:06   ` Dan Farrell
  2007-09-20 20:27   ` Marzan, Richard non Unisys
  1 sibling, 0 replies; 9+ messages in thread
From: Dan Farrell @ 2007-09-20 19:06 UTC (permalink / raw
  To: gentoo-user

On Thu, 20 Sep 2007 18:28:45 +0200
Steen Eugen Poulsen <sep@lix-world.net> wrote:

> Isn't that self defeating, when an ebuild contains enforced -j1 it's 
> because the program can't compile with -j2 or higher. 

Yeah, I think you're going to have to re-engineer the makefiles if you
want to escape from their -j1 requirements.  In other words, it will
take longer to change the requirement than it will to compile the
sources one at a time ;)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 16:28 ` Steen Eugen Poulsen
  2007-09-20 19:06   ` Dan Farrell
@ 2007-09-20 20:27   ` Marzan, Richard non Unisys
  2007-09-20 20:39     ` Bo Ørsted Andresen
  1 sibling, 1 reply; 9+ messages in thread
From: Marzan, Richard non Unisys @ 2007-09-20 20:27 UTC (permalink / raw
  To: gentoo-user

I was not suggesting making ebuilds that will ignore mandatory -j1. I
was merely trying to find out what is the correct variable to use in
make.conf...I'm willing sacrifice my system for experimental purposes. I
remember it being something_MP="" or similar. It exists as an option in
make.conf I have it set a home but can't remember what it is. Does
anyone happen to know?

-----Original Message-----
From: Steen Eugen Poulsen [mailto:sep@lix-world.net] 
Sent: Thursday, September 20, 2007 12:29 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] disable dropping to -j1 when building certain
programs

Marzan, Richard non Unisys skrev:
> How can I disable portage dropping or overriding my MAKEOPTS variable 
> setting when building certain programs?
> 

Isn't that self defeating, when an ebuild contains enforced -j1 it's 
because the program can't compile with -j2 or higher. The makefile is 
written badly and doesn't provide make with the needed information to
safely create the execution path. Fx. making a library other parts of 
the code use is not blocking compilation of all files depending on this 
internal library.

Or my personal favorite:
create somefile
mv somefile someplace/somefile
mv someplace/somefile someotherplace/somefile

Dunno why someone needs to move a file twice in a row... but some make 
files does things like this.

But sure go ahead and make custom ebuilds without the make -j1.



--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 20:27   ` Marzan, Richard non Unisys
@ 2007-09-20 20:39     ` Bo Ørsted Andresen
  2007-09-20 22:39       ` Richard Marzan
  0 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2007-09-20 20:39 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 20 September 2007 22:27:18 Marzan, Richard non Unisys wrote:
> I was not suggesting making ebuilds that will ignore mandatory -j1. I
> was merely trying to find out what is the correct variable to use in
> make.conf...I'm willing sacrifice my system for experimental purposes. I
> remember it being something_MP="" or similar. It exists as an option in
> make.conf I have it set a home but can't remember what it is. Does
> anyone happen to know?

Stop top-posting.

I suppose you are speaking of WANT_MP=true which is used by a few packages 
(mozilla-sunbird, mozilla-firefox and openoffice). It does not affect any 
other packages though.

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 20:39     ` Bo Ørsted Andresen
@ 2007-09-20 22:39       ` Richard Marzan
  2007-09-21 10:00         ` Mick
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Marzan @ 2007-09-20 22:39 UTC (permalink / raw
  To: gentoo-user

On Thu, 2007-09-20 at 22:39 +0200, Bo Ørsted Andresen wrote:
> On Thursday 20 September 2007 22:27:18 Marzan, Richard non Unisys wrote:
> > I was not suggesting making ebuilds that will ignore mandatory -j1. I
> > was merely trying to find out what is the correct variable to use in
> > make.conf...I'm willing sacrifice my system for experimental purposes. I
> > remember it being something_MP="" or similar. It exists as an option in
> > make.conf I have it set a home but can't remember what it is. Does
> > anyone happen to know?
> 
> Stop top-posting.
> 
> I suppose you are speaking of WANT_MP=true which is used by a few packages 
> (mozilla-sunbird, mozilla-firefox and openoffice). It does not affect any 
> other packages though.
> 
Yes, I was referring to that variable. Thanks. Sorry for top-posting but
it's hard not to do that at work with Outlook since reply doesn't format
the reply as you see above my post. I would have to edit ">" manually to
and add the date then send the reply. I'll try though. 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 22:39       ` Richard Marzan
@ 2007-09-21 10:00         ` Mick
  2007-09-21 18:52           ` Marzan, Richard non Unisys
  0 siblings, 1 reply; 9+ messages in thread
From: Mick @ 2007-09-21 10:00 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 20 September 2007, Richard Marzan wrote:
> On Thu, 2007-09-20 at 22:39 +0200, Bo Ørsted Andresen wrote:
> >
> > Stop top-posting.
> >
> > I suppose you are speaking of WANT_MP=true which is used by a few
> > packages (mozilla-sunbird, mozilla-firefox and openoffice). It does not
> > affect any other packages though.
>
> Yes, I was referring to that variable. Thanks. Sorry for top-posting but
> it's hard not to do that at work with Outlook since reply doesn't format
> the reply as you see above my post. I would have to edit ">" manually to
> and add the date then send the reply. I'll try though.

(Did you know that Outlook can be configured to prefix responses with > and to 
post only plain text to particular addresses?  Have a look at: 
Tools>>Options>>Preferences>>E-mail Options>>On replies and forwards>>When 
replying to a message, for the prefix thingy).

HTH
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-21 10:00         ` Mick
@ 2007-09-21 18:52           ` Marzan, Richard non Unisys
  0 siblings, 0 replies; 9+ messages in thread
From: Marzan, Richard non Unisys @ 2007-09-21 18:52 UTC (permalink / raw
  To: gentoo-user



> -----Original Message-----
> From: Mick [mailto:michaelkintzios@gmail.com]
> Sent: Friday, September 21, 2007 6:00 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] disable dropping to -j1 when building certain
> programs
> 
> On Thursday 20 September 2007, Richard Marzan wrote:
> > On Thu, 2007-09-20 at 22:39 +0200, Bo Ørsted Andresen wrote:
> > >
> > > Stop top-posting.
> > >
> > > I suppose you are speaking of WANT_MP=true which is used by a few
> > > packages (mozilla-sunbird, mozilla-firefox and openoffice). It does
> not
> > > affect any other packages though.
> >
> > Yes, I was referring to that variable. Thanks. Sorry for top-posting but
> > it's hard not to do that at work with Outlook since reply doesn't format
> > the reply as you see above my post. I would have to edit ">" manually to
> > and add the date then send the reply. I'll try though.
> 
> (Did you know that Outlook can be configured to prefix responses with >
> and to
> post only plain text to particular addresses?  Have a look at:
> Tools>>Options>>Preferences>>E-mail Options>>On replies and forwards>>When
> replying to a message, for the prefix thingy).
> 
> HTH
> --
> Regards,
> Mick

Thanks it worked...somewhat...still not as good at evolution.
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] disable dropping to -j1 when building certain programs
  2007-09-20 16:15 [gentoo-user] disable dropping to -j1 when building certain programs Marzan, Richard non Unisys
  2007-09-20 16:28 ` Steen Eugen Poulsen
@ 2007-09-23 12:50 ` Daniel Iliev
  1 sibling, 0 replies; 9+ messages in thread
From: Daniel Iliev @ 2007-09-23 12:50 UTC (permalink / raw
  To: gentoo-user

On Thu, 20 Sep 2007 11:15:50 -0500
"Marzan, Richard non Unisys" <Richard.Marzan@unisys.com> wrote:

> How can I disable portage dropping or overriding my MAKEOPTS variable
> setting when building certain programs?
> 
> 

MAKEOPTS="jXXX -e"

>From "man make":

       -e, --environment-overrides
            Give variables taken from the environment precedence over  variables
            from makefiles.


Use it at your own risk, expect many breakages.


-- 
Best regards,
Daniel
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-09-23 13:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 16:15 [gentoo-user] disable dropping to -j1 when building certain programs Marzan, Richard non Unisys
2007-09-20 16:28 ` Steen Eugen Poulsen
2007-09-20 19:06   ` Dan Farrell
2007-09-20 20:27   ` Marzan, Richard non Unisys
2007-09-20 20:39     ` Bo Ørsted Andresen
2007-09-20 22:39       ` Richard Marzan
2007-09-21 10:00         ` Mick
2007-09-21 18:52           ` Marzan, Richard non Unisys
2007-09-23 12:50 ` Daniel Iliev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox