Re: [gentoo-dev] New eclass cuda.eclass

2012-11-28 Thread justin
Please review my inclusion of your suggestions. Additionally I move to src_prepare to be more binpackage compatible as things are only of interest at compile time. commit 366a690925f5cc5e4bdd2ea984d9ccca65d8f996 Author: Justin Lecher Date: Wed Nov 28 11:54:16 2012 +0100 Be bin package fri

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-27 Thread justin
On 28/11/12 00:11, Mike Frysinger wrote: > On Sunday 25 November 2012 11:47:42 Justin wrote: >> # Copyright 1999-20012 Gentoo Foundation > > it is not yet 20012 > > also, this file too has whitespace damage (indenting with spaces) > >> [[ "${CUDA_VERBOSE}" == true ]] && NVCCFLAGS+=" -v" > > wou

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-27 Thread Mike Frysinger
On Sunday 25 November 2012 11:47:42 Justin wrote: > # Copyright 1999-20012 Gentoo Foundation it is not yet 20012 also, this file too has whitespace damage (indenting with spaces) > [[ "${CUDA_VERBOSE}" == true ]] && NVCCFLAGS+=" -v" wouldn't this be better done in cuda_sanitize ? > local _

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-25 Thread justin
On 26/11/12 01:26, "C. Bergström" wrote: > On 11/26/12 12:59 AM, Rick "Zero_Chaos" Farina wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 11/25/2012 11:47 AM, Justin wrote: >>> Hi, >>> >>> I would like to introduce a new eclass for packages using the nvidia >>> cuda compiler sui

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-25 Thread C. Bergström
On 11/26/12 12:59 AM, Rick "Zero_Chaos" Farina wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/25/2012 11:47 AM, Justin wrote: Hi, I would like to introduce a new eclass for packages using the nvidia cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS. May be ext

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-25 Thread Rick "Zero_Chaos" Farina
On 11/25/2012 02:14 PM, Justin wrote: > On 25.11.2012 18:59, Rick "Zero_Chaos" Farina wrote: >> On 11/25/2012 11:47 AM, Justin wrote: >>> Hi, >> >>> I would like to introduce a new eclass for packages using the nvidia >>> cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS. >>>

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-25 Thread Justin
On 25.11.2012 18:59, Rick "Zero_Chaos" Farina wrote: > On 11/25/2012 11:47 AM, Justin wrote: >> Hi, > >> I would like to introduce a new eclass for packages using the nvidia >> cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS. >> May be extended in the future. > >> Two prob

Re: [gentoo-dev] New eclass cuda.eclass

2012-11-25 Thread Rick "Zero_Chaos" Farina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/25/2012 11:47 AM, Justin wrote: > Hi, > > I would like to introduce a new eclass for packages using the nvidia > cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS. > May be extended in the future. > > Two problems come up

[gentoo-dev] New eclass cuda.eclass

2012-11-25 Thread Justin
Hi, I would like to introduce a new eclass for packages using the nvidia cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS. May be extended in the future. Two problems come up with using nvcc: * Each version only supports a limited number of gcc versions. Therefore we need