You are not logged in.

#1 2010-03-19 15:44:27

Fackamato
Member
Registered: 2006-03-31
Posts: 579

makepkg: nice level

Hi,

Is it possible to set the nice level in makepkg.conf ? That way I can set it to 19 or something, and I wouldn't even notice that I'm compiling 213234 things at once.

Offline

#2 2010-03-19 17:11:05

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: makepkg: nice level

make an alias in .bashrc (or .zshrc or whatever)

makepkg="nice -n 19 makepkg" or choose a different name for the alias (makepkgn or something else)

Offline

#3 2010-03-19 17:27:45

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: makepkg: nice level

flamelab wrote:

make an alias in .bashrc (or .zshrc or whatever)

makepkg="nice -n 19 makepkg" or choose a different name for the alias (makepkgn or something else)

I see. It would be nice to see this implemented though. I'm sure others would like this... perhaps one should file a bug report.

Offline

#4 2010-03-19 17:42:44

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: makepkg: nice level

Why would you want to implement this in makepkg if it's possible to do it this way? Just asking.

Offline

#5 2010-03-19 17:49:13

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: makepkg: nice level

Runiq wrote:

Why would you want to implement this in makepkg if it's possible to do it this way? Just asking.

makepkg also sets cflags. Why would you want to do that, when you can do alias cc=cc -MFLAGSHERE

Offline

#6 2010-03-19 17:58:59

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: makepkg: nice level

Runiq wrote:

Why would you want to implement this in makepkg if it's possible to do it this way? Just asking.

I guess he is relating makepkg's niceness to the PORTAGE_NICENESS that can be set in Gentoo's make.conf.

Offline

#7 2010-03-19 18:01:46

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: makepkg: nice level

I'm sorry if that came out wrong, I didn't mean to be rude. As I said, I was just asking, and I now realize how this could be useful smile

Offline

#8 2010-03-19 18:06:25

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: makepkg: nice level

Thanks for your answers smile

Offline

Board footer

Powered by FluxBB