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
2018-08-31Fix T56618: crash in release builds when GHOST asserts.Brecht Van Lommel
WITH_ASSERT_ABORT was not disabled for release builds. In most cases asserts are disabled in release builds, but not always. This also changes the buildbot to use blender_release.cmake instead of blender_full.cmake, the only effective difference should be WITH_ASSERT_ABORT.
2018-08-30CMake: Automatically detect OpenJPEG 2 librariesSergey Sharybin
There is chance that on a system with both versions installed this *might* cause some issues. Such system will be pain to support out of the box anyway. This change allows to use precompiled libraries without extra modifications in the config.
2018-08-29Cleanup: trailing spaceCampbell Barton
2018-08-29CMake: Allow specifying custom LIBDIR on UnixSergey Sharybin
Works similar to how maxOS deals with this.
2018-08-29CMake: Comply with include path reported by FindOpenGL.cmakeSergey Sharybin
The script clearly states: This makes the presumption that you are include al.h like #include "al.h" and not #include <AL/al.h> The reason for this is that the latter is not entirely portable. Windows/Creative Labs does not by default put their headers in AL/ and OS X uses the convention <OpenAL/al.h>. This commit makes default precompiled OpenAL to be properly detected and also removes hack on MacOS which was finding the OpenAL package but then was overwriting include directory. Note, that new audaspace in 2.8 is using expected #include <al.h>.
2018-08-29CMake: Make sure zlib folder comes first for precompiled Linux librariesSergey Sharybin
Without this find_package(ZLIB) will find ZLib from OpenCollada folder, which has older ABI and is not what was used to link PNG against.
2018-08-28cmake: adjustments required for lib-upgrade on windows.Ray Molenkamp
2018-08-17Build Environment: fixes for Linux after recent updates.Brecht Van Lommel
2018-08-10update image libraries, D3005 with few modsArto Kitula
2018-07-30Build: require C11/C++11 for all operating systems in master.Brecht Van Lommel
This is in preparation of upgrading our library dependencies, some of which need C++11. We already use C++11 in blender2.8 and for Windows and macOS, so this just affects Linux. On many distributions this will not require any changes, on some install_deps.sh will need to be run again to rebuild libraries. Differential Revision: https://developer.blender.org/D3568
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-25CMake: correct remove_strict_cxx_flags_fileCampbell Barton
Was still using C-flags.
2018-06-22CMake: Make language explicit for per-file strict flags removalSergey Sharybin
2018-06-22CMake: Cleanup, add_cc_flag -> add_c_flagSergey Sharybin
2018-06-22CMake: Cleanup, rename CC_REMOVE_STRICT_FLAGS to C_REMOVE_STRICT_FLAGSSergey Sharybin
2018-06-22CMake: Tweaks to removal of strict flagsSergey Sharybin
Silences the following strict flags from external libraries: - -Wclass-memaccess - -Wswitch - -Wtype-limits - -Wint-in-bool-context Needed to tweak macro a bit, since the old logic was wrong: we can not use CXX flags for C compiler, need way more strict separation between what goes where.
2018-06-10Cleanup: trailing space in CMake filesCampbell Barton
2018-06-05make.bat: cache the vcredist directory.Ray Molenkamp
When run from make.bat the environment is setup correctly and the VCToolsRedistDir environment variable exists, on later invocations of cmake this may no longer be the case and a warning was emitted about the missing runtime. we can't rely on InstallRequiredSystemLibraries.cmake here since it uses the compiler version to figure out the correct location and it doesn't know how to deal with clang.
2018-05-31Add Asan support for clang on windows.Ray Molenkamp
This will currently only work for the RelWithDebInfo configuration since asan does not support the debug crt. for source line information in the reports, you need a copy of llvm-symbolizer in the blender folder or set the ASAN_SYMBOLIZER_PATH environment variable to point to it. Currently (as of 6.0.0) llvm-symbolizer does not ship with the binary clang/llvm distribution. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3446
2018-05-29make.bat : improve error message while detecting the msvc runtime when using ↵Ray Molenkamp
clang
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-26make.bat: Add support for building with ninja.Ray Molenkamp
ninja is an alternative to msbuild designed for fast rebuilds. However there is no IDE support, builds only from the command line. Comparison between msbuild and ninja for a full build, build time in seconds. Full Clean Build msbuild 867.5 Ninja 801.2 Difference -66.3 (-7.6%) Minor Change msbuild 43.0 Ninja 14.9 Difference -28.1 (-64.4%) No Changes msbuild 23.0 Ninja 6.1 Difference -16.9 (-73.5%)
2018-05-11Platform: macOS. Allow building on directory with whitespace (For example ↵Arto Kitula
/Volumes/External HD/blender-build)
2018-04-24Build: Added explicit search for Blosc in CMake files. Unix build will now ↵Stefan Werner
disable WITH_OPENVDB_BLOSC if Blosc libraries cannot be found.
2018-04-02Build: fixes for the Intel compiler versions 2016, 2017, 2018.Milan Jaros
Differential Revision: https://developer.blender.org/D3109
2018-04-02Cleanup: move undo into it's own directoryCampbell Barton
Split out undo API from ED_util.h into ED_undo.h
2018-03-31Undo: unified undo system w/ linear historyCampbell Barton
- Use a single undo history for all operations. - UndoType's are registered and poll the context to check if they should be used when performing an undo push. - Mode switching is used to ensure the state is correct before undo data is restored. - Some undo types accumulate changes (image & text editing) others store the state multiple times (with de-duplication). This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`. - Each undo step stores ID datablocks they use with utilities to help manage restoring correct ID's. Needed since global undo is now mixed with other modes undo. - Currently performs each undo step when going up/down history Previously this wasn't done, making history fail in some cases. This can be optimized to skip some combinations of undo steps. grease-pencil is an exception which has not been updated since it integrates undo into the draw-session. See D3113
2018-03-30C Logging: use instead of printf for messagesCampbell Barton
- See `--log` help message for usage. - Supports enabling categories. - Color severity. - Optionally logs to a file. - Currently use to replace printf calls in wm module. See D3120 for details.
2018-03-19Cleanup: split lattice into own libraryCampbell Barton
Was mixed with object functionality.
2018-03-18CMake: disable boost for lite buildsCampbell Barton
2018-03-04Fix LLVM/OSL library detection on macOS to prefer own OSL libraries.Brecht Van Lommel
2018-03-04Fix Clang compiler detection on macOS.Brecht Van Lommel
"AppleClang" was not properly detected here. Now make the compiler ID test a bit less compact but consistent with other code.
2018-02-17Cycles: Remove Fermi support from CMake and update runtime checks in ↵Thomas Dinges
device_cuda.cpp. Fermi code in Cycles kernel and texture system are coming next.
2018-02-09CMake: include missing headersCampbell Barton
2018-02-08Remove Carve booleanSergey Sharybin
We've got quite comprehensive BMesh based implementation, which is way easier for maintenance than abandoned Carve library. After all the time BMesh implementation was working on the same level of limitations about manifold meshes and touching edges than Carve. Is better to focus on maintaining one boolean implementation now. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3050
2018-02-04msvc: Use source folder structure for project file.Ray Molenkamp
This patch changes the huge list of projects in visual studio into a nice tree matching the source folder structure. see D2823 for details. Differential Revision: http://developer.blender.org/D2823
2018-02-01Fix T53951: Copy ms runtime dlls using InstallRequiredSystemLibraries.cmakeRay Molenkamp
Differential Revision: https://developer.blender.org/D3032
2018-01-26make_quickie: replace os.system w/ subprocess.callCampbell Barton
2018-01-26project_info: replace os.system w/ subprocess.check_callCampbell Barton
2018-01-24CMake: store icon namesCampbell Barton
Without this, adding/removing icons wouldn't force cmake to re-run making builds fail. This is the same issue with globbing source code.
2018-01-23Cleanup: CMake whitespaceCampbell Barton
2018-01-12Build: auto detection of libraries built by "make deps" on Linux.Brecht Van Lommel
Use the libraries if they exist in ../lib/linux_x86_64 or similar, so that you can run "make deps && make full" to get a full static build. Note that install_deps.sh is still the only officially supported way to build Blender dependencies on Linux, but this may be useful to some. Differential Revision: https://developer.blender.org/D2980
2017-12-10MSVC: Fix compiling with some system languagesCampbell Barton
Report from @cyaoeu that compiling failed for Japanese system language.
2017-12-07CMake: GREATER_EQUAL is from v3.7, use GREATERCampbell Barton
2017-12-06CMake: remove git found messageCampbell Barton
2017-12-05CMake: avoid checking each MSVC minor revisionCampbell Barton
2017-12-05Fix MSVS2017 compiler versionAntonioya
After last update to Visual Studio 2017 15.5.0 the compiler version changed
2017-11-30Haiku OS SupportCampbell Barton
D2860 by @miqlas Even though Haiku is a niche OS, only minor changes are needed.
2017-11-18CMake: remove solaris pathCampbell Barton
2017-11-13Cycles: Fix compilation error with OIIO compiled against system PugiXMLSergey Sharybin