Re: Repetitive builds for Ceph

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

 



On 02/03/2015 03:50 AM, Mark Kirkwood wrote:
Same here - in the advent you need to rebuild the whole thing, using parallel make speeds it it heaps (and seems to build it correctly), i.e:

$ make -j4

Cheers

Mark

That it already is doing.

If you look at debian/rules, you'll see the BUILD FLAGS that care of parallel building.

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
  NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
  MAKEFLAGS += -j$(NUMJOBS)
endif



Loic:

In the install target in debian/rules, you are using the following:

        sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`

Since this and many more such changes (like dh_strip) will modify the library, ideally GNU Make should detect the changes and re-link them ? Right ?

I see in the recurring build, the failure shows up during the linkage.

Do you have any advise ? Have you been able to do recurring deb builds without cleaning the build dir ?

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux