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
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.
2015-06-14CMake: disable OSL if cycles is disabledCampbell Barton
2015-06-14CMake: minor edits to lite configCampbell Barton
2015-05-19CMake: install Python executable when its bundledCampbell Barton
2015-05-19CMake: remove temp assignment, unused varsCampbell Barton
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-05-06[cmake] move FindLLVM to its own fileMartijn Berger
2015-05-04CMake: Only consider it INFO is ld.gold is missingCampbell Barton
2015-05-02CMake: use ld.gold linker when availableCampbell Barton
Gives noticeable speedup linking blender
2015-04-30CMake: Solve compilation error from path with a spaceSergey Sharybin