public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Compile question
Date: Sun, 16 Jul 2006 20:56:47 -0700	[thread overview]
Message-ID: <44BB0A7F.5080509@gentoo.org> (raw)
In-Reply-To: <44BB044A.8090803@cs.umn.edu>

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

Jeremy Olexa wrote:
> Tony,
> Some ebuilds filter out MAKEOPTS="-jX" because the makefile(?) is not
> written correctly to compile with more than one concurrent compile
> process. According to the OOo ebuild, -jX is not filtered, so that is
> not the case. Also, you may have checked the CPU usage when it was
> extracting the tarball, obviously the choke point here would be the HD,
> not the CPU.

Actually ...

    # Should the build use multiprocessing? Not enabled by default, as
it tends to break
    export JOBS="1"
    if [ "${WANT_DISTCC}" == "true" ]; then
        export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"`
    fi

Then later on, this gets passed to configure:

        --with-num-cpus="${JOBS}" \

To sum up, you need to set the WANT_DISTCC variable to use parallel
builds on openoffice because they're fragile.

Thanks,
Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

      reply	other threads:[~2006-07-17  4:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-17  2:52 [gentoo-user] Compile question Anthony E. Caudel
2006-07-17  3:30 ` Jeremy Olexa
2006-07-17  3:56   ` Donnie Berkholz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44BB0A7F.5080509@gentoo.org \
    --to=dberkholz@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox