You are not logged in.

#1 2011-06-08 17:24:42

H-Bloxx
Member
Registered: 2010-08-10
Posts: 14

Compiling with multiple threats

Hi!

I just realized, that my Computer compiles anything only with one threat. Normally it should work with 9 threats and as I remeber this workt perfectly since the update to Gnome shell. What do I have to do to change it to mutiple threats again.

/etc/makepkg.conf

...
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"

#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j9"
...

Offline

#2 2011-06-08 17:47:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Compiling with multiple threats

Check if the PKGBUILDs you're compiling have "options=('!makeflags')"
https://wiki.archlinux.org/index.php/Pkgbuild#options

Offline

#3 2011-06-08 18:07:21

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Compiling with multiple threats

it's related to make 3.82-3 (it's now in core).

a workaround is to replace "make" with "make ${MAKEFLAGS}" in your PKGBUILD's

Offline

#4 2011-06-08 18:36:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Compiling with multiple threats

Moving to kernel & hardware...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2011-06-08 18:51:37

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Compiling with multiple threats

"Threads",  not threats!

Offline

#6 2011-06-08 19:06:53

bwat47
Member
Registered: 2009-10-07
Posts: 638

Re: Compiling with multiple threats

JokerBoy wrote:

it's related to make 3.82-3 (it's now in core).

a workaround is to replace "make" with "make ${MAKEFLAGS}" in your PKGBUILD's

So is it intended, or a bug that will be fixed?

Offline

#7 2011-06-08 19:43:55

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Compiling with multiple threats

https://savannah.gnu.org/support/index.php?107487 - see discussion that also happened on our devel-public mailing list.

Offline

Board footer

Powered by FluxBB