blender: merged option optixSupport with cudaSupport
This commit is contained in:
parent
8b41a83a35
commit
49ce410158
1 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
||||||
, zlib, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
|
, zlib, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
|
||||||
, jackaudioSupport ? false, libjack2
|
, jackaudioSupport ? false, libjack2
|
||||||
, cudaSupport ? config.cudaSupport or false, cudatoolkit
|
, cudaSupport ? config.cudaSupport or false, cudatoolkit
|
||||||
, optixSupport ? config.optixSupport or false
|
|
||||||
, colladaSupport ? true, opencollada
|
, colladaSupport ? true, opencollada
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pugixml, llvmPackages, SDL, Cocoa, CoreGraphics, ForceFeedback, OpenAL, OpenGL
|
, pugixml, llvmPackages, SDL, Cocoa, CoreGraphics, ForceFeedback, OpenAL, OpenGL
|
||||||
|
@ -116,8 +115,8 @@ in stdenv.mkDerivation rec {
|
||||||
# Clang doesn't support "-export-dynamic"
|
# Clang doesn't support "-export-dynamic"
|
||||||
++ optional stdenv.cc.isClang "-DPYTHON_LINKFLAGS="
|
++ optional stdenv.cc.isClang "-DPYTHON_LINKFLAGS="
|
||||||
++ optional jackaudioSupport "-DWITH_JACK=ON"
|
++ optional jackaudioSupport "-DWITH_JACK=ON"
|
||||||
++ optional cudaSupport "-DWITH_CYCLES_CUDA_BINARIES=ON"
|
++ optional cudaSupport [
|
||||||
++ optional optixSupport [
|
"-DWITH_CYCLES_CUDA_BINARIES=ON"
|
||||||
"-DWITH_CYCLES_DEVICE_OPTIX=ON"
|
"-DWITH_CYCLES_DEVICE_OPTIX=ON"
|
||||||
"-DOPTIX_ROOT_DIR=${optix}"
|
"-DOPTIX_ROOT_DIR=${optix}"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue