Re: Request for advice on ceph compile time.

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

 



On 16-1-2017 20:51, Igor Fedotov wrote:
> My best choices are:
> 
> 1) Use  -j switch for make
> 
> 2) Make specific target(s) only, e.g. some UT for the code I'm working
> on and proceed with the full build when most of the patch is ready.

Right,

My most favourite command by now is:
	( cd build; gmake -j8 VERBOSE=1 )
or dedicated makes:
	( cd build ; gmake -j8 bin/ceph-osd )
Running with  8 cores.
ccache with about 5Gb of cache on a fast disk (ssd)

Only trash the whole build if you have very large and invasive changes,
by doing rm -rf build...

When running tests, these are the favourites:
	(cd build; ctest -j8 --output-on-failure )
	(cd build; ctest -j8  --rerun-failed --output-on-failure )
	(cd build; ctest -V -R <regex matching tests> )

or testing for faults cases:
	(cd build; ctest -j8  --repeat-until-fail <n> )

--WjW




--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux