Re: [Qbs] QBS behaviour while linking

2020-01-28 Thread Richard Weickelt
Hi,

> Hmm ... I observe that the "Compile Output" inside QtC sometimes stops while 
> linking a library and (using htop) one can see that no other core is used. 
> After that further compilations can be seen.
> Maybe the linking of the component A has to be completely finished before 
> compiling other files (which might be part of component B which depends on A)?

should not be the case in a plain C/C++ project. Dependencies are tracked on 
artifact level which means compilation of product B depending on A can happen 
while A is being linked. Just the linkage of B is postponed until A has 
completed. Do you have a (minimal) reproduce example showing that behavior?

Richard
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs


Re: [Qbs] QBS behaviour while linking

2020-01-28 Thread Heiko Nardmann
Hmm ... I observe that the "Compile Output" inside QtC sometimes stops
while linking a library and (using htop) one can see that no other core
is used. After that further compilations can be seen.

Maybe the linking of the component A has to be completely finished
before compiling other files (which might be part of component B which
depends on A)?


/Kind regards,/

  Heiko

Am 28.01.20 um 18:31 schrieb Christian Kandeler:
> On Tue, 28 Jan 2020 18:22:31 +0100
> Heiko Nardmann  wrote:
>
>> I wonder why parallel building stops when libraries are linked ...
> It does not.
>
>> Every time a library is linked (Linux) one core is busy and all others
>> are completely idle. Is this a known bug?
> Presumably the library to be built is a dependency for subsequent steps? 
> Impossible to say without seeing the concrete project.
>
>
> Christian

___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs


Re: [Qbs] QBS behaviour while linking

2020-01-28 Thread Christian Kandeler
On Tue, 28 Jan 2020 18:22:31 +0100
Heiko Nardmann  wrote:

> I wonder why parallel building stops when libraries are linked ...

It does not.

> Every time a library is linked (Linux) one core is busy and all others
> are completely idle. Is this a known bug?

Presumably the library to be built is a dependency for subsequent steps? 
Impossible to say without seeing the concrete project.


Christian
___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs


[Qbs] QBS behaviour while linking

2020-01-28 Thread Heiko Nardmann
Hi together,

I wonder why parallel building stops when libraries are linked ...

Every time a library is linked (Linux) one core is busy and all others
are completely idle. Is this a known bug?


/Kind regards,/

  Heiko

___
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs