public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can MAKEOPTS be changed on per package basis?
@ 2006-10-29 19:46 Roy Wright
  2006-10-29 19:56 ` Richard Fish
  0 siblings, 1 reply; 3+ messages in thread
From: Roy Wright @ 2006-10-29 19:46 UTC (permalink / raw
  To: gentoo-user

Howdy,

I was installing djmount (from b.g.o.) and it kept failing.  Looked like
a parallelization issue, so tried changing MAKEOPTS from -j2 to -j1,
which let the package compile.  I'm running a hypterthreaded P4 and
this is the first package to have problems with -j2 in over a year.
Is there anyway to specify a MAKEOPTS on a per package basis?

TIA,
Roy

-- 

ruby -e 'puts "qnxv?bhrbn-bnl".tr(" -}","!-~")'
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Can MAKEOPTS be changed on per package basis?
  2006-10-29 19:46 [gentoo-user] Can MAKEOPTS be changed on per package basis? Roy Wright
@ 2006-10-29 19:56 ` Richard Fish
  2006-10-29 20:23   ` Roy Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Fish @ 2006-10-29 19:56 UTC (permalink / raw
  To: gentoo-user

On 10/29/06, Roy Wright <royw@cisco.com> wrote:
> I was installing djmount (from b.g.o.) and it kept failing.  Looked like
> a parallelization issue, so tried changing MAKEOPTS from -j2 to -j1,
> which let the package compile.  I'm running a hypterthreaded P4 and
> this is the first package to have problems with -j2 in over a year.
> Is there anyway to specify a MAKEOPTS on a per package basis?

mkdir -p /etc/portage/env/cate-gory
echo "export MAKEOPTS=-j1" > /etc/portage/env/cate-gory/package

You can also set variables for specific package versions or even -rX
releases.  See /usr/portage/profiles/base/profile.bashrc.

-Richard
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Can MAKEOPTS be changed on per package basis?
  2006-10-29 19:56 ` Richard Fish
@ 2006-10-29 20:23   ` Roy Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Roy Wright @ 2006-10-29 20:23 UTC (permalink / raw
  To: gentoo-user

Richard Fish wrote:
> mkdir -p /etc/portage/env/cate-gory
> echo "export MAKEOPTS=-j1" > /etc/portage/env/cate-gory/package
>
> You can also set variables for specific package versions or even -rX
> releases.  See /usr/portage/profiles/base/profile.bashrc.
>
> -Richard

Great!  Thank you Richard!

The more I learn about Gentoo, the less I seem to know...  ;-)

-Roy

-- 

ruby -e 'puts "qnxv?bhrbn-bnl".tr(" -}","!-~")'
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-10-29 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-29 19:46 [gentoo-user] Can MAKEOPTS be changed on per package basis? Roy Wright
2006-10-29 19:56 ` Richard Fish
2006-10-29 20:23   ` Roy Wright

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