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: signature.asc
Description: OpenPGP digital signature

Reply via email to