install_deps: OSD building: disable CUDA/OpenCL backends.

Those are can of worms to support properly (versions mismatch, etc.),
and not used in Blender currently anyway.
This commit is contained in:
Bastien Montagne 2016-02-17 14:14:41 +01:00
parent 3857b4600f
commit b04746a83d

@ -1808,7 +1808,7 @@ clean_OSD() {
compile_OSD() { compile_OSD() {
# To be changed each time we make edits that would modify the compiled result! # To be changed each time we make edits that would modify the compiled result!
osd_magic=0 osd_magic=1
_init_osd _init_osd
# Clean install if needed! # Clean install if needed!
@ -1857,7 +1857,7 @@ compile_OSD() {
cmake_d="$cmake_d -D CMAKE_INSTALL_PREFIX=$_inst" cmake_d="$cmake_d -D CMAKE_INSTALL_PREFIX=$_inst"
# ptex is only needed when nicholas bishop is ready # ptex is only needed when nicholas bishop is ready
cmake_d="$cmake_d -D NO_PTEX=1" cmake_d="$cmake_d -D NO_PTEX=1"
cmake_d="$cmake_d -D NO_CLEW=1" cmake_d="$cmake_d -D NO_CLEW=1 -D NO_CUDA=1 -D NO_OPENCL=1"
# maya plugin, docs, tutorials, regression tests and examples are not needed # maya plugin, docs, tutorials, regression tests and examples are not needed
cmake_d="$cmake_d -D NO_MAYA=1 -D NO_DOC=1 -D NO_TUTORIALS=1 -D NO_REGRESSION=1 -DNO_EXAMPLES=1" cmake_d="$cmake_d -D NO_MAYA=1 -D NO_DOC=1 -D NO_TUTORIALS=1 -D NO_REGRESSION=1 -DNO_EXAMPLES=1"