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-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-28Fix OpenMP library for tests on macOSBrecht Van Lommel
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-06-02macOS: fix viewport lagging, by using CAMetalLayer instead of NSOpenGLViewTomoaki Kawada
On GPUs that support it, we now present OpenGL contents via CAMetalLayer. This fixes frame skipping issues found in T60043. If the system does not have a Metal capable GPU, NSOpenGLView will continue to be used. Patch by Tomoaki Kawada, with some changes by Brecht Van Lommel. Differential Revision: https://developer.blender.org/D4619
2019-06-02macOS: increase minimum required version to 10.11Brecht Van Lommel
This is in preparation of an the upcoming fix where we need to use a Metal layer to avoid performance issue when drawing with OpenGL. Note that we already only officially support 10.12+, the difference with this change is that Blender will not start at all on 10.9 and 10.10.
2019-05-27cmake: Fix building with clang on windows.Ray Molenkamp
2019-05-26Fix building with ninja on windowsRay Molenkamp
Broken by rB161908157d67ee8bcfa0c26917cccdc40e0c67ea
2019-05-25CMake/MSVC: Mark headers in the libdir as system headers.Ray Molenkamp
This marks the headers in the LIBDIR as system headers and changes the warn to /W0 on msvc versions that support it. This resolves some warnings we would had to completely repress otherwise.
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-18Fix Embree link error after recent cmake changesMaruf Sarker
Differential Revision: https://developer.blender.org/D4704
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-04-11glTF: add Draco shared library for mesh compression.Benjamin Schmithüsen
Draco is added as a library under extern/ and builds a shared library that is installed into the Python site-packages. This is then loaded by the glTF add-on to do mesh compression. Differential Revision: https://developer.blender.org/D4501
2019-03-22Fix T57580: Update windows installer package to have the GPL3 as EULA.Ray Molenkamp
2019-03-16CMake: disable jemalloc when building as a Python moduleCampbell Barton
2019-03-15Merge branch 'blender2.7'Brecht Van Lommel
2019-03-15Cycles: upgrade to CUDA 10.1 as the one officially supported version.Brecht Van Lommel
This version fixes various bugs, and there is no need anymore to use both 9.1 and 10.0 for different cards. There is a bug related to WITH_CYCLES_CUBIN_COMPILER and bump mapping in the regression tests, so that remains disabled same as it was for CUDA 10.0. Fix T59286: CUDA bake failing on some cards. Fix T56858: CUDA 9.2 and 10 issues.
2019-03-08cmake/windows: Set LLVM_INCLUDE_DIRS variable.Ray Molenkamp
2019-03-08cmake/windows: Set LLVM_INCLUDE_DIRS variable.Ray Molenkamp
2019-03-04Fixup for fix for OSX build using a build folder name with spacesDalai Felinto
Bug introduced on: 1f22e3f311e74031c3c01714117d759d3e3de3f1. This was making regular Mac builds to fail, where they were not failing before. Tested by William Reynish.
2019-03-02CMake: Use static libstdc++ for static buildsLuca Rood
This enables static linking of libstdc++ by default when building using `WITH_STATIC_LIBS`. This makes builds more portable for anyone making static builds (in particular for older systems). Reviewed By: brecht, campbellbarton, sergey Differential Revision: https://developer.blender.org/D4393
2019-03-01Fixup for fix for OSX build using a build folder name with spacesDalai Felinto
Bug introduced on: 1f22e3f311e74031c3c01714117d759d3e3de3f1. This was making regular Mac builds to fail, where they were not failing before. Tested by William Reynish.
2019-03-01Merge branch 'blender2.7'Brecht Van Lommel
2019-03-01Fix macOS OpenMP build error when using a build folder name with spaces.Brecht Van Lommel
Patch by Campbell.
2019-02-23make.bat: Preliminary Visual Studio 2019 support.Ray Molenkamp
VS2019 is binary compatible with the existing vc14 libraries and no new libraries libs are required in svn. VS2019 support requires cmake 3.14. VS2019 is still in pre-release state, you are required to explicitly select the pre-release version by using: make full 2019pre
2019-02-23make.bat: Preliminary Visual Studio 2019 support.Ray Molenkamp
VS2019 is binary compatible with the existing vc14 libraries and no new libraries libs are required in svn. VS2019 support requires cmake 3.14. VS2019 is still in pre-release state, you are required to explicitly select the pre-release version by using: make full 2019pre
2019-02-14Cleanup: indentationCampbell Barton
2019-02-13fix build on xcode with openmpArto Kitula
2019-02-05Cleanup: remove contributors for Python filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-01-26Merge branch 'blender2.7'Brecht Van Lommel
2019-01-26macOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.Arto Kitula
This bring macOS on par with Windows and Linux. It uses the OpenMP library added to our precompiled libraries. Custom flags are set because FindOpenMP from CMake below 3.12 does not support AppleClang, and more recent versions do not work with our custom directory location either. Differential Revision: https://developer.blender.org/D4257
2019-01-24Cleanup: remove make wrapperCampbell Barton
Intended for silent build output, ninja build system can do this now.