Re: build and Compile ceph in development mode takes an hour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/18/2016 12:42 AM, Brad Hubbard wrote:

> On Thu, Aug 18, 2016 at 1:12 AM, agung Laksono
> <agung.smarts@xxxxxxxxx> wrote:
>> 
>> Is there a way to make the compiling process be faster? something
>> like only compile a particular code that I change.
> 
> Sure, just use the same build directory and run "make" again after
> you make code changes and it should only re-compile the binaries that
> are effected by your code changes.
> 
> You can use "make -jX" if you aren't already where 'X' is usually 
> number of CPUs / 2 which may speed up the build.

In addition to that, ccache might come in handy, too:
https://ccache.samba.org/

Lenz

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux