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-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-05make.bat: Support optional paths for `make format`Ray Molenkamp
make.bat now supports optional parameters to restrict the formatting to a specific folder. Multiple paths may be given example: make.bat format source/blender/blenkernel source/blender/gpu
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-06-02Cleanup: make.bat remove noge option from helpRay Molenkamp
The noge option has been removed but was still shown in the help text.
2019-06-02make.bat: Add convenience option to disable buildinfoRay Molenkamp
Optional parameter nobuildinfo turns WITH_BUILDINFO Off which is helpful when doing development.
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-18make.bat: Add option to only update sources from git.Ray Molenkamp
SVN takes a long time to sync even if there are no updates, the `code_update` parameter gives the option opt out of the SVN updates. This is a developer option, people just wanting to build blender and not do any development are highly recommended to keep using the `update` method.
2019-05-13make.bat: add option for enabling the OpenGL based tests.Ray Molenkamp
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-20make.bat: remove --expand-tabs from "make format" on windows.Ray Molenkamp
following the change on linux.
2019-04-18Fix Embree link error after recent cmake changesMaruf Sarker
Differential Revision: https://developer.blender.org/D4704
2019-04-18Merge branch 'blender2.7'Sergey Sharybin
2019-04-18Buildbot: Attempt to fix wrong branch in buildinfoSergey Sharybin
For some reason the buildinfo header was not re-generated. The root reason is not really clear to me, so simply remove the header similar to the CMake cache.
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-17Cleanup: use 2 space indentation for shell scriptsCampbell Barton
Already used by install_deps.sh
2019-04-16Clang-format: Speed up detection of clang-formatSergey Sharybin
Don't construct the full build environment, following feedback from Ray.
2019-04-16GNUmakefile: move clang format utilityCampbell Barton
Makes more sense to place in 'utils_maintenance'.
2019-04-16Initial support of `make format` for WindowsSergey Sharybin
There are couple of caviats currently: - The script requires system-wide Python 3 available in the current search PATH as python.exe. This will get addressed soon by distributing unpacked Python binary in our libraries. - Since the libraries folder is to be known, this requires to have MSVC detected. Not too bad, since formatting is still way slower than detection, but still doesn't feel ideal.
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-04-10Fix T63347: No longer supported disable-ffserver option in install_deps script.Bastien Montagne
FFMPEG removed ffserver and that option alltogether three years ago.
2019-04-03fix for freetype download link and llvm/clang header harvestingMartin Felke
2019-04-03deps_builder : copy llvm headers to lib folder.Ray Molenkamp
Were not needed previously, but the functions branch needs them.
2019-04-02Merge branch 'blender2.7'Sergey Sharybin
2019-03-29Build environment: update comment about required packages.Brecht Van Lommel
2019-03-25Merge branch 'blender2.7'Sergey Sharybin
2019-03-25Change remaining FTP server URIs to HTTP(s)Stephen Hassard
Most of the source tarballs are retrieved via http, but a few remain that are still downloaded via ftp. This causes some pain with corporate firewalls, so moving the last two URIs to http helps ease the build process. Reviewers: sergey Differential Revision: https://developer.blender.org/D4192
2019-03-25Merge branch 'blender2.7'Bastien Montagne
2019-03-25Include blosc, embree and opencollada into BUILD_NOTES.txt file.Bastien Montagne
For custom path selected during 'install_deps.sh' using '--source'/'--install', paths for blosc, embree and opencollada are not printed/inclued into BUILD_NOTES.txt file. As '/opt/lib/<package>' paths are hardcoded into CMakes's Find* modules, this error is not noticeable, but for custom paths it is. This patch includes those fixes/prints for those packages. Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D4574
2019-03-22Fix T57580: Update windows installer package to have the GPL3 as EULA.Ray Molenkamp
2019-03-21Install_deps: add clang-format packages.Bastien Montagne
Even though that one is not really useful just to build Blender, we can as well explicitely include it here, since all 'default' Blender builds will include full clang/llvm stack anyway (for Cycles and deps)...
2019-03-17Merge branch 'blender2.7'Brecht Van Lommel
2019-03-17Cleanup: remove unused buildbot code.Brecht Van Lommel
2019-03-17Fix Windows 32bit buildbot trying to use CUDA, should be disabled.Brecht Van Lommel
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-13Merge branch 'blender2.7'Brecht Van Lommel