You are not logged in.

#1 2004-02-20 17:30:38

tale
Member
From: Karlsruhe, Germany
Registered: 2004-02-16
Posts: 12

MAKEFLAG ignored by kernel build?

I just played with the kernel26-PKGBUILD as I saw that my P4-HT-CPU just uses one logical cpu to compile, despite my settings in /etc/makepkg.conf. I tried to put MAKEFLAGS="-j 3" in front of the make command in the PKGBUILD file, no success. But by typing the same commands (MAKEFLAGS="-j3" make bzImage) on the prompt, both logical cpus are used. Suprisingly everything works as expected with every other package I compile...

What is going on?!

Thanks for any help!

Offline

#2 2004-02-20 17:46:19

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: MAKEFLAG ignored by kernel build?

MAKEFLAGS are ignored in this situation.  I actually talked to apeiro about it a long time ago when I was setting up distcc.

I had to do it like this:

alias make='make -j6'
shopt -s expand_aliases

in my makepkg.conf, instead of the MAKEFLAGS.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2004-02-20 18:06:47

tale
Member
From: Karlsruhe, Germany
Registered: 2004-02-16
Posts: 12

Re: MAKEFLAG ignored by kernel build?

thanks for the tip, but it still does not work...

Offline

#4 2004-12-12 21:53:02

cmcginty
Member
From: Sacramento, CA, USA
Registered: 2004-08-07
Posts: 16

Re: MAKEFLAG ignored by kernel build?

Did you ever get this to work. I am using distcc trying to fix the same issue.

Thanks.

Offline

#5 2004-12-12 21:56:46

tale
Member
From: Karlsruhe, Germany
Registered: 2004-02-16
Posts: 12

Re: MAKEFLAG ignored by kernel build?

cmcginty wrote:

Did you ever get this to work. I am using distcc trying to fix the same issue.

sorry no, i found no way to make this work sad i hope you have more luck, though.

Offline

#6 2004-12-13 01:38:25

cmcginty
Member
From: Sacramento, CA, USA
Registered: 2004-08-07
Posts: 16

Re: MAKEFLAG ignored by kernel build?

Ok,

I got this to work, not sure how correct this is though.

in the makepkg.conf file I added the two lines, similiar to the post above:

alias make="make -j6 CC=distcc"
shopt -s expand_aliases

This fixes my kerenel compiles, however I haven't tested on any other packages.

Offline

#7 2004-12-13 20:50:56

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: MAKEFLAG ignored by kernel build?

This can also cause problems with certain builds.

You might want to check the new makepkg -j option.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB