blender: Fix CUDA support
CUDA toolkit 8 doesn't support gcc 6, so we have to build opensubdiv and blender with gcc 5.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu
|
||||
{ lib, stdenv, stdenv_gcc5, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu
|
||||
, mesa_noglu, glew, ocl-icd, python3
|
||||
, cudaSupport ? false, cudatoolkit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
(if cudaSupport then stdenv_gcc5 else stdenv).mkDerivation rec {
|
||||
name = "opensubdiv-${version}";
|
||||
version = "3.2.0";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user