Gentoo Archives: gentoo-user

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compile question
Date: Mon, 17 Jul 2006 04:09:20
Message-Id: 44BB0A7F.5080509@gentoo.org
In Reply to: Re: [gentoo-user] Compile question by Jeremy Olexa
1 Jeremy Olexa wrote:
2 > Tony,
3 > Some ebuilds filter out MAKEOPTS="-jX" because the makefile(?) is not
4 > written correctly to compile with more than one concurrent compile
5 > process. According to the OOo ebuild, -jX is not filtered, so that is
6 > not the case. Also, you may have checked the CPU usage when it was
7 > extracting the tarball, obviously the choke point here would be the HD,
8 > not the CPU.
9
10 Actually ...
11
12 # Should the build use multiprocessing? Not enabled by default, as
13 it tends to break
14 export JOBS="1"
15 if [ "${WANT_DISTCC}" == "true" ]; then
16 export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
17 fi
18
19 Then later on, this gets passed to configure:
20
21 --with-num-cpus="${JOBS}" \
22
23 To sum up, you need to set the WANT_DISTCC variable to use parallel
24 builds on openoffice because they're fragile.
25
26 Thanks,
27 Donnie

Attachments

File name MIME type
signature.asc application/pgp-signature