3
0
Fork 0
forked from mirrors/nixpkgs

opensubdiv: 3.2.0 -> 3.3.0

Fix build with new CUDA toolkit.
This commit is contained in:
Nikolay Amiantov 2017-10-16 03:46:30 +03:00
parent 771e403786
commit b317d7cfd4

View file

@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
name = "opensubdiv-${version}";
version = "3.2.0";
version = "3.3.0";
src = fetchFromGitHub {
owner = "PixarAnimationStudios";
repo = "OpenSubdiv";
rev = "v${lib.replaceChars ["."] ["_"] version}";
sha256 = "0wk12n1s8za3sz8d6bmfm3rfjyx20j48gy1xp57dvbnjvlvzqy3w";
sha256 = "0wpjwfik4q9s4r30hndhzmfyzv968mmg5lgng0123l07mn47d2yl";
};
outputs = [ "out" "dev" ];
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
"-DNO_EXAMPLES=1"
"-DGLEW_INCLUDE_DIR=${glew.dev}/include"
"-DGLEW_LIBRARY=${glew.dev}/lib"
];
] ++ lib.optional cudaSupport "-DOSD_CUDA_NVCC_FLAGS=--gpu-architecture=compute_30";
enableParallelBuilding = true;