Commit Graph

16 Commits

Author SHA1 Message Date
Nikolay Amiantov
044a49febf cudatoolkit: remove OpenCL library
libOpenCL is provided by ocl-icd with implementation in NVIDIA driver instead.
2017-02-28 17:22:06 +03:00
Eelco Dolstra
c2d4b14637 cudatoolkit: Multiple output improvements
* Add a "lib" output containing (for the moment) only libOpenCL. This
  reduces the closure size of opensubdiv and blender by about 2 GiB.

* Add a "doc" output (about ~200 MiB).

* Remove the "sdk" output since it was worse than useless: all of the
  "sdk" output was also included in "out", so it actually increased
  disk space usage.

* Run patchelf on ELF binaries only.
2017-02-28 11:21:33 +01:00
Eelco Dolstra
b5c619cbfe cudatoolkit: 8.0.44 -> 8.0.61 2017-02-28 11:21:33 +01:00
Frederik Rietdijk
ccf4d5e3d5 cudatoolkit5: remove this ancient version 2017-02-13 14:42:24 +01:00
Eelco Dolstra
5ecb427368 cudatoolkit: Add 8.0.44 2016-11-01 22:52:26 +01:00
Eelco Dolstra
5ade8fff79 cudatoolkit: Fix building dependent packages
- Set a cmake flag to allow cmake to find CUDA automatically.

- Pass -D_FORCE_INLINES to work around

    /nix/store/8sl4jfs3nq0pkq4gg655s3axrxdx7z29-glibc-2.24-dev/include/string.h: In function 'void* __mempcpy_inline(void*, const void*, size_t)':
    /nix/store/8sl4jfs3nq0pkq4gg655s3axrxdx7z29-glibc-2.24-dev/include/string.h:650:42: error: 'memcpy' was not declared in this scope

  https://github.com/BVLC/caffe/issues/4046

This fixes OpenSubdiv and Blender.
2016-09-17 00:40:41 +02:00
Nikolay Amiantov
87ebab128a replace ${stdenv.cc.cc}/lib occurences 2016-05-01 00:13:23 +03:00
Eelco Dolstra
bd4720a7d6 cudatoolkit: Don't barf on GCC > 4.9
Blender appears to build/run fine with GCC 5.3.
2016-04-08 22:23:14 +02:00
Eelco Dolstra
6d97de951d cudatoolkit: Add version 7.5.18 2016-03-02 21:35:46 +01:00
Eelco Dolstra
6c1e3a82de cudatoolkit: Merge into one file and use callPackages 2016-03-02 21:35:46 +01:00
Daniel Zinn
ca0de0f1f7 Added cuda6 compiler as package cudatoolkit6. 2014-06-19 04:24:21 -07:00
Vladimír Čunát
34091bf265 cudatoolkit: fix multiple outputs (close #2466) 2014-06-11 21:32:13 +02:00
David Guibert
42911b1903 cuda: install the SDK using multiple-outputs support 2014-01-29 15:48:55 +01:00
Bjørn Forsman
a74ab8c0a1 cudatoolkit: fix missing dependencies
Some of the java tools failed to run (notably nsight) because of missing
libraries. This fixes it.
2013-08-27 14:11:23 +02:00
Justin Bedo
6c2985e8d7 Update CUDA Toolkit to 5.5 2013-08-27 13:44:56 +02:00
Andres Löh
7aa85ac536 Adding NVIDIA CUDA toolkit and haskell-accelerate-cuda plus deps.
svn path=/nixpkgs/trunk/; revision=34186
2012-05-20 17:38:03 +00:00