1 |
On 26/11/12 01:26, "C. Bergström" wrote: |
2 |
> On 11/26/12 12:59 AM, Rick "Zero_Chaos" Farina wrote: |
3 |
>> -----BEGIN PGP SIGNED MESSAGE----- |
4 |
>> Hash: SHA1 |
5 |
>> |
6 |
>> On 11/25/2012 11:47 AM, Justin wrote: |
7 |
>>> Hi, |
8 |
>>> |
9 |
>>> I would like to introduce a new eclass for packages using the nvidia |
10 |
>>> cuda compiler suite. Currently the eclass simply sanitize the NVCCFLAGS. |
11 |
>>> May be extended in the future. |
12 |
>>> |
13 |
>>> Two problems come up with using nvcc: |
14 |
>>> |
15 |
>>> * Each version only supports a limited number of gcc versions. Therefore |
16 |
>>> we need to pass the path to a supported gcc bindir |
17 |
>>> |
18 |
>>> * nvcc calls CXX but doesn't pass CXXFLAGS on. |
19 |
> I don't know if this is helpful feedback, but it would be great if our |
20 |
> "CUDA" compiler was also detected in your eclass. |
21 |
> |
22 |
> Notable differences : Probably a lot faster compilation times (needs |
23 |
> benchmarking), no external userland dependencies (gcc or nvidia), we |
24 |
> don't support nvcc flags and we have a driver just for the CUDA language |
25 |
> |
26 |
> Example: |
27 |
> pathcu deadbeef.cu |
28 |
> ./a.out |
29 |
> |
30 |
> (Unfortunately our recent nightly builds started to do a license check, |
31 |
> but any interested open source dev just ping me to get setup) |
32 |
> |
33 |
> To validate simple things you could use an older nightly |
34 |
> http://c591116.r16.cf2.rackcdn.com/enzo/nightly/Linux/enzo-2012-11-18-installer.run |
35 |
> |
36 |
> chmod +x enzo-2012-11-18-installer.run ; ./enzo-2012-11-18-installer.run |
37 |
> --mode unattended # --prefix /opt/foobar |
38 |
> |
39 |
> ./C |
40 |
> |
41 |
> |
42 |
|
43 |
Hi, |
44 |
|
45 |
its definitely a nice thing to have more choices. |
46 |
Could you file bug for that please, so that we can support it in future |
47 |
versions? |
48 |
|
49 |
Thanks justin |