From 178f8400ee37e11ec5de4a64adfeaaae19cbffe6 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 1 Oct 2014 11:59:43 +0600 Subject: Libmv: Add an option to disable schur specializations build-time This way folks with few ram or those who wants to hack into Ceres code might compile Blender much faster. --- build_files/scons/tools/btools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build_files/scons/tools') diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py index 5a09e07b3b3..ac3ba9b4f09 100644 --- a/build_files/scons/tools/btools.py +++ b/build_files/scons/tools/btools.py @@ -176,7 +176,7 @@ def validate_arguments(args, bc): 'WITH_BF_OIIO', 'WITH_BF_STATICOIIO', 'BF_OIIO', 'BF_OIIO_INC', 'BF_OIIO_LIB', 'BF_OIIO_LIB_STATIC', 'BF_OIIO_LIBPATH', 'WITH_BF_OCIO', 'WITH_BF_STATICOCIO', 'BF_OCIO', 'BF_OCIO_INC', 'BF_OCIO_LIB', 'BF_OCIO_LIB_STATIC', 'BF_OCIO_LIBPATH', 'WITH_BF_BOOST', 'WITH_BF_STATICBOOST', 'BF_BOOST', 'BF_BOOST_INC', 'BF_BOOST_LIB', 'BF_BOOST_LIB_INTERNATIONAL', 'BF_BOOST_LIB_STATIC', 'BF_BOOST_LIBPATH', - 'WITH_BF_LIBMV', + 'WITH_BF_LIBMV', 'WITH_BF_LIBMV_SCHUR_SPECIALIZATIONS', 'WITH_BF_CYCLES_OSL', 'WITH_BF_STATICOSL', 'BF_OSL', 'BF_OSL_INC', 'BF_OSL_LIB', 'BF_OSL_LIBPATH', 'BF_OSL_LIB_STATIC', 'BF_OSL_COMPILER', 'WITH_BF_LLVM', 'WITH_BF_STATICLLVM', 'BF_LLVM', 'BF_LLVM_LIB', 'BF_LLVM_LIBPATH', 'BF_LLVM_LIB_STATIC', 'BF_PROGRAM_LINKFLAGS' ] @@ -556,6 +556,7 @@ def read_opts(env, cfg, args): (BoolVariable('WITH_BF_LZMA', 'Enable best LZMA pointcache compression', True)), (BoolVariable('WITH_BF_LIBMV', 'Enable libmv structure from motion library', True)), + (BoolVariable('WITH_LIBMV_SCHUR_SPECIALIZATIONS', 'Enable fixed-size schur specializations', True)), (BoolVariable('WITH_BF_COMPOSITOR', 'Enable the tile based nodal compositor', True)), ) # end of opts.AddOptions() -- cgit v1.2.3