All of lore.kernel.org
 help / color / mirror / Atom feed
From: DecemberSoul@gmx.de
To: openembedded-devel@lists.openembedded.org
Subject: distcc for bitbake
Date: Fri, 13 Oct 2006 14:46:55 +0200	[thread overview]
Message-ID: <20061013124655.282560@gmx.net> (raw)

Hello
It is my first post on this list, so please be considerately.
I would like to use distcc for my bitbake.
On my local copy, with some hacks, it works fine. (until the next update)

Here is my way:

distccd was installed (apt-get install distcc) and started on Host1, Host2 and Host3
All hosts have the cross compiler mipsel-linux-gcc in the global PATH (or a symlink from /usr/local/bin/mipsel-linux-gcc to the cross compiler)

I have created a directory:
/bla/distcc/bin
   mipsel-linux-c++ -> /usr/bin/distcc
   mipsel-linux-cc -> /usr/bin/distcc
   mipsel-linux-g++ -> /usr/bin/distcc
   mipsel-linux-gcc -> /usr/bin/distcc

If I compile a Project by calling make(without bitbake) I can use
export PATH=/bla/distcc/bin:$PATH
make -j6 CC=mipsel-linux-gcc

make will call mipsel-linux-gcc from my path which points to distcc.
distcc will schedule the tasks to all known hosts.
-j6 will create 6 instances of make.
It works fine.

But now I want to use distcc with bitbake.
I know how to use -j6 with bitbake.
Just use "export PARALLEL_MAKE=-j6"

But how to use export PATH=/bla/distcc/bin:$PATH with bitbake.
The "distcc/bin" MUST stand in front of the PATH.
But bitbake will place the $PATH_prepend (placed in org.openembedded.dev/conf/bitbake.conf) in front of the $PATH. My hack is now to include "/bla/distcc/bin" in front of $PATH_prepend.
It works, but it is not nice.

So please tell me where can I put it.

Best regards
Patrick
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



             reply	other threads:[~2006-10-13 12:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13 12:46 DecemberSoul [this message]
2006-10-13 15:30 ` distcc for bitbake Justin Patrin

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=20061013124655.282560@gmx.net \
    --to=decembersoul@gmx.de \
    --cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.