From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wcbzo-0001EH-AX for ptxdist@pengutronix.de; Tue, 22 Apr 2014 16:48:28 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Wcbzp-0007hK-Ch for ptxdist@pengutronix.de; Tue, 22 Apr 2014 16:48:29 +0200 Date: Tue, 22 Apr 2014 16:48:29 +0200 From: Michael Olbrich Message-ID: <20140422144829.GA29514@pengutronix.de> References: <1CFDA15477ACF741AAF78FA447550B7A028DF331@swexchange01.itk.local> <20140422110009.GA87404@euler.fritz.box> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140422110009.GA87404@euler.fritz.box> Subject: Re: [ptxdist] how to configure perl scripting to compile with thread support? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Apr 22, 2014 at 01:00:09PM +0200, Bernhard Walle wrote: > * Martin Hollingsworth [2014-04-22 10:49]: > > > > This is where I stumble in adding the correct calling parameter into the rules file. > > The parameter I am looking for is described in the PERL documentation: > > http://search.cpan.org/~shay/perl/INSTALL#Threads > > Just copy /usr/local/lib/ptxdist-/rules/perl.make to your BSP > (create the rules directory if it doesn't exist yet) and make following > modification: > > Add '-Dusethreads' to PERL_CONF_OPT. > > I'll send a patch to make this configurable. I don't use much perl, so I don't know what's common here but I think we should enable it, without an option. Or are there any good reason why s.o. might want to switch threading off? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de