Skip to content

Commit

Permalink
cudatoolkit: install missing libraries for nvprof (10.1 and 10.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomberek authored and danieldk committed Sep 12, 2020
1 parent 58b66c0 commit d2a6b1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/compilers/cudatoolkit/common.nix
Expand Up @@ -154,8 +154,9 @@ stdenv.mkDerivation rec {
# Remove OpenCL libraries as they are provided by ocl-icd and driver.
rm -f $out/lib64/libOpenCL*
${lib.optionalString (lib.versionAtLeast version "10.1") ''
${lib.optionalString (lib.versionAtLeast version "10.1" && (lib.versionOlder version "11")) ''
mv $out/lib64 $out/lib
mv $out/extras/CUPTI/lib64/libcupti* $out/lib
''}
# Set compiler for NVCC.
Expand Down

0 comments on commit d2a6b1d

Please sign in to comment.