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-06-29Cleanup: trailing newlinesCampbell Barton
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-18make.bat: Fix msvc-2017 detection.Ray Molenkamp
D3485 by @manung Differential Revision: https://developer.blender.org/D3485
2018-06-17Cleanup: trailing space cmake, make.batCampbell Barton
2018-06-16make.bat: Fix `make showhashes` not working.Ray Molenkamp
broke in recent refactor.
2018-06-10Cleanup: trailing space in CMake filesCampbell Barton
2018-06-05make.bat : move all experimental options to their own section in the help.Ray Molenkamp
2018-06-05make.bat : bring the help up to date with recent additions to the build script.Ray Molenkamp
2018-06-05make.bat : check for existence of ninja before using it.Ray Molenkamp
2018-06-05make.bat: change the way the vs buildtools are detected.Ray Molenkamp
The recent change also used the buildtools instead of the regular compiler, you now have to explicitly state what you want to use : 2017 - the standard msvc compiler 2017pre - the msvc compiler from the preview installation 2017b - the msvc compiler from the buildtools installation
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-06-05make.bat : Fix clang+asan msbuild project generationRay Molenkamp
2018-06-02build_environment: support for msvc2017 and newer cmake.Ray Molenkamp
-expanded build_deps.cmd with 2017 support, it can't locate msvc2017 so needs to be run from developer prompt. -Newer cmake was unhappy with openal's cmakelists.txt -collada has warning as error on and errored out on new msvc2017 warnings.
2018-06-02build_environment: fix paths in osl.diffRay Molenkamp
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-30make.bat: fix support for building with just the build tools installed.Ray Molenkamp
2018-05-29make.bat : fix release build not getting the right settings.Ray Molenkamp
2018-05-29make.bat : improve error message while detecting the msvc runtime when using ↵Ray Molenkamp
clang
2018-05-29make.bat : add support for building with ninja and clang together.Ray Molenkamp
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-27make.bat : Fix builtime.txt being written in the wrong folder.Ray Molenkamp
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-26make.bat: refactor make.batRay Molenkamp
make.bat was starting to become hard to maintain, this refactors it into separate batch files for each stage of the process. -Improved detection of msvc2013/2015 -Improved failure handling. -Added check for working msbuild and C++ compiler -Added verbose switch to ease trouble shooting. -Added Check if svn/cmake/git are in the path before using them -Display the build configuration before asking to download the libraries -Offer an option to recover an interrupted checkout of the libraries. -Automatically check out sub-modules in-case they are missing.
2018-05-11Platform: macOS. Allow building on directory with whitespace (For example ↵Arto Kitula
/Volumes/External HD/blender-build)
2018-04-25Buildbot: Attempt to link against Blosc staticallySergey Sharybin
Was broken by f1e6838376a.
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-24Build deps: Fixed TBB build with GCC 6 and newer, turning off dead store ↵Stefan Werner
elimination.
2018-04-24Build deps: Fixed capitalisation of CMake modules path for OpenVDB. Before, ↵Stefan Werner
OpenVDB would always build without BLOSC and TBB support on case-sensitive file systems.
2018-04-09Build: fix make deps using system webp/sndio libs.Brecht Van Lommel
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-31Build deps: do sndfile patch also on linux platformArto Kitula
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-30build_deps: Disable building docs for OIIOThomas Beck
Two issues are fixed with this commit: 1) When we build OIIO (on unixoid build environments) and no /src/doc/oiiotool was present we had no build target for it (which led to a build error). As we don't need docs for OIIO, we disable it now. 2) We specified a var that OIIO does not recognize (was removed upstream a long time ago): ILMBASE_VERSION.
2018-03-28build_deps: disable hdf5 lib supportRay Molenkamp
we do not ship with hdf5 support for alembic on any of the platforms.
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-17build_environment: remove msvc compiler warning from boost.Ray Molenkamp
Even the boost people have given up trying to keep up with the rapid release of new msvc versions, and have removed the warn for now see: https://github.com/boostorg/config/commit/5ad0730630188b55e2ee554dec53b5498fc0a030#diff-eac863c1d46c77471e54e8818aab7534
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-23Buildbot: Enable Volta deviced CUDA binariesSergey Sharybin
2018-02-23Buildbot: Remove master configuration filesSergey Sharybin
Those are stored in blender-buildbot repository now, so having them in Blender only causes extra work to keep files in sync.
2018-02-23Buildbot: Disable cuda hack for macOSSergey Sharybin
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.