Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Parallel builds, build locks, pkg_dbdir locked

 
   FreeBSD Hosting (Home) -> FreeBSD Ports RSS
Next:  xfce4-cpugraph-plugin  
Author Message
David Forsythe

External


Since: Apr 03, 2009
Posts: 1



(Msg. 1) Posted: Thu Apr 02, 2009 6:25 pm
Post subject: Parallel builds, build locks, pkg_dbdir locked
Archived from groups: mailing>freebsd>ports (more info?)

Hey all,

A week or two ago I sent mail with a patch/makefile for locks and parallel
builds. I was asked to put it all into bsd.port.mk, so here it is.

If you set either of the parallel flags, I strongly suggest you use BATCH.
If a config screen pops up during a build where 4 dependencies are running
at a time, you will not be too happy. You can set NO_LOCKS to ignore all
the locks that have been added, but parallel dependencies and fetching won't
work without them (I don't know why you wouldn't want them anyway...). You
can also set BUILD_TRACKER to get some tagged output to see which ports are
building when, but this breaks certain messages.

I also plan on adding a list of relevant targets so that when running
targets what don't need the initial lock, there aren't duplicate warnings.

patch: http://dmz2.khome.utcorp.net/~dforsyth/port.mk-locks.diff

makefile: http://dmz2.khome.utcorp.net/~dforsyth/bsd.port.mk

Thanks,

Dave

--
David Forsythe
_______________________________________________
freebsd-ports.RemoveThis@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

 >> Stay informed about: Parallel builds, build locks, pkg_dbdir locked 
Back to top
Login to vote
Display posts from previous:   
   FreeBSD Hosting (Home) -> FreeBSD Ports All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]