nixpkgs/pkgs/development/compilers/cudatoolkit
William Casarin d1590482cf cudatoolkit: generalize derivations, add cuda7
There is not much different between the cudatoolkit
expressions:

  pkgs/development/compilers/cudatoolkit/5.5.nix
  pkgs/development/compilers/cudatoolkit/6.0.nix
  pkgs/development/compilers/cudatoolkit/6.5.nix

This commit removes those and replaces them with

  pkgs/development/compilers/cudatoolkit/generic.nix

and adds cudatoolkit version 7
2015-07-04 17:05:50 -07:00
..
5.5.nix cudatoolkit: generalize derivations, add cuda7 2015-07-04 17:05:50 -07:00
6.0.nix cudatoolkit: generalize derivations, add cuda7 2015-07-04 17:05:50 -07:00
6.5.nix cudatoolkit: generalize derivations, add cuda7 2015-07-04 17:05:50 -07:00
7.0.nix cudatoolkit: generalize derivations, add cuda7 2015-07-04 17:05:50 -07:00
generic.nix cudatoolkit: generalize derivations, add cuda7 2015-07-04 17:05:50 -07:00
setup-hook.sh If cuda headers are presented to nix in $out/include they are added to future gcc calls via a -isystem flag. However, cuda does not allow kernel calls from template function if these are located in system-headers. We thus move headers from $out/include to $out/usr_include and add a custom hook to add these headers via -I. 2014-06-23 06:11:34 -07:00