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
2019-10-10Build: add WITH_TBB option, in preparation of sculpt using itBrecht Van Lommel
It should no longer be tied to OpenVDB and OpenImageDenoise then. Differential Revision: https://developer.blender.org/D6029
2019-10-07CMake: Add support for building with OpenMP support for clang on windows.Ray Molenkamp
mostly minor c/cxx/linker flags, only tested with clang 9.0.0 Differential Revision: https://developer.blender.org/D5976 Reviewers: brecht, jesterking
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-08-14Compositor: Added denoising nodeBrecht Van Lommel
This node is built on Intel's OpenImageDenoise library. Other denoisers could be integrated, for example Lukas' Cycles denoiser. Compositor: Made OpenImageDenoise optional, added CMake and build_env files to find OIDN Compositor: Fixed some warnings in the denoising operator build_environment: Updated OpenImageDenoise to 0.8.1 build_environment: Updated OpenImageDenoise in `make deps` for macOS Reviewers: sergey, jbakker, brecht Reviewed By: brecht Subscribers: YAFU, LazyDodo, Zen_YS, slumber, samgreen, tjvoll, yeus, ponomarovmax, getrad, coder.kalyan, vitos1k, Yegor, DeepBlender, kumaran7, Darkfie9825, aliasguru, aafra, ace_dragon, juang3d, pandrodor, cdog, lordodin, jtheninja, mavek, marcog, 5k1n2, Atair, rawalanche, 0o00o0oo, filibis, poor, lukasstockner97 Tags: #compositing Differential Revision: https://developer.blender.org/D4304
2019-06-29Cleanup: Fix build warnings with MSVCRay Molenkamp
gflags emits a few unused variable warnings since the main CMakeLists.txt raised the warning from w4 down to w3. This restores it back to w4 in the remove_strict_flags macro.
2019-06-26MSVC: Don't share pch between debug and release builds.Ray Molenkamp
Precompiled headers were sharing the PCH file between debug and release builds which is 'bad'. Adding the configuration to the path fixes the issue. Reported on chat by @mano-wii
2019-06-19Cleanup: style, indentationCampbell Barton
2019-06-19CMake: cleanup, unset temporary var after useCampbell Barton
2019-06-18Fix T65852: Cmake fails with paths containing special characters.mano-wii
MATHES performs a regular expression which in this case is unnecessary.
2019-06-16Fix Cmake Error.mano-wii
`LAST_EXT` only works in versions 3.14 or greater.
2019-06-15Cmake: Add `WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS` optionmano-wii
This allows grouping files in a filter corresponding to the source files name. Differential Revision: https://developer.blender.org/D5077
2019-06-15Cmake: rename `WINDOWS_USE_VISUAL_STUDIO_FOLDERS` option to ↵mano-wii
`WINDOWS_USE_VISUAL_STUDIO_PROJECT_FOLDERS`. Suggested by @LazyDodo
2019-06-15QtCreator/Visual Studio: Group glsl files in Shaders group.mano-wii
2019-06-06cmake/msvc: Add ninja support for precompiled headersRay Molenkamp
Ninja was unable to see the dependency between the cpp that generated the pch and the compile units that used it. Explicitly managing this now makes precompiled headers work with both msvc and clang, with both msbuild and ninja based generators.
2019-06-06Fix: Build error with ninja on windowsRay Molenkamp
Ninja has issues detecting the implicit dependency on the precompiled header output for freestyle. Disabled ninja support for now until a proper solution can be found.
2019-06-06Cleanup: indentationCampbell Barton
Also add comment to `FRS_precomp.h`.
2019-06-06Freestyle: Use precompiled headers with MSVC.Ray Molenkamp
This brings down the build time for freestyle with MSVC from a minute to 10-20 seconds. vs2019 bf_freestyle debug before: 60464 ms after: 11028 ms vs2019 bf_freestyle release before: 56984 ms after: 20526 ms Differential Revision: https://developer.blender.org/D2606 Reviewed By: brecht , sergey
2019-06-06CMake: pass link deps to library targets with INTERFACECampbell Barton
Introduced since removing BLENDER_SORTED_LIBS. This caused building a library to build all it's dependencies.
2019-05-08CMake: Add support of Ninja's pools to ease building on limited amount of RAM.Bastien Montagne
Many modern computers support a lot of threads (parrallel building jobs), but are somewhat restricted in memory, when some building jobs can require several GB each. Ninja builder has pools, which extend the usual `-j X` make parallelizing option, by allowing to specify different numbers of parallel jobs for different targets. This commit defines three pools, one for linking, one for usual compile, and one for compiling some 'heavy' cpp libs, when a single file can require GB of RAM in full debug builds. Simply enabling WITH_NINJA_POOL_JOBS will try to set default sensible values for those three pools based on your machine specifications, you can then tweak further the values of NINJA_MAX_NUM_PARALLEL_ settings, if you like. On my system (8 cores, 16GB RAM), it allows to build a full debug with all ASAN options build with roughly 7GB of RAM used at most, pretty much as quickly as without that option (which would require up to 11GB of available RAM at some points). Review task: D4780.
2019-04-17cmake: Fix python linker issues on windows.Ray Molenkamp
Recent cmake work made the debug build link both python37.dll and python37_d.dll
2019-04-17Cleanup: use 2 space indentation for CMakeCampbell Barton
2019-04-16CMake: remove BLENDER_SORTED_LIBSCampbell Barton
Use CMake's target_link_libraries instead of manually maintaining library dependencies in a single list. In practice adding new libraries often ended up being guess-work, now each library lists the libraries it uses. This was used for the game player executable so libraries could optionally link to stubs. If we need this functionality it can be done using target-properties as described in T46725.
2019-04-16CMake: cleanup, arg rename, add definitions lastCampbell Barton
2019-04-16CMake: re-order openvdb/osl linkingBrecht Van Lommel
Needed for building without sorted libs.
2019-04-15CMake: resolve issue building without sorted libsCampbell Barton
Linking empty libs gave an error.
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-02-14Cleanup: indentationCampbell Barton
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2018-11-28Merge branch 'master' into blender2.8Sergey Sharybin
2018-11-28Add cross-platform NUMA librarySergey Sharybin
Makes it simple to use NUMA libraries on various platforms.
2018-11-26Merge branch 'master' into blender2.8Sergey Sharybin
2018-11-26CMake: Remove Cycles specific OpenSubdiv optionsSergey Sharybin
Just use one flag which enables OpenSubdiv globally for all the areas of Blender.
2018-11-23Merge branch 'master' into blender2.8Brecht Van Lommel
2018-11-23Fix T57998: crash at start with jemalloc package on some Linux distributions.Brecht Van Lommel
The jemalloc library must be ahead of pthread in linking order, so jemalloc can find the pthread symbols for its background thread.
2018-11-07Merge branch 'master' into blender2.8Stefan Werner
2018-11-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
2018-10-28Merge branch 'master' into blender2.8Brecht Van Lommel
2018-10-28Fix Linux build after Cryptomatte commit.Brecht Van Lommel
2018-10-22Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
2018-10-22Windows: Enable python debugging in Visual Studio.Ray Molenkamp
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide. Differential Revision: https://developer.blender.org/D3817
2018-10-17Fix cmake not triggering rebuild on .glsl changesDalai Felinto
At least on windows we do not re-run datatoc when the .glsl files change. To test is simple, just change edit_mesh_overlay_common_lib.glsl remove lines, write plain text, ..., now rebuild and go in edit mode with the default cube. I also had to remove the entry in gpu/CMakeLists.txt for gpu_shader_material.glsl since this was being tracked directly, as well as running data_to_c_simple (otherwise CMake raises an error for duplicated entries). We probably want to do the same for the other datatoc functions. Reviewers: LazyDodo, brecht Differential Revision: https://developer.blender.org/D3803
2018-10-16Fix cmake not triggering rebuild on .glsl changesDalai Felinto
At least on windows we do not re-run datatoc when the .glsl files change. To test is simple, just change edit_mesh_overlay_common_lib.glsl remove lines, write plain text, ..., now rebuild and go in edit mode with the default cube. I also had to remove the entry in gpu/CMakeLists.txt for gpu_shader_material.glsl since this was being tracked directly, as well as running data_to_c_simple (otherwise CMake raises an error for duplicated entries). We probably want to do the same for the other datatoc functions. Reviewers: LazyDodo, brecht Differential Revision: https://developer.blender.org/D3803
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3700
2018-09-12CMake: Fix compilation with Bullet enabledSergey Sharybin
Obvious bug in recent CName cleanup commit, while BGE library was indeed mentioned on that line it was to put Bullet libraries after all the other libraries. One day we should really switch to a CMake dependency graph to take care of library dependencies.
2018-09-12Cleanup: remove BGE referencesCampbell Barton
2018-09-12Merge branch 'master' into blender2.8Campbell Barton
2018-09-11Build: require OpenJPEG 2.x minimum, remove bundled version.Brecht Van Lommel
* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already the case for macOS and Windows. * This should not break existing Linx builds. If there is no new enough OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG will be disabled. * install_deps.sh was updated with new package names, since distributions put this version in a new package. Differential Revision: https://developer.blender.org/D3663
2018-09-02Cleanup: move select all/none/invert into templateCampbell Barton
2018-08-22Fix building without OPENSUBDIVDalai Felinto
Although we have a stub system there, we were not linking the library.