Hi,
Thanks for your reply!
I've learned so much, thanks you!
I will try to modify the local spec file to incremental build.
BR,
kongling
> From: [email protected]
> To: [email protected]; [email protected]
> CC: [email protected]
> Subject: RE: Question about Incremental build
> Date: Wed, 10 Sep 2014 02:22:37 +0000
>
> Hi both,
>
> Tomasz's really got a point.
> When patches exist in spec files, gbs will not apply them automatically,
> developer should apply them to main git tree before using gbs incremental
> build.
>
> Plus, to successfully enable incremental build,
> %prep section should also be as simple as possible (just contains unpack
> tarball),
> otherwise, `gbs build --incremental` may fail.
>
> Rui
>
> -----Original Message-----
> From: IVI [mailto:[email protected]] On Behalf Of Tomasz Olszak
> Sent: Tuesday, September 09, 2014 5:13 PM
> To: kongling
> Cc: [email protected]
> Subject: Re: Question about Incremental build
>
> 2014-09-09 8:19 GMT+02:00 kongling <[email protected]>:
> > Hi,
> >
> > I learned "Incremental build" from url:
> > https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build
> > This document figures out Incremental build does not support
> > patches in the spec file. Is there anyway to build projects which have
> > patches in spec file incrementally? It spend long time when build a large
> > project.
>
> Incremental build mounts your source directory into gbs sysroot
> (/home/abuild/...). So if you apply patches directly to your sources they
> will be available to gbs while using --incremental. Until you not commit
> those patches to local git repository they won't be used without
> --incremental and --include-all flags. Without those flags gbs creates
> sources tarball from git file tree.
>
> Cheers,
> Tomasz
> _______________________________________________
> IVI mailing list
> [email protected]
> https://lists.tizen.org/listinfo/ivi
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi