* Two distros with same MACHINE
[not found] <CADV-EXHPuDtDk8pnFfJ4QQCVQufidX+7YuuK_FdgsEXj_46t6A@mail.gmail.com>
@ 2014-08-13 10:46 ` Yevhen Kyriukha
2014-08-13 10:50 ` Nicolas Dechesne
0 siblings, 1 reply; 6+ messages in thread
From: Yevhen Kyriukha @ 2014-08-13 10:46 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
I have 2 distro configs that use different PACKAGECONFIG settings for the
same package. I'm building all distros for single MACHINE. Do I need to set
different TMPDIR to build these two distros or I can use same dir?
[-- Attachment #2: Type: text/html, Size: 241 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two distros with same MACHINE
2014-08-13 10:46 ` Two distros with same MACHINE Yevhen Kyriukha
@ 2014-08-13 10:50 ` Nicolas Dechesne
2014-08-13 11:09 ` Yevhen Kyriukha
0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Dechesne @ 2014-08-13 10:50 UTC (permalink / raw)
To: Yevhen Kyriukha; +Cc: Patches and discussions about the oe-core layer
On Wed, Aug 13, 2014 at 12:46 PM, Yevhen Kyriukha <kirgene@gmail.com> wrote:
> I have 2 distro configs that use different PACKAGECONFIG settings for the
> same package. I'm building all distros for single MACHINE. Do I need to set
> different TMPDIR to build these two distros or I can use same dir?
>
yes, you should. i generally recommend to use 1 build dir for each
combination of <machine>, <distro> and <OE version>. keep in mind that
TMPDIR are 'cheap', assuming you are sharing ssate-cache, downloads
and using rm_work..
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two distros with same MACHINE
2014-08-13 10:50 ` Nicolas Dechesne
@ 2014-08-13 11:09 ` Yevhen Kyriukha
2014-08-13 11:25 ` Martin Jansa
0 siblings, 1 reply; 6+ messages in thread
From: Yevhen Kyriukha @ 2014-08-13 11:09 UTC (permalink / raw)
To: Nicolas Dechesne; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
13 Авг 2014 г. 13:51 пользователь "Nicolas Dechesne" <
nicolas.dechesne@linaro.org> написал:
>
> On Wed, Aug 13, 2014 at 12:46 PM, Yevhen Kyriukha <kirgene@gmail.com>
wrote:
> > I have 2 distro configs that use different PACKAGECONFIG settings for
the
> > same package. I'm building all distros for single MACHINE. Do I need to
set
> > different TMPDIR to build these two distros or I can use same dir?
> >
>
> yes, you should. i generally recommend to use 1 build dir for each
> combination of <machine>, <distro> and <OE version>. keep in mind that
> TMPDIR are 'cheap', assuming you are sharing ssate-cache, downloads
> and using rm_work..
Thanks!
[-- Attachment #2: Type: text/html, Size: 938 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two distros with same MACHINE
2014-08-13 11:09 ` Yevhen Kyriukha
@ 2014-08-13 11:25 ` Martin Jansa
2014-08-14 11:13 ` Mike Looijmans
0 siblings, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2014-08-13 11:25 UTC (permalink / raw)
To: Yevhen Kyriukha; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]
On Wed, Aug 13, 2014 at 02:09:36PM +0300, Yevhen Kyriukha wrote:
> 13 Авг 2014 г. 13:51 пользователь "Nicolas Dechesne" <
> nicolas.dechesne@linaro.org> написал:
> >
> > On Wed, Aug 13, 2014 at 12:46 PM, Yevhen Kyriukha <kirgene@gmail.com>
> wrote:
> > > I have 2 distro configs that use different PACKAGECONFIG settings for
> the
> > > same package. I'm building all distros for single MACHINE. Do I need to
> set
> > > different TMPDIR to build these two distros or I can use same dir?
> > >
> >
> > yes, you should. i generally recommend to use 1 build dir for each
> > combination of <machine>, <distro> and <OE version>. keep in mind that
> > TMPDIR are 'cheap', assuming you are sharing ssate-cache, downloads
> > and using rm_work..
>
> Thanks!
I don't agree with separate dirs for <machine>.
Sharing the native sysroot and huge part of deploy/ipk/<common-arch> is
very useful for lowering disk space usage.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two distros with same MACHINE
2014-08-13 11:25 ` Martin Jansa
@ 2014-08-14 11:13 ` Mike Looijmans
2014-08-14 11:26 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Mike Looijmans @ 2014-08-14 11:13 UTC (permalink / raw)
To: openembedded-core
On 08/13/2014 01:25 PM, Martin Jansa wrote:
> On Wed, Aug 13, 2014 at 02:09:36PM +0300, Yevhen Kyriukha wrote:
>> 13 Авг 2014 г. 13:51 пользователь "Nicolas Dechesne" <
>> nicolas.dechesne@linaro.org> написал:
>>>
>>> On Wed, Aug 13, 2014 at 12:46 PM, Yevhen Kyriukha <kirgene@gmail.com>
>> wrote:
>>>> I have 2 distro configs that use different PACKAGECONFIG settings for
>> the
>>>> same package. I'm building all distros for single MACHINE. Do I need to
>> set
>>>> different TMPDIR to build these two distros or I can use same dir?
>>>>
>>>
>>> yes, you should. i generally recommend to use 1 build dir for each
>>> combination of <machine>, <distro> and <OE version>. keep in mind that
>>> TMPDIR are 'cheap', assuming you are sharing ssate-cache, downloads
>>> and using rm_work..
>>
>> Thanks!
>
> I don't agree with separate dirs for <machine>.
>
> Sharing the native sysroot and huge part of deploy/ipk/<common-arch> is
> very useful for lowering disk space usage.
>
I'd name it as one of the major improvements over classic OE, being able to
build multiple machines while sharing common things.
As for disk space, I found that it helps to occasionally remove the tmp dir
and start over. That usually yields a few GB back. It would be nice if rm_work
tried harder to remove stuff.
M.
Met vriendelijke groet / kind regards,
Mike Looijmans
TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: mike.looijmans@topic.nl
Website: www.topic.nl
Please consider the environment before printing this e-mail
Bezoek ons op 9 en 10 september tijdens Technology for Health Den Bosch (stand 53)
http://www.technologyforhealth.nl
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Two distros with same MACHINE
2014-08-14 11:13 ` Mike Looijmans
@ 2014-08-14 11:26 ` Koen Kooi
0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2014-08-14 11:26 UTC (permalink / raw)
To: Mike Looijmans; +Cc: openembedded-core
Op 14 aug. 2014, om 13:13 heeft Mike Looijmans <mike.looijmans@topic.nl> het volgende geschreven:
> On 08/13/2014 01:25 PM, Martin Jansa wrote:
>> On Wed, Aug 13, 2014 at 02:09:36PM +0300, Yevhen Kyriukha wrote:
>>> 13 Авг 2014 г. 13:51 пользователь "Nicolas Dechesne" <
>>> nicolas.dechesne@linaro.org> написал:
>>>>
>>>> On Wed, Aug 13, 2014 at 12:46 PM, Yevhen Kyriukha <kirgene@gmail.com>
>>> wrote:
>>>>> I have 2 distro configs that use different PACKAGECONFIG settings for
>>> the
>>>>> same package. I'm building all distros for single MACHINE. Do I need to
>>> set
>>>>> different TMPDIR to build these two distros or I can use same dir?
>>>>>
>>>>
>>>> yes, you should. i generally recommend to use 1 build dir for each
>>>> combination of <machine>, <distro> and <OE version>. keep in mind that
>>>> TMPDIR are 'cheap', assuming you are sharing ssate-cache, downloads
>>>> and using rm_work..
>>>
>>> Thanks!
>>
>> I don't agree with separate dirs for <machine>.
>>
>> Sharing the native sysroot and huge part of deploy/ipk/<common-arch> is
>> very useful for lowering disk space usage.
>>
>
> I'd name it as one of the major improvements over classic OE, being able to build multiple machines while sharing common things.
Multi machine builds were possible with OE classic as well. It was tricky in the beginning (2005-ish) with the giant sysroot, but after per-arch sysroots were available it was pretty safe to do multi machine builds.
regards,
Koen
>
> As for disk space, I found that it helps to occasionally remove the tmp dir and start over. That usually yields a few GB back. It would be nice if rm_work tried harder to remove stuff.
>
> M.
>
>
>
> Met vriendelijke groet / kind regards,
>
> Mike Looijmans
>
> TOPIC Embedded Systems
> Eindhovenseweg 32-C, NL-5683 KH Best
> Postbus 440, NL-5680 AK Best
> Telefoon: (+31) (0) 499 33 69 79
> Telefax: (+31) (0) 499 33 69 70
> E-mail: mike.looijmans@topic.nl
> Website: www.topic.nl
>
> Please consider the environment before printing this e-mail
>
> Bezoek ons op 9 en 10 september tijdens Technology for Health Den Bosch (stand 53)
> http://www.technologyforhealth.nl
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-08-14 11:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CADV-EXHPuDtDk8pnFfJ4QQCVQufidX+7YuuK_FdgsEXj_46t6A@mail.gmail.com>
2014-08-13 10:46 ` Two distros with same MACHINE Yevhen Kyriukha
2014-08-13 10:50 ` Nicolas Dechesne
2014-08-13 11:09 ` Yevhen Kyriukha
2014-08-13 11:25 ` Martin Jansa
2014-08-14 11:13 ` Mike Looijmans
2014-08-14 11:26 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox