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-27CMake/SCons: set Python to 3.5Campbell Barton
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-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-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-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.
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-08-27Make SCons's DEBUG/_DEBUG consistent with CMakeSergey Sharybin
Also move this to a generic place in SConstruct instead of having this defines in 6 different configurations. Should not be functional changes, but please verify all the platforms.
2014-04-30Cycles CUDA: make CUDA toolkit 6.0 the official supported version.Brecht Van Lommel
This also updates the configurations to build kernels for compute capability 5.0 cards, when using and older CUDA toolkit version this will be skipped. Also includes tweaks to improve performance with this version: * Increase max registers on sm_30, sm_35 and sm_50 * No longer use texture storage on sm_30
2014-04-30Python: move to version 3.4x on all platformsCampbell Barton
2014-04-30Remove hard coded Python version for sconsCampbell Barton
note: this isn't best way of extracting version without '.'
2014-03-30fix scons ffmpeg libraries for mingw32Antony Riakiotakis
2013-11-06Quicktime: remove backend with the old quicktime API, and keep the QTKit ↵Brecht Van Lommel
backend. This means that if you have WITH_BF_QUICKTIME or WITH_CODEC_QUICKTIME enabled, it will always use QTKit. The old backend was only used on 32 bit OS X builds, now 32 and 64 bit builds will give consistent input/output. On Windows or Linux quicktime isn't being used.
2013-06-20Cycles: update build configurations to include CUDA sm_35 architecture. When ↵Brecht Van Lommel
using a compiler older than CUDA 5.0 it will give a warning and skip this architecture.
2013-06-03Fix compilation on MinGW32 scons. The compiled library there is already ↵Antony Riakiotakis
static, revert renaming of linked library
2013-06-02Fix #35587: Cycles: image movie to single image crashingSergey Sharybin
Crash was happening on windows platforms only and was caused by some specifics about how CRT works. Basically, blender and all of the .dll are compiled with /MT flag, which means blender.exe and all .dll are using separate environments. This makes it impossible to pass file descriptors from blender to other dll, because it becomes invalid in the dll. And this is exactly what was happening: OIIO was trying to open movie file with all known plugins and one of them was zlib. And the way OIIO was using zlib API is opening the file using Boost and passing a file descriptor to zlib. And since zlib was a dynamic library this lead to general issues using this descriptor in zlib code. Solved by linking to zlib statically. This allows to safely pass file descriptor to zlib API. Alternative would be to compile all the stuff with /MD flag, but that's much bigger and less robust way to fix the issue. Tested on windows using msvc2008, scons plus cmake both 32 and 64 bit versions. Seems to be working fine. Further tweaks for mingw and msvc2012 could be needed tho.
2013-04-17Turn OpenMP on for MinGW, it works the 32 bit compiler.Antony Riakiotakis
2013-04-13Fix some compilation errors for MinGW. Thanks to vildas on irc forAntony Riakiotakis
bringing this to attention.
2013-04-07Missing build_files updates in the merger in revision 55847.Tamito Kajiyama
2013-03-28modified build system for updated opencollada libraries (windows only, other ↵Gaia Clary
platforms might want to update as well)
2013-02-21Cycles GPU rendering:Thomas Dinges
* Deprecate computing capability 1.3 (sm_13) This commit disables auto build of sm_13 CUDA platform, which means that starting with Blender 2.67, we don't support sm_13 devices anymore. It has become difficult to support that and it was already feature incomplete (no render-passes, AO, Multi Closure etc). It's still possible to manually enable sm_13 for own tests, but building might break in the future.
2012-11-26switch verious references from py3.2 -> 3.3 or just 3.Campbell Barton
2012-11-14Fix for oiio/ocio/boost in those scons config, else specifying a custom ↵Bastien Montagne
"root" path for those libs in user-config.py is useless!
2012-11-12Scons compiling fixJoshua Leung
Proper implementation for only including the boost locale libs when WITH_BF_INTERNATIONAL is enabled, so that those of us who do not need/want to bother with translated ui's can compile. The way it was done before was wrong as 1) the value was always set to true earlier in the config scripts, 2) the base config scripts run before user config overrides are set
2012-11-11Clen up of gettext stuff from scons scripts... Did not touch to buildbots ↵Bastien Montagne
ones, nor to iconv, as it’s still uncleare whether we can get rid of it :/
2012-11-11Replacing gettext i18n backend by boost::locale one.Bastien Montagne
This commit adds a small and simplistic C wrapper around boost's locale library as intern/locale, and heavily simplifies/reduces Blender's own i18n code (under blenfont/ dir). And it adds back UI translation on windows' official builds (with msvc)! Note to platform maintainers: iconv and gettext (libintl) can now be removed from precompiled libs (not gettext binaries, under windows, of course ;) ). Note to MinGW32/64 users: boost_locale lib has not yet been uploaded for those build env, please disable WITH_INTERNATIONAL for now (hopefully will be fixed very soon, have contacted psy-fy).
2012-09-28code cleanup: correct spellingCampbell Barton
2012-09-17Updating mingw32 config to reflect new boost libraries in svnJoshua Leung
(1.47 -> 1.49)
2012-09-17* Enable opencolorio for scons/mingw32 (coming very soon)Antony Riakiotakis
* Change names of libraries for mingw32 boost to 1.49
2012-09-15Color Management, Stage 1: Initial OpenColorIO library integrationSergey Sharybin
This commit integrates support of OpenColorIO library into build systems. It also contains C-API for OpenColorIO library which could be used by Blender. CMake has got find rules familiar to OpenImageIO's one which makes it easier for build system to find needed libraries and includes. Scons only could use explicitly defined paths to libraries and includes. C-API would be compiled and Blender would be linked against C-API and OpenColorIO but it wouldn't affect on Blender behavior at all. OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and setting WITH_BF_OCIO in Scons.
2012-09-01Enable shader model 3.0 shaders for mingw compilersAntony Riakiotakis
2012-06-21Correct openjpeg for scons too.Antony Riakiotakis
2012-05-22Disable building of CUDA 1.3 kernels for cycles for win32 cmake and mingw32 ↵Antony Riakiotakis
scons. They were already disabled for scons MSVC 32bit.
2012-04-23Update build files to use the new lib locations for MinGW. For builders: you ↵Antony Riakiotakis
will need to checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/mingw32/ to build with MinGW past this commit.
2012-04-07Scons:Thomas Dinges
* Some code and comment cleanup * Remove cmake equivalent variable comments * Remove some non used parameters from config files and btools: WITH_BF_FMOD, BF_VERSION. * Remove some commented non-used variables
2012-02-26Missed Scons update for MinGW boostAntony Riakiotakis
2012-02-17Reverting changes made to build systems when was upgrading OpenAL.Sergey Sharybin
Reverting to openal from creative because own builds doesn't deal with 3D sound. Hopefully it wouldn't lead to crashes caused by ffmpeg+openal (for resolving which libraries were updated to openal-soft).
2012-01-05disable recent attempt to static link mingw DLL's causes errors for some users.Campbell Barton
also remove break statement, mistake on last commit.
2012-01-05link mingw libstdc++ and libgcc libs statically so users dont need mingw ↵Campbell Barton
installed to use mingw builds
2011-12-29Mingw - use truly relative instead of absolute-relative paths for Boost and OIIOJoshua Leung
That is, instead of '#../lib/windows/lib_name/include', we're now using BF_LIBNAME + '/include'. This makes it possible to have a single lib folder shared between several local working trees again.
2011-12-27Update build files to use new OpenAL librariesSergey Sharybin
2011-12-19* Fix for moving mingw png libs.Thomas Dinges
2011-12-19MinGW png libsThomas Dinges
* Moved to gcc/png in the libs dir.
2011-11-14mingw compiles again after OceanSim stuffJoshua Leung
2011-11-13Scons_buildsystem: add WITH_BF_OCEANSIM = True to all configsJens Verwiebe
2011-11-09correct comment, no longer needed.Antony Riakiotakis
2011-11-09Make scons work MinGW. This commit resolves several issues such as enable ↵Antony Riakiotakis
OpenEXR, Game Engine and Player, enable latest features, and solve link order for gcc. So MinGW is right now fully supported as a build system for release type builds. Debug builds not tested.
2011-10-21cleanup scons build flags, many duplicates because because of confusion ↵Campbell Barton
between CFLAGS/CPPFLAGS/CCFLAGS/CXXFLAGS, devs would set multiple to be on the safe side. - defines go in CPPFLAGS - C & C++ flags go in CCFLAGS - CFLAGS / CXXFLAGS are C OR C++ only. also commented intended ghost unicode/ascii usage.
2011-10-02* Removing libsamplerate from build systemsJoerg Mueller
* Enabling OpenAL for scons win64-vc in default config; Nathan or Sergey: please update the build bot to build with OpenAL!