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-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-10-05Fix T46377: No python executable in 2.76 rc3 distribution for OSXSergey Sharybin
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-20SCons: Weirdly enough at some point scons became broken in OpenSubdiv branchSergey Sharybin
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-06-19SCons: Fix missing file in kernel when building on OSXSergey Sharybin
2015-06-19SCons: Another attempt to fix bundling on OSXSergey Sharybin
2015-06-19SCons: Fix wrong bunding of Cycles kernel on OSX platformSergey Sharybin
2015-05-30python tar.gz changed structure due to python.exe being added. remove /lib/ ↵Martijn Berger
from cmake as lib and bin are both in the tar.gz
2015-05-19SCons: install Python executable when its bundledCampbell 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-04-29SCons: Ignore .svn folder when installing site-packagesSergey Sharybin
2015-04-06OSX: add a license file for libiomp5 ( intel omp ) when compiled withJens Verwiebe
2015-03-20SCons: Attempt to deal with branches without upstream configuredSergey Sharybin
2015-03-13Initial compilation support with C++11 featureset enabledSergey Sharybin
This commit makes some preliminary fixes and tweaks aimed to make blender compilable with C++11 feature set. This includes: - Build system attribute to enable C++11 featureset. It's for sure default OFF, but easy to enable to have a play around with it and make sure all the stuff is compilable before we go C++11 for real. - Changes in Compositor to use non-named cl_int structure fields. This is because __STRICT_ANSI__ is defined by default by GCC and OpenCL does not use named fields in this case. - Changes to TYPE_CHECK() related on lack of typeof() in C++11 This uses decltype() instead with some trickery to make sure returned type is not a reference. - Changes for auto_ptr in Freestyle This actually conditionally switches between auto_ptr and unique_ptr since auto_ptr is deprecated in C++11. Seems to be not strictly needed but still nice to be ready for such an update anyway/ This all based on changes form depsgraph_refactor branch apart from the weird changes which were made in order to support MinGW compilation. Those parts of change would need to be carefully reviewed again after official move to gcc49 in MinGW. Tested on Linux with GCC-4.7 and Clang-3.5, other platforms are not tested and likely needs some more tweaks. Reviewers: campbellbarton, juicyfruit, mont29, lukastoenne, psy-fi, kjym3 Differential Revision: https://developer.blender.org/D1089
2015-02-19Fix Cycles OpenCL error with scons, util_math_fast.h was missing.øThomas Dinges
2015-02-06Some tweaks to support upcoming OSL-1.6Sergey Sharybin
Doesn't mean we're 100% ready for the transition, but need to start somewhere anyway. Changes: - OSL is no longer supporting cpp and requires usage of Boost Wave. So now Wave component of Boost is optionally demanded when looking for the Boost libraries if OSL is enabled. Only did this for Linux, MSVC seems already using Wave. Not sure about OSX. - Because of the same reason OSL should be moved prior Boost for linker. - Whole archive trick makes it so linking fails with duplicated symbols, so removed it for the new OSL. Didn't see issues with this so far. - Added some code to check OSL version on Linux. Would need to move all that to FindOpenShadingLanguage.cmake which we can get from Cycles standalone repository. So in theory no affect on current stup would be made at all. - Added some tweaks to buildbot files. It now seems to be happy with the new OSL libraries, but again, those tweaks are not in action yet. All this was tested on Linux only. Win/OSX might still need some tweaks to support new OSL. P.S. This doesn't mean we're pushing OSL update yet, just making some preliminary tweaks to avoid entropy of PITA when we'll actually want to switch.
2014-12-31Remove executable flag from the build configuration filesSergey Sharybin
They're not intended to be executed directly and seems mode change happened by accident. Setting -x for this files to avoid possible incidents by trying to run this files in shell.
2014-12-10Switch to numpy 1.9 for windows platformSergey Sharybin
2014-12-07Input Method Editor (IME) support for text buttonsSeverin
Original patch by @random (D765) with some minor work done by @campbell and me. At this place, I'd like call out a number of people who were involved and deserve a big "Thank you!": * At the first place @randon who developed and submitted the patch * The Blendercn community which helped a lot with testing - espacially * @yuzukyo, @leon_cheung and @kjym3 * @campbellbarton, @mont29 and @sergey for their help and advises during * review * @ton who realized the importance of this early on and asked me for * reviewing We are still not finished, as this is only the first part of the implementaion, but there's more to come!
2014-12-03Cycles: Enable logging by defaultSergey Sharybin
Default configuration already includes libmv and glog, so all the dependencies are met. And logging is nice to have anyway. This wouldn't give any slowdown, because all the logging is silenced unless '--debug-cycles', plus no logging is done from the speed critical code.
2014-12-03Cycles: Support logging when building with SConsSergey Sharybin
Basically, title says ti all, the option is called WITH_BF_CYCLES_LOGGING
2014-11-17Support dynamic loading of SDL librariesSergey Sharybin
This is mainly to address old issue when one need to have SDL library installed in order to use our official builds. Some hip distros already installs SDL, but it's not quite the same across all the variety of the distros. We also now switching to SDL-2.0, most of the distros have it in repositories already, so it shouldn't be huge deal to install it if needed. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D878
2014-11-16OSX/buildsystems: unify openmp handling by changing iomp5 id to ↵Jens Verwiebe
@loader_path/../Resources/lib/libiomp5.dylib This makes install_name_tool usage obsolete here and also assures cmake builds can be codesigned. IMPORTANT: update lib (darwin-9.x.universal/openmp)
2014-10-31SCons: Expose missing command line arguments controlling GLEWSergey Sharybin
2014-10-31Disable GLEW_MX in sconsSergey Sharybin
This was already disabled in CMake and we need to keep build systems in 100% synchronized state. P.S. Would it be a real fix to drop SCons?
2014-10-31Revert "Scons/funstuff: notify when the binaries are compiled"Campbell Barton
This reverts commit cdf53701599ace0b3410cbb75b0313bd969c417c. Please always keep build-systems simple, boring & functional, anyone who liked notification popups can write a simple build script.
2014-10-23Scons/funstuff: notify when the binaries are compiledJens Verwiebe
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-10-04Cycles: Add support for debug passesSergey Sharybin
Currently only summed number of traversal steps and intersections used by the camera ray intersection pass is implemented, but in the future we will support more debug passes which would help checking what things makes the scene slow. Example of such extra passes could be number of bounces, time spent on the shader tree evaluation and so. Implementation from the Cycles side is pretty much straightforward, could only mention here that it's a build-time option disabled by default. From the blender side it's implemented as a PASS_DEBUG with several subtypes possible. This way we don't need to create an extra DNA pass type for each of the debug passes, saving us a bits. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D813
2014-10-02Libmv: Fix wrong variable use in sconsSergey Sharybin
2014-10-02Libmv: Add an option to disable schur specializations build-timeSergey Sharybin
This way folks with few ram or those who wants to hack into Ceres code might compile Blender much faster.
2014-09-08Attempt to fix compilation error on ubuntu linuxSergey Sharybin
2014-08-12Scons / Buildbot: Remove code for Visual Studio 2008.Thomas Dinges
Probably the vc2013 builder can become a more generic name now, but I will double check this with Martijn.
2014-08-01OSX/scons: Change Blender bundle datastructures + referennces to match the ↵Jens Verwiebe
upcoming codesigning needs - i used deprecated rules up to now which will break in OSX > 10.9.5 and 10.10 > dp4 - todo: adapt cmake due it will break with this commit
2014-07-10Fix compilation error with scons when building from detached headSergey Sharybin
2014-07-02Fix scons unable to build with sources tar archive (no git repo available in ↵Bastien Montagne
this case). Reported by Clouclou over IRC, thanks!
2014-06-27Update Ceres to latest upstream versionSergey Sharybin
Brings new bounds limiting and also prepares build system for the changes in the upstream. Namely shared_ptr header and namespace is now being detected by a build system rather than by hacks in the code. This commit includes some changes to auto-detection flags in SCons, presumably adding more consistency there. This is main changes which are suppoed to be reviewed here. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D581
2014-06-26Another attempt to solve compilation errorSergey Sharybin
Sorry for the noise, but it's tricky to troubleshoot stuff which only happens on buildbot..
2014-06-26Tweak to previous commit, fixes scons to survive when upstream is not foundSergey Sharybin
2014-06-26Fix compilation error with scons and older pythonsSergey Sharybin
2014-06-23Use specified exception mask for buildinfoSergey Sharybin
This way we only catch exceptions which we're intended to and if something bad happens (like missing import due to refactor or so) we'll see them instantly.
2014-06-20Fix scons building in case git is not available.Bastien Montagne
Not so nice to use try/except here, but simplest solution to avoid failing in case git commands fail for some reason...
2014-06-19Python: Remove deprecated uses of os.popenCampbell Barton
T40415 by Lawrence D'Oliveiro
2014-06-16Need to consider blender-v* a release branch, not just blender-Sergey Sharybin
This is because of blender-tiles branch we've got..
2014-06-16Make blender-* branches not being displayed on the splashSergey Sharybin
2014-06-02OSX: Set Blender.app and Blenderplayer.app creation and modification date to ↵Jens Verwiebe
compiletime, else we would always have the time from checkout here
2014-05-24msvc 2008 platofrm suffix changed to be -vc9Martijn Berger
2014-05-19make MSVC plaformsuffix check much stricter. For some reason MSVC_VERSION is setMartijn Berger
2014-05-18Promote MSVC 2013 to be the official platform (without a numbered suffix) ↵Martijn Berger
for scons