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 extended in the future.

Two problems come up with using nvcc:

* Each version only supports a limited number of gcc versions. Therefore
we need to pass the path to a supported gcc bindir

* nvcc calls CXX but doesn't pass CXXFLAGS on.
I don't know if this is helpful feedback, but it would be great if our "CUDA" compiler was also detected in your eclass.

Notable differences : Probably a lot faster compilation times (needs benchmarking), no external userland dependencies (gcc or nvidia), we don't support nvcc flags and we have a driver just for the CUDA language

Example:
pathcu deadbeef.cu
./a.out

(Unfortunately our recent nightly builds started to do a license check, but any interested open source dev just ping me to get setup)

To validate simple things you could use an older nightly
http://c591116.r16.cf2.rackcdn.com/enzo/nightly/Linux/enzo-2012-11-18-installer.run

chmod +x enzo-2012-11-18-installer.run ; ./enzo-2012-11-18-installer.run --mode unattended # --prefix /opt/foobar

./C


Reply via email to