Re: [SailfishDevel] Increase buildspeed of the Application SDK

2018-01-08 Thread Marcin Mielniczuk
... I noticed that the problem I have described doesn't occur when using
make (i.e. affects scons, doesn't affect make)


On 08.01.2018 10:45, Marcin Mielniczuk wrote:
>
> Well, I added a second core to the MerSDK VM and then executed:
>
> sb2 -t SailfishOS-2.1.3.7-armv7hl /bin/bash ./scons Swiften -j 2
>
> Still, all processes spawned by Scratchbox seem assigned to the first
> CPU of the VM and the second one, sits mostly idle, as shown in the
> screenshot.
>
> Has anyone of you encountered something like this?
>
>
> On 01.01.2018 19:49, Tone Kastlunger wrote:
>> It'd be amazing to be able to specify a default in QtCreator.
>>
>> On Sat, Dec 23, 2017 at 11:34 PM, Sander van Grieken
>> mailto:sander@outright.solutions>> wrote:
>>
>> On woensdag 20 december 2017 04:38:02 CET Dylan Van Assche via
>> Devel wrote:
>> > Hi,
>> >
>> > Is it possible to increase the build speed of C++ apps in the
>> Application SDK?
>> > I can asign more CPUs and RAM in the VM manager but it seems
>> that the Application SDK builds applications with the -j1 MAKE
>> flag (max 1 job).
>>
>> In QtCreator you can specify make arguments (e.g. '-j 4') in the
>> Build Steps of the project's Build & Run config.
>>
>> grtz,
>> Sander
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>> 
>>
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2018-01-01 Thread Андрей Кожевников
if you do not modify spec file by hand, default value is provided by
%{?_smp_mflags} macro which is expanded to -j X using number of cpus of
virtual machine

2018-01-01 21:49 GMT+03:00 Tone Kastlunger :

> It'd be amazing to be able to specify a default in QtCreator.
>
> On Sat, Dec 23, 2017 at 11:34 PM, Sander van Grieken <
> sander@outright.solutions> wrote:
>
>> On woensdag 20 december 2017 04:38:02 CET Dylan Van Assche via Devel
>> wrote:
>> > Hi,
>> >
>> > Is it possible to increase the build speed of C++ apps in the
>> Application SDK?
>> > I can asign more CPUs and RAM in the VM manager but it seems that the
>> Application SDK builds applications with the -j1 MAKE flag (max 1 job).
>>
>> In QtCreator you can specify make arguments (e.g. '-j 4') in the Build
>> Steps of the project's Build & Run config.
>>
>> grtz,
>> Sander
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2018-01-01 Thread Tone Kastlunger
It'd be amazing to be able to specify a default in QtCreator.

On Sat, Dec 23, 2017 at 11:34 PM, Sander van Grieken <
sander@outright.solutions> wrote:

> On woensdag 20 december 2017 04:38:02 CET Dylan Van Assche via Devel wrote:
> > Hi,
> >
> > Is it possible to increase the build speed of C++ apps in the
> Application SDK?
> > I can asign more CPUs and RAM in the VM manager but it seems that the
> Application SDK builds applications with the -j1 MAKE flag (max 1 job).
>
> In QtCreator you can specify make arguments (e.g. '-j 4') in the Build
> Steps of the project's Build & Run config.
>
> grtz,
> Sander
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2017-12-23 Thread Sander van Grieken
On woensdag 20 december 2017 04:38:02 CET Dylan Van Assche via Devel wrote:
> Hi,
> 
> Is it possible to increase the build speed of C++ apps in the Application SDK?
> I can asign more CPUs and RAM in the VM manager but it seems that the 
> Application SDK builds applications with the -j1 MAKE flag (max 1 job).

In QtCreator you can specify make arguments (e.g. '-j 4') in the Build Steps of 
the project's Build & Run config.

grtz,
Sander


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Increase buildspeed of the Application SDK

2017-12-21 Thread Tone Kastlunger
 I think the script in question (mb2 iirc ) you can patch; unfortunately,
then every vm upgrade you will loose the changes.

On Wed, Dec 20, 2017 at 11:38 AM, Dylan Van Assche via Devel <
devel@lists.sailfishos.org> wrote:

> Hi,
>
> Is it possible to increase the build speed of C++ apps in the Application
> SDK?
> I can asign more CPUs and RAM in the VM manager but it seems that the
> Application SDK builds applications with the -j1 MAKE flag (max 1 job).
>
> Is there anything I can do to increase the build speed? Big C++ apps like
> the browser take a lot of time.
>
> Kind regards,
> Dylan Van Assche
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Increase buildspeed of the Application SDK

2017-12-20 Thread Dylan Van Assche via Devel
Hi,

Is it possible to increase the build speed of C++ apps in the Application SDK?
I can asign more CPUs and RAM in the VM manager but it seems that the 
Application SDK builds applications with the -j1 MAKE flag (max 1 job).

Is there anything I can do to increase the build speed? Big C++ apps like the 
browser take a lot of time.

Kind regards,
Dylan Van Assche___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org