Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to call an incremental build from the command line?: (9 Items)
   
How to call an incremental build from the command line?  
Hello,

I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to perform incremental builds.  Is there a command line 
option to do this?

~Best Regards, Carol

Re: How to call an incremental build from the command line?  
Define incremental build?
It you use make from command line it is kind of incremental. Same from 
IDE. You can enable (incremental) build on file save operation from 
preferences.

On 07/03/2011 6:16 PM, Carol Wesolowski wrote:
> Hello,
>
> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to perform incremental builds.  Is there a command line 
option to do this?
>
> ~Best Regards, Carol
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83802
>
RE: How to call an incremental build from the command line?  
I want to build only what projects have changed not the entire workspace
in QNX.  We are using CruiseControl.net to run automated builds and
tests.  It is taking a long time for each QNX build because the entire
workspace and boot image is being built.

I tried adding the following command line argument to force only an
incremental build but this did not work.

C:\QNX650\host\win32\x86\usr\bin>mkbuild -ws
C:\KAS-Build\SVN\NightlyBuild\dev -
projects IOEngine -variant Release -targets Build

~Best Regards, Carol

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: Monday, March 07, 2011 3:38 PM
To: general-ide
Subject: Re: How to call an incremental build from the command line?

Define incremental build?
It you use make from command line it is kind of incremental. Same from 
IDE. You can enable (incremental) build on file save operation from 
preferences.

On 07/03/2011 6:16 PM, Carol Wesolowski wrote:
> Hello,
>
> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to
perform incremental builds.  Is there a command line option to do this?
>
> ~Best Regards, Carol
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83802
>




_______________________________________________

General
http://community.qnx.com/sf/go/post83803



Please be advised that this email may contain confidential
information.  If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message.  The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.
Re: How to call an incremental build from the command line?  
So you are saying if call this command two times in a row it does a full 
re-build of a project each time?

On 07/03/2011 7:08 PM, Carol Wesolowski wrote:
> I want to build only what projects have changed not the entire workspace
> in QNX.  We are using CruiseControl.net to run automated builds and
> tests.  It is taking a long time for each QNX build because the entire
> workspace and boot image is being built.
>
> I tried adding the following command line argument to force only an
> incremental build but this did not work.
>
> C:\QNX650\host\win32\x86\usr\bin>mkbuild -ws
> C:\KAS-Build\SVN\NightlyBuild\dev -
> projects IOEngine -variant Release -targets Build
>
> ~Best Regards, Carol
>
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Sent: Monday, March 07, 2011 3:38 PM
> To: general-ide
> Subject: Re: How to call an incremental build from the command line?
>
> Define incremental build?
> It you use make from command line it is kind of incremental. Same from
> IDE. You can enable (incremental) build on file save operation from
> preferences.
>
> On 07/03/2011 6:16 PM, Carol Wesolowski wrote:
>> Hello,
>>
>> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to
> perform incremental builds.  Is there a command line option to do this?
>> ~Best Regards, Carol
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post83802
>>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83803
>
>
>
> Please be advised that this email may contain confidential
> information.  If you are not the intended recipient, please notify us
> by email by replying to the sender and delete this message.  The
> sender disclaims that the content of this email constitutes an offer
> to enter into, or the acceptance of, any agreement; provided that the
> foregoing does not invalidate the binding effect of any digital or
> other electronic reproduction of a manual signature that is included
> in any attachment.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83804
>
RE: How to call an incremental build from the command line?  
Yes.

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: Monday, March 07, 2011 4:54 PM
To: general-ide
Subject: Re: How to call an incremental build from the command line?

So you are saying if call this command two times in a row it does a full

re-build of a project each time?

On 07/03/2011 7:08 PM, Carol Wesolowski wrote:
> I want to build only what projects have changed not the entire
workspace
> in QNX.  We are using CruiseControl.net to run automated builds and
> tests.  It is taking a long time for each QNX build because the entire
> workspace and boot image is being built.
>
> I tried adding the following command line argument to force only an
> incremental build but this did not work.
>
> C:\QNX650\host\win32\x86\usr\bin>mkbuild -ws
> C:\KAS-Build\SVN\NightlyBuild\dev -
> projects IOEngine -variant Release -targets Build
>
> ~Best Regards, Carol
>
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Sent: Monday, March 07, 2011 3:38 PM
> To: general-ide
> Subject: Re: How to call an incremental build from the command line?
>
> Define incremental build?
> It you use make from command line it is kind of incremental. Same from
> IDE. You can enable (incremental) build on file save operation from
> preferences.
>
> On 07/03/2011 6:16 PM, Carol Wesolowski wrote:
>> Hello,
>>
>> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to
> perform incremental builds.  Is there a command line option to do
this?
>> ~Best Regards, Carol
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post83802
>>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83803
>
>
>
> Please be advised that this email may contain confidential
> information.  If you are not the intended recipient, please notify us
> by email by replying to the sender and delete this message.  The
> sender disclaims that the content of this email constitutes an offer
> to enter into, or the acceptance of, any agreement; provided that the
> foregoing does not invalidate the binding effect of any digital or
> other electronic reproduction of a manual signature that is included
> in any attachment.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83804
>




_______________________________________________

General
http://community.qnx.com/sf/go/post83807



Please be advised that this email may contain confidential
information.  If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message.  The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.
Re: How to call an incremental build from the command line?  
If tools is broken - it is broken. You can try to use make directly. 
Check this
http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/IDEBuildFAQ

On 07/03/2011 7:58 PM, Carol Wesolowski wrote:
> Yes.
>
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Sent: Monday, March 07, 2011 4:54 PM
> To: general-ide
> Subject: Re: How to call an incremental build from the command line?
>
> So you are saying if call this command two times in a row it does a full
>
> re-build of a project each time?
>
> On 07/03/2011 7:08 PM, Carol Wesolowski wrote:
>> I want to build only what projects have changed not the entire
> workspace
>> in QNX.  We are using CruiseControl.net to run automated builds and
>> tests.  It is taking a long time for each QNX build because the entire
>> workspace and boot image is being built.
>>
>> I tried adding the following command line argument to force only an
>> incremental build but this did not work.
>>
>> C:\QNX650\host\win32\x86\usr\bin>mkbuild -ws
>> C:\KAS-Build\SVN\NightlyBuild\dev -
>> projects IOEngine -variant Release -targets Build
>>
>> ~Best Regards, Carol
>>
>> -----Original Message-----
>> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
>> Sent: Monday, March 07, 2011 3:38 PM
>> To: general-ide
>> Subject: Re: How to call an incremental build from the command line?
>>
>> Define incremental build?
>> It you use make from command line it is kind of incremental. Same from
>> IDE. You can enable (incremental) build on file save operation from
>> preferences.
>>
>> On 07/03/2011 6:16 PM, Carol Wesolowski wrote:
>>> Hello,
>>>
>>> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to
>> perform incremental builds.  Is there a command line option to do
> this?
>>> ~Best Regards, Carol
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post83802
>>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post83803
>>
>>
>>
>> Please be advised that this email may contain confidential
>> information.  If you are not the intended recipient, please notify us
>> by email by replying to the sender and delete this message.  The
>> sender disclaims that the content of this email constitutes an offer
>> to enter into, or the acceptance of, any agreement; provided that the
>> foregoing does not invalidate the binding effect of any digital or
>> other electronic reproduction of a manual signature that is included
>> in any attachment.
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post83804
>>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post83807
>
>
>
> Please be advised that this email may contain confidential
> information.  If you are not the intended recipient, please notify us
> by email by replying to the sender and delete this message.  The
> sender disclaims that the content of this email constitutes an offer
> to enter into, or the acceptance of, any agreement; provided that the
> foregoing does not invalidate the binding effect of any digital or
> other electronic reproduction of a manual signature that is included
> in any attachment.
>
>
>
>...
RE: How to call an incremental build from the command line?  
I do not understand what tools you are referring to.

 

Maybe I am not making myself clear.

 

I have a number of projects (see the following)

 

 

 

and I want to be able to recompile from the command line only the files
that have changed.  I can do this in the QNX IDE when I right click on a
project, if nothing has changed then it reports back that there is
nothing to build.

 

 

When I run mkbuild from the command line all of the projects are
rebuilt.  All of my projects are configured for CDT Builder.

 

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: Tuesday, March 08, 2011 6:54 PM
To: general-ide
Subject: Re: How to call an incremental build from the command line?

 

If tools is broken - it is broken. You can try to use make directly. 

Check this

http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/IDEBuildF
AQ

 

On 07/03/2011 7:58 PM, Carol Wesolowski wrote:

> Yes.

> 

> -----Original Message-----

> From: Elena Laskavaia [mailto:community-noreply@qnx.com]

> Sent: Monday, March 07, 2011 4:54 PM

> To: general-ide

> Subject: Re: How to call an incremental build from the command line?

> 

> So you are saying if call this command two times in a row it does a
full

> 

> re-build of a project each time?

> 

> On 07/03/2011 7:08 PM, Carol Wesolowski wrote:

>> I want to build only what projects have changed not the entire

> workspace

>> in QNX.  We are using CruiseControl.net to run automated builds and

>> tests.  It is taking a long time for each QNX build because the
entire

>> workspace and boot image is being built.

>> 

>> I tried adding the following command line argument to force only an

>> incremental build but this did not work.

>> 

>> C:\QNX650\host\win32\x86\usr\bin>mkbuild -ws

>> C:\KAS-Build\SVN\NightlyBuild\dev -

>> projects IOEngine -variant Release -targets Build

>> 

>> ~Best Regards, Carol

>> 

>> -----Original Message-----

>> From: Elena Laskavaia [mailto:community-noreply@qnx.com]

>> Sent: Monday, March 07, 2011 3:38 PM

>> To: general-ide

>> Subject: Re: How to call an incremental build from the command line?

>> 

>> Define incremental build?

>> It you use make from command line it is kind of incremental. Same
from

>> IDE. You can enable (incremental) build on file save operation from

>> preferences.

>> 

>> On 07/03/2011 6:16 PM, Carol Wesolowski wrote:

>>> Hello,

>>> 

>>> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to

>> perform incremental builds.  Is there a command line option to do

> this?

>>> ~Best Regards, Carol

>>> 

>>> 

>>> 

>>> 

>>> 

>>> _______________________________________________

>>> 

>>> General

>>> http://community.qnx.com/sf/go/post83802

>>> 

>> 

>> 

>> _______________________________________________

>> 

>> General

>> http://community.qnx.com/sf/go/post83803

>> 

>> 

>> 

>> Please be advised that this email may contain confidential

>> information.  If you are not the intended recipient, please notify us

>> by email by replying to the sender and delete this message.  The

>> sender disclaims that the content of this email constitutes an offer

>> to enter into, or the acceptance of, any agreement; provided that the

>> foregoing does not invalidate the binding effect of any digital or

>> other electronic reproduction of a manual signature...
View Full Message
Attachment: Image image003.jpg 13.1 KB Image image004.jpg 12.25 KB
Re: How to call an incremental build from the command line?  
If you using managed build not makefiles not much you can do about it. Google cdt headless build.

On 03/10/2011 03:38 PM, Carol Wesolowski wrote:
> I do not understand what tools you are referring to.
> 
>  
> 
> Maybe I am not making myself clear.
> 
>  
> 
> I have a number of projects (see the following)
> 
>  
> 
>  
> 
>  
> 
> and I want to be able to recompile from the command line only the files
> that have changed.  I can do this in the QNX IDE when I right click on a
> project, if nothing has changed then it reports back that there is
> nothing to build.
> 
>  
> 
>  
> 
> When I run mkbuild from the command line all of the projects are
> rebuilt.  All of my projects are configured for CDT Builder.
> 
>  
> 
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
> Sent: Tuesday, March 08, 2011 6:54 PM
> To: general-ide
> Subject: Re: How to call an incremental build from the command line?
> 
>  
> 
> If tools is broken - it is broken. You can try to use make directly. 
> 
> Check this
> 
> http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/IDEBuildF
> AQ
> 
>  
> 
> On 07/03/2011 7:58 PM, Carol Wesolowski wrote:
> 
>> Yes.
> 
>>
> 
>> -----Original Message-----
> 
>> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> 
>> Sent: Monday, March 07, 2011 4:54 PM
> 
>> To: general-ide
> 
>> Subject: Re: How to call an incremental build from the command line?
> 
>>
> 
>> So you are saying if call this command two times in a row it does a
> full
> 
>>
> 
>> re-build of a project each time?
> 
>>
> 
>> On 07/03/2011 7:08 PM, Carol Wesolowski wrote:
> 
>>> I want to build only what projects have changed not the entire
> 
>> workspace
> 
>>> in QNX.  We are using CruiseControl.net to run automated builds and
> 
>>> tests.  It is taking a long time for each QNX build because the
> entire
> 
>>> workspace and boot image is being built.
> 
>>>
> 
>>> I tried adding the following command line argument to force only an
> 
>>> incremental build but this did not work.
> 
>>>
> 
>>> C:\QNX650\host\win32\x86\usr\bin>mkbuild -ws
> 
>>> C:\KAS-Build\SVN\NightlyBuild\dev -
> 
>>> projects IOEngine -variant Release -targets Build
> 
>>>
> 
>>> ~Best Regards, Carol
> 
>>>
> 
>>> -----Original Message-----
> 
>>> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> 
>>> Sent: Monday, March 07, 2011 3:38 PM
> 
>>> To: general-ide
> 
>>> Subject: Re: How to call an incremental build from the command line?
> 
>>>
> 
>>> Define incremental build?
> 
>>> It you use make from command line it is kind of incremental. Same
> from
> 
>>> IDE. You can enable (incremental) build on file save operation from
> 
>>> preferences.
> 
>>>
> 
>>> On 07/03/2011 6:16 PM, Carol Wesolowski wrote:
> 
>>>> Hello,
> 
>>>>
> 
>>>> I am using QNX 6.5 with bsp QorIQ-p1020-rdb, and I would like to
> 
>>> perform incremental builds.  Is there a command line option to do
> 
>> this?
> 
>>>> ~Best Regards, Carol
> 
>>>>
> 
>>>>
> 
>>>>
> 
>>>>
> 
>>>>
> 
>>>>...
View Full Message
Re: How to call an incremental build from the command line?  
Have you enabled "use parallel build" for the C projects? There's a known (and very annoying) bug that prevents 
incremental build from working reliably of you do.

I reported this to QNX in november and they filed it as PR 81524. The three year old Eclipse CDT bug report is here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=217674

Apparently someone submitted a fix for the bug yesterday! I wonder if we may get a build of the IDE that includes the 
fix relatively soon? The chances will probably increase if you contact support.

For system builder projects I don't think there is such a thing as an incremental build.