Gentoo Archives: gentoo-dev

From: "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass cuda.eclass
Date: Sun, 25 Nov 2012 17:59:36
Message-Id: 50B25C83.8060501@gentoo.org
In Reply to: [gentoo-dev] New eclass cuda.eclass by Justin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 11/25/2012 11:47 AM, Justin wrote:
5 > Hi,
6 >
7 > I would like to introduce a new eclass for packages using the nvidia
8 > cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS.
9 > May be extended in the future.
10 >
11 > Two problems come up with using nvcc:
12 >
13 > * Each version only supports a limited number of gcc versions. Therefore
14 > we need to pass the path to a supported gcc bindir
15 >
16 > * nvcc calls CXX but doesn't pass CXXFLAGS on.
17 >
18 This whole idea seems great but I see two issues. Issue 1.) I'm stupid
19 and don't really understand all the intricacy of the toolchain stuff and
20 2.) you didn't include an example ebuild.
21
22 Fortunately issue 1 can (at least functionally) be solved by providing a
23 solution for issue 2. If you need an ebuild to cuda.eclassify then I am
24 happy to provide (or feel free to use a before and after of anything you
25 have available).
26
27 https://code.google.com/p/pentoo/source/browse/portage/trunk/app-crypt/cryptohaze-combined/cryptohaze-combined-9999.ebuild
28
29 Thanks!
30 Zero
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v2.0.19 (GNU/Linux)
33 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
34
35 iQIcBAEBAgAGBQJQslyDAAoJEKXdFCfdEflKiKIQAJUGuKxqRY/ruCcSC98PWkOq
36 NsZr/C5YbZRfJlFlcb5LnA2qJJAxO04bun0zi6hbZWsMGLBI54qha/XGL9M0J+rm
37 qIubv8xFRVXfmSRdQMYSAYnA5xrLJVAu/H7jpq8stOFdP7COuXKjwknOhccap6yF
38 g8tMm5vClH7y+hLIMYn8xQ2ZIDO5cGTdFFNLIDOHk/el/ija+I+dR7BkMVeZ0tQc
39 CgbiUyBdgz1Ijc2yr6x5vc+8QGWvmGZMNslgnrlMpICyUY25xPAdrySNcVHHIAoA
40 4zBqmO4VIaWuzKOcUZEkSdtJHtyQPbmTVMwVfuf8gRm2wec1rsfkWqCORQ2SYVEk
41 aDcyZQFzb0D+vBc9Ic62+ejGe12GU++KZ3ivairT82Vls46Awkajepj0bILnC3jO
42 6shNvYLJTI38UEKMFWrTNMkeQgkOUZwftHylHF6AAtUTi4htMXdar9J9PV/uPQDJ
43 Z4VpElKO9OB87N7eFHDeB3A3q8G++N1WHOC14/z2pTKUEyr9NoivBYOMo5RxBLtD
44 mT8CbUe8NkVzcWJRoKu2EKg2i8fD7lpjZtw2/s8ADxtnyGZ4jZq73aOeY6hWgq4y
45 CFigbKYQtorV30GeTks9Vgs9tbbxVjXupaQ/TgaWEOUYA7I5IfQIyfqBzfFwHMPm
46 Uw6Kkmp5ihx0fH9gR8BH
47 =/idk
48 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] New eclass cuda.eclass Justin <jlec@g.o>
Re: [gentoo-dev] New eclass cuda.eclass "C. Bergström" <cbergstrom@×××××××××.com>