Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-17Revert "Make 'incompatible pointer type' gcc warning an error by default."Campbell Barton
This reverts commit b5bd39b5182590fd4d5ddb24d7b7bdbe714d57bf. This is problematic because it means minor differences in system headers can cause errors (glew in this case errored for me both with system and Blender's bundled version). Developers can enable -Werror=* locally for warnings that aren't reliable across different systems.
2016-01-17Make 'incompatible pointer type' gcc warning an error by default.Bastien Montagne
This is the second time at least that kind of stuff slips in during one of my refactor, a mere warning here is really not enough (too easy to miss it)!
2016-01-16Cleanup: stdbool no longer optional, remove checksCampbell Barton
2016-01-14CMake: De-duplicate checks around unordered maps and shared pointerSergey Sharybin
Previously several areas were calling TEST_SHARED_PTR_SUPPORT and TEST_UNORDERED_MAP_SUPPORT which isn't that bad on it's own but was causing some quite verbose output with same information line printed multiple times. additionally, what's more worse, define flags for Ceres were duplicated in main CMakeLists and Ceres's CMakeLists. Now we've got a single place where checks for those classes are happening and other areas are simply checking for variables set by those check macros, keeping CMake output clean and nice.
2016-01-14Cycles: Add option to directly link against CUDA librariesSergey Sharybin
The main purpose of such linking is to make Blender compatible with NVidia's debuggers and profilers which are doing some LD_PRELOAD magic to intercept some function calls. Such magic conflicts with our CUDA wrangler magic and causes segmentation faults. The option is disabled by default, so there's no affect on any of artists. In order to make Blender linked directly against CUDA library use the WITH_CUDA_DYNLOAD CMake option (it's marked as advanced).
2016-01-05CMake: Fix typo in commentSergey Sharybin
2016-01-05CMake: remove mingw64_gcc49Campbell Barton
Not supported or in working state.
2016-01-04Move Ceres to extern/Sergey Sharybin
Even tho it's currently only used by Libmv we might use it for something else in the future. Plus, it's actually where it logically belongs to.
2016-01-04Move GLog/GFlags to extern/Sergey Sharybin
This is where the libraries belongs to actually, they are not only used by Libmv now, but also by tests and Cycles.
2015-12-29Make cycles compile with MSVC 2015Martijn Berger
2015-12-27CMake: make install prefix option irrelevant for MinGW too.Antony Riakiotakis
2015-12-26CMake: Fix errors building by MinGWSergey Sharybin
Some libraries are nto updated for MinGW hence build system needs some exceptions for this compiler.
2015-12-21CMake: disable warning 4146Campbell Barton
This is warning on noisy (false positives).
2015-12-10Begin to add some MSVC 2015 supportMartijn Berger
2015-12-10Eigen: fold remaining OpenNL code into intern/eigen.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1662
2015-12-03CMake: Use implicit compiler library paths to find OpenMP librarySergey Sharybin
Was lost since the original patch sent to Cambo, didn't notice the failure before because had it applied locally. Without this flag certain configuration wouldn't fins libgomp.
2015-12-02Buildbot: Initial work to move linux build environment to CMakeSergey Sharybin
This is so called "seems to work in dry tests" commit which is aimed to switch linux release environment to CMake. Some notes: - There's no special handle of libstdc++, but it wasn't really static for quite some time in SCons configuration and nobody really complained. - It was quite tricky to get OpenMP linked statically with just using some configuration so we went ahead and added a special option to CMake now which is only exist on Linux and advertised as shouldn't be used. - Packing is happening manually in slave_pack.py. This is because we have to add some really special files to the archive (mesa libraries for example) which we can't really handle from CMake/CPack in a nice generic way. Don't think it's bad approach, at least crappynness is localized and it's not _that_ crappy anyway. - Windows buildbot should keep working, but needs doublechecing. It's just a build folder changed, but you never know what it might imply. - Some further tweaks are likely needed to ensure all builders are working. Thanks Campbell for assistance in this patch!
2015-11-27missed last commitCampbell Barton
2015-11-27CMake/SCons: set Python to 3.5Campbell Barton
2015-11-25OSX bump python to 3.5Martijn Berger
2015-11-23CMake: enable -std=gnu99 for clang and icc.Brecht Van Lommel
2015-11-23CMake: use -Wshadow warning for C sourceCampbell Barton
C source now builds without shadowing, enable with GCC by default.
2015-11-23CMake: check GNU compiler before using extensionCampbell Barton
Minor edit, don't assume non-msvc compilers are gcc/gnu compatible.
2015-11-23C99 is now the C standard for all our C code.Brecht Van Lommel
The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631
2015-11-15windows / msvc bump to python 3.5Martijn Berger
2015-11-11CMake: don't overwrite C/C++ flags for MSVCCampbell Barton
Wasn't possible to define custom build flags. This does change some of the build flags, as far as we can tell they aren't important (see D1615).
2015-11-09CMake: remove setting of policy CMP0043 to OLD.Stephen Kelly
CMake 3.0 ignores the suffixed COMPILE_DEFINITIONS_<CONFIG> variants if policy CMP0043 is NEW, preferring instead to consume the unsuffixed COMPILE_DEFINITONS property and evaluate generator expressions in it. Setting the policy to OLD causes CMake 3.0 to not ignore those properties. Use the suffixed properties for compatibility only for CMake versions older than 3.0 using an explicit version check. Use the non-suffixed property with generator expressions otherwise. These definitions should mostly not be needed at all - CMake already sets NDEBUG in suffixed CMAKE_CXX_FLAGS_<CONFIG> variables. The _DEBUG macro is non-standard, but is used in several places in blender (usually in an OR combination with the DEBUG macro). Additionally, blender overwrites (instead of appending to) the CMAKE_CXX_FLAGS_<CONFIG> variables on WIN32. Rather than try to fundamentally change how debug-macros are handled in blender, change the buildsystem to keep the same behavior without requiring the CMP0043 policy set to OLD.
2015-11-09Revert "Increase CMake minimum version to 3.0"Campbell Barton
This reverts commit ff3cf93405e63fa367f64412bcfe96b382b24b38. Turns out distros only a year old still use CMake 2.8x
2015-11-09Increase CMake minimum version to 3.0Campbell Barton
This allows us to use newer features of CMake, and less hassles having to test & support older versions.
2015-10-10CMake: minor message cleanups.Brecht Van Lommel
2015-10-04CMake: detect OS X 10.11 / Xcode 7.Brecht Van Lommel
2015-09-17CMake: Attempt to fix compilation error on Windows after recent changesSergey Sharybin
2015-09-16CMake: Don't modify global CFlags when enabling/disabling OpenJpegSergey Sharybin
2015-08-06Fix typo in cmake when OpenSubdiv is not foundThomas Beck
2015-08-05OpenSubdiv: Enable by default on the supported platformsSergey Sharybin
This commit makes sure Linux and Windows buildbots are using OpenSubdiv and also enables OpenSubdiv by default on Windows. OSX is kept disabled still, this is due to OpenGL restrictions which are not solved in any way yet. Linux is defaults to OpenSubdiv disabled because it needs precompiled library. The documentation could be found there: http://wiki.blender.org/index.php/User:Nazg-gul/OpenSubdiv
2015-07-30OpenSubdiv: Add CMake option to enable -Werror in subsurf codeSergey Sharybin
2015-07-29Audaspace: fixes for building with Quicktime on Mac.Jörg Müller
2015-07-28Audaspace: fixing problems for the merge to master suggested by Campbell and ↵Jörg Müller
Sergey. - rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE. - rename C/PYAUDASPACE to AUDASPACE_C/PY - simplifying cmake defines and includes. - fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows. - fixing scons building. - other minor build system fixes.
2015-07-28Audaspace: use standalone library.Jörg Müller
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE. - Fixes to build without standalone library as well.
2015-07-28CMake: modify recent platform defaultsCampbell Barton
Now only disable Jack and NDof on OSX Also comment main block for platform checks
2015-07-28CMake: use same defaults on all-platformsCampbell Barton
Previously Linux had disabled libs that were enabled on other platforms. Use a reduced feature set on all, since libs such as Jack & OSL aren't totally reliable on Win/OSX. Keep 'option_defaults_init' since platform maintainers may want to adjust later.
2015-07-20OpenSubdiv: Commit of OpenSubdiv integration into BlenderSergey Sharybin
This commit contains all the remained parts needed for initial integration of OpenSubdiv into Blender's subdivision surface code. Includes both GPU and CPU backends which works in the following way: - When SubSurf modifier is the last in the modifiers stack then GPU pipeline of OpenSubdiv is used, making viewport performance as fast as possible. This also requires graphscard with GLSL 1.5 support. If this requirement is not met, then no GPU pipeline is used at all. - If SubSurf is not a last modifier or if DerivesMesh is being evaluated for rendering then CPU limit evaluation API from OpenSubdiv is used. This only replaces the legacy evaluation code from CCGSubSurf_legacy, but keeps CCG structures exactly the same as they used to be for ages now. This integration is fully covered with ifdef and not enabled by default because there are several TODOs to be solved first: - Face varying data interpolation is not really cleanly implemented for GPU in OpenSubdiv 3.0. It is also not implemented for limit evaluation API. This basically means we'll have really hard time supporting UVs. - Limit evaluation only works with adaptivly subdivided meshes so far, which basically means all the points of CCG are pushed to the limit. This gives different result from old code. - There are some serious optimizations possible on the topology refiner creation, which would speed up initial OpenSubdiv mesh creation. - There are some hardcoded asumptions in the GPU and DerivedMesh areas which could be generalized. That's something where Antony and Campbell can help, making it so the code is structured in a way which is reusable by all planned viewport projects. - There are also some workarounds in the dependency graph to make sure OpenGL buffers are only freed from the main thread. Those who'll be wanting to make experiments with this code should grab dev branch (NOT master) from https://github.com/Nazg-Gul/OpenSubdiv/tree/dev There are some patches applied in there which we're working on on getting into upstream.
2015-07-18CMake: Add option to enable -Werror cflag in some areasSergey Sharybin
It is rather annoying attitude nowadays to use const qualifier all over the place, including using it for multi-dimensional arrays. This isn't really supported in GCC prior to version 5.0 because it considers such an arrays to be a "pointer to a const pointer" which gives implicit casting errors. It's not possible to disable this particular type of warnings treated as errors in any GCC version prior to 5.0 as well, meaning currently usage of -Werror globally in Blender code is not possible at all. This commit makes it possible to use -Werror in areas which are complaint with older GCC versions. New advanced CMake options are: - WITH_COMPOSITOR_WERROR - WITH_LIBMV_WERROR - WITH_CYCLES_WERROR
2015-07-18Cleanup: whitespace (CMake)Campbell Barton
2015-07-18CMake: Fix indentation around LLVM detection codeSergey Sharybin
2015-07-02Make OpenGL debug contexts a flag --debug-gpu instead of a compile timeAntony Riakiotakis
option. This makes sense, since contexts get created at runtime, there is little reason to require recompilation for this. Only works on linux currently, will be doing more OSs later
2015-06-30CMake: minor editsCampbell Barton
2015-06-29Remove WITH_TESTS_PERFORMANCE option.Bastien Montagne
Performance tests now have their own CMake macro, which ensures they do not get added to ctest list, so we do not have to bother about them anymore, and can always build them (when GTests are enabled, of course).
2015-06-17CMake: set advanced varCampbell Barton
2015-06-17CMake: use functions instead of macrosCampbell Barton
Reduces issues with vars leaking into the parent scope.