RE: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
David O'Brien wrote: I was under the impression that MAKE_JOBS_UNSAFE was the default and one had to explicity put MAKE_JOBS_SAFE=yes in a port. By default, it is neither SAFE or UNSAFE. By default, its always without the -j argument. Sorry to hijack! But how can you set the ports build to use -j2 Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.325 / Virus Database: 270.12.21/2102 - Release Date: 05/07/09 05:57:00 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
On Thu, May 07, 2009 at 03:32:43PM +0200, Johan Hendriks wrote: David O'Brien wrote: I was under the impression that MAKE_JOBS_UNSAFE was the default and one had to explicity put MAKE_JOBS_SAFE=yes in a port. By default, it is neither SAFE or UNSAFE. By default, its always without the -j argument. Sorry to hijack! But how can you set the ports build to use -j2 By default it uses the number of cores in the system. If you want to change that you can use MAKE_JOBS_NUMBER. -- WXS ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
how -jX - [WAS Re: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
Johan Hendriks wrote: Sorry to hijack! But how can you set the ports build to use -j2 FORCE_MAKE_JOBS=yes|no ## defaults off MAKE_JOBS_NUMBER=X ## defaults to number of cores MAKE_JOBS_SAFE=yes ## default no MAKE_JOBS_UNSAFE=yes ## default no See Mk/bsd.port.mk for more information. -- Philip M. Gollucci (pgollu...@ridecharge.com) p: 703.549.2050x206, did: 703.579.6947 Senior System Admin - RideCharge, Inc. http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
David O'Brien wrote: I was under the impression that MAKE_JOBS_UNSAFE was the default and one had to explicity put MAKE_JOBS_SAFE=yes in a port. By default, it is neither SAFE or UNSAFE. By default, its always without the -j argument. -- Philip M. Gollucci (pgollu...@ridecharge.com) p: 703.549.2050x206, did: 703.579.6947 Senior System Admin - RideCharge, Inc. http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
On Mon, May 04, 2009 at 08:06:45PM -0400, Philip M. Gollucci wrote: David O'Brien wrote: On Fri, May 01, 2009 at 05:08:28PM -0400, Philip M. Gollucci wrote: shells/bash is only failing about 2.5/8 textproc/ispell is only about 2/8 Hi Philip, I'm sorry - I really don't know what this means. The recent parrallel make functionality pav@ added to MK/bsd.port.mk. shells/bash is not parallel safe as it is. Setting MAKE_JOBS_UNSAFE=yes notes this and allows you to set FORCE_MAKE_JOBS=yes in /etc/make.conf and not have shells/bash fail. I was under the impression that MAKE_JOBS_UNSAFE was the default and one had to explicity put MAKE_JOBS_SAFE=yes in a port. Pav Lucistnik writes: As you might have noticed on the commit list, I have committed support for internally parallelized builds, ie. setting -jX make argument. It's opt-in, so if you want your port to make use of this feature, you will need to put MAKE_JOBS_SAFE=yes into it's Makefile. I will add MAKE_JOBS_UNSAFE=yes to the port. I was saying that it really is a RACE condition, and not just buggy make vs gmake code i.e. (cd x; do y) .. It only doesn't work 2.5 out of every 8 times. Ah! -- -- David (obr...@freebsd.org) ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
On Fri, May 01, 2009 at 05:08:28PM -0400, Philip M. Gollucci wrote: shells/bash is only failing about 2.5/8 textproc/ispell is only about 2/8 Hi Philip, I'm sorry - I really don't know what this means. -- -- David (obr...@freebsd.org) ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
David O'Brien wrote: On Fri, May 01, 2009 at 05:08:28PM -0400, Philip M. Gollucci wrote: shells/bash is only failing about 2.5/8 textproc/ispell is only about 2/8 Hi Philip, I'm sorry - I really don't know what this means. The recent parrallel make functionality pav@ added to MK/bsd.port.mk. shells/bash is not parallel safe as it is. Setting MAKE_JOBS_UNSAFE=yes notes this and allows you to set FORCE_MAKE_JOBS=yes in /etc/make.conf and not have shells/bash fail. I was saying that it really is a RACE condition, and not just buggy make vs gmake code i.e. (cd x; do y) .. It only doesn't work 2.5 out of every 8 times. Pav's initial posts were on developers@ or ports@ -- Philip M. Gollucci (pgollu...@ridecharge.com) p: 703.549.2050x206, did: 703.579.6947 Senior System Admin - RideCharge, Inc. http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
MAKE_JOBS_UNSAFE+= shells/bash, textproc/ispell
shells/bash is only failing about 2.5/8 textproc/ispell is only about 2/8 http://tb.riderway.com/index.php?action=describe_portid=1856 http://tb.riderway.com/index.php?action=describe_portid=1612 -- Philip M. Gollucci (pgollu...@ridecharge.com) p: 703.549.2050x206, did: 703.579.6947 Senior System Admin - RideCharge, Inc. http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org