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-11-28Move linux's scons to py3.5 too!Bastien Montagne
2015-11-27CMake/SCons: set Python to 3.5Campbell Barton
2015-11-25OSX bump python to 3.5Martijn Berger
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-10-05Fix T46377: No python executable in 2.76 rc3 distribution for OSXSergey Sharybin
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-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-20SCons: Enable sm_52 CUDA kernel on all platformsSergey Sharybin
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-29SCons: Fix wrong flags usage after recent stdc89 changesSergey Sharybin
CCFLAGS are used for both C and C++ compilers and one is better not to pass C-related flags to C++ compiler. C-compiler flags are to be passed via CFLAGS variable.
2015-04-28Use gnu89 for GCCCampbell Barton
GCC5 defaults to gnu11, which we may switch to later but disable for now to prevent accidental use.
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-03-03Windows: Add stacktrace support when unhandled exception occurs.Antony Riakiotakis
We need to register the exception handler slightly differently here, as well as adding DbgHelp as a library, but according to docs it should be supported in recent Windows editions (Win XP included even). We can try it first and revert if there are issues.
2015-02-19Fix Cycles OpenCL error with scons, util_math_fast.h was missing.øThomas Dinges
2015-02-06Fix for scons + mingw64 warning flags fixJoshua Leung
So, it turns out my changes here the other day were a bit too over-eager: -Wdeclaration-after-statement and -Wstrict-prototypes only applied to C code and not C++ (which that set of flags was getting included for too). However, -Wno-char-subscripts is fine where it is now, so I've left it in place
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.
2015-02-04Compiler warnings tweak for scons + mingw64Joshua Leung
The warning flags in C_WARN were not actually getting included (most notably, the one disabling the pointless + braindead one about using chars to index into arrays - given that we only use unsigned chars everywhere). Maybe this should get done for the other scons platforms too?
2015-02-02Make MSVC 2013 win32 also use new OpenEXR 2.2Martijn Berger
2015-02-02Bump OpenEXR to 2.2 for windows MSVC 2013Martijn Berger
2015-01-28Update scons build documentationSergey Sharybin
- fix dead blender.org link (build dependencies) - rewrite $BLENDERHOME/{config,tools}/* to $BLENDERHOME/build_files/scons/{config,tools}/* Patch by David Creswick, thanks! Reviewers: jesterking Differential Revision: https://developer.blender.org/D798
2015-01-28Switch windows MSVC builds to OpenAL-softMartijn Berger
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-08Cycles: Fix compilation error with MinGW and logging enabledSergey 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-05Fix scons+mingw64 compiling - Ensure WITH_BF_CYCLES_LOGGING is defined and ↵Joshua Leung
turned off
2014-12-04Buildbot: Enable sm_52 for OSXSergey Sharybin
This actually enables it in the darwin scons config, that's how it always used to be configured there.
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-12-02Cycles: Enable native sm_52 kernel for Windows.Thomas Dinges
2014-11-19Switch to SDL2 on OSXSergey Sharybin
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-11-13Windows (MSVC2013) move to SDL2Martijn Berger
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