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
2022-10-03Cleanup: cmake indentationCampbell Barton
2022-10-03Fix macOS cmake warning about missing OpenAL, after Python module changesBrecht Van Lommel
2022-10-03Cycles: add Path Guiding on CPU through Intel OpenPGLSebastian Herhoz
This adds path guiding features into Cycles by integrating Intel's Open Path Guiding Library. It can be enabled in the Sampling > Path Guiding panel in the render properties. This feature helps reduce noise in scenes where finding a path to light is difficult for regular path tracing. The current implementation supports guiding directional sampling decisions on surfaces, when the material contains a least one diffuse component, and in volumes with isotropic and anisotropic Henyey-Greenstein phase functions. On surfaces, the guided sampling decision is proportional to the product of the incident radiance and the normal-oriented cosine lobe and in volumes it is proportional to the product of the incident radiance and the phase function. The incident radiance field of a scene is learned and updated during rendering after each per-frame rendering iteration/progression. At the moment, path guiding is only supported by the CPU backend. Support for GPU backends will be added in future versions of OpenPGL. Ref T92571 Differential Revision: https://developer.blender.org/D15286
2022-10-03Deps: fix builing wayland-scannerSybren A. Stüvel
- fix the source package download URL - patch the `meson.build` file to allow the CentOS 7 meson version to be used - only build what we need (`wayland-scanner`), and not the libraries, documentation, and tests. Ref: D16074 This also reverts commit f6664217b3214be869afb732d1d5bfc471a88e9a "Build: temporarily disable wayland dependency".
2022-10-03Build: temporarily disable wayland dependencyCampbell Barton
This caused problems on centos7, see D16074 for details.
2022-09-27Build: add wayland to deps buildCampbell Barton
This is needed to ensure and up to date "wayland-scanner" is used, as versions before 1.20.0 generate headers incompatible with dynamic linking (WITH_GHOST_WAYLAND_DYNLOAD). As the centos7 version of wayland is 1.15 so make this part of Blender's dependencies on Linux. We intend to enable Wayland for Blender 3.4 release, this is needed for the build-bot. Reviewed By: brecht Ref D16074
2022-09-27Revert "Cleanup: remove redundant WITH_GHOST_WAYLAND check"Campbell Barton
This reverts commit 7fa7c7ceda3df8d522b8f5a407a697987669033c. The check was not redundant, it accounted for wayland not being found.
2022-09-27Build: add missing include for opencolorioCampbell Barton
OpenColorIO failed to build on Linux+GCC-12.2 because of strlen() use.
2022-09-27Cleanup: remove redundant WITH_GHOST_WAYLAND checkCampbell Barton
2022-09-27Cleanup: remove unnecessary argument to else() in CMakeCampbell Barton
We have moved away from duplicating arguments in else() and endif() commands.
2022-09-27Cleanup: correct indentation of harvest.cmakeCampbell Barton
2022-09-27Build: add OpenPGL as to deps buildsSebastian Herhoz
Ref T92571, D15286
2022-09-27Cleanup: remove workarounds and version checks for unsupported compilersCampbell Barton
Match minimum supported versions from the WIKI [0] by raising them to: - GCC 9.3.1 - CLANG 8.0 - MVCS 2019 (16.9.16 / 1928) Details: - Add CMake checks that ensure supported compiler versions early on. - Previously GCC per-processor version checks served to exclude `__clang__`, in some cases this has been replaced by explicitly excluding `__clang__`. This was needed as CLANG treated some of these flags differently to GCC, causing the build to fail. - Remove USE_APPLE_OMP_FIX GCC-4.2 OpenMP workaround. - Remove linking error workaround for old MSVC versions. [0]: https://wiki.blender.org/wiki/Building_Blender Reviewed by: brecht, LazyDodo Ref D16068
2022-09-23Cleanup: use lowercase function calls & macros in for CMakeCampbell Barton
This is already the case for most CMake usage. Although some find modules are an exception to this, as they were originally maintained externally they use some different conventions. Also corrected bad indentation in: intern/cycles/CMakeLists.txt
2022-09-20CMake: fail to build with unsupported versions of wayland-scannerCampbell Barton
When WITH_GHOST_WAYLAND_DYNLOAD is enabled.
2022-09-18Build: fix gtest build flags affecting actual libraryBrecht Van Lommel
Switch to target_ functions to avoid this.
2022-09-18Build: disable gtests entirely for Python moduleBrecht Van Lommel
To avoid test failure on Windows.
2022-09-16Fix Linux bpy wheel failing to install due to wrong ABI flagsBrecht Van Lommel
2022-09-16make_source_archive: exclude hidden git filesCampbell Barton
2022-09-16Cleanup: formatCampbell Barton
2022-09-16Cleanup: typos in 427d669f625e1408e3b4509ab5aae19fc8b0bbc1Campbell Barton
2022-09-16make_bpy_wheel: various minor improvementsCampbell Barton
- Add doc-string with example usage shown in the --help message. - Add help text for command line arguments. - Only search for the CMakeCache.txt file when the `--build-dir` is omitted. - Write fatal errors to the stderr.
2022-09-16Cleanup: suppress type warnings for make_bpy_wheel & make_utilsCampbell Barton
'make check_mypy' now runs without warnings.
2022-09-15Python: script for packing bpy module as wheelBrecht Van Lommel
The buildbot will call this script to create a binary .whl file that can be easily installed through pip. This wheel will only work with the same Python version used for Blender. Other minimum system requirements are the same as regular Blender builds. Includes contributions by Campbell Barton. Differential Revision: https://developer.blender.org/D15957
2022-09-15Python: fix failing bpy build with full release config on WindowsBrecht Van Lommel
* Fix issue with different build and install paths. * Fix issue with oneAPI kernel build. Ref D15957
2022-09-15Python: fix failing tests when building bpy moduleBrecht Van Lommel
* Use Python executable from lib folder since it's not installed. * Make bpy module test work for portable install. * Disable gtests which don't work with different Python link flags and shared library locations. Ref D15957
2022-09-15Cleanup: move Blender version parsing to make_utils.pyBrecht Van Lommel
Ref D15957
2022-09-14CMake: warn when "bpy" installs into the site-packages from LIBDIRCampbell Barton
Using "../lib" as a target is unlikely to be useful, add a warning & suggest alternatives.
2022-09-13Fix broken Cycles Metal build after recent changesBrecht Van Lommel
It was unable to find the Metal framework, thanks to Alaska for tracking this down.
2022-09-13Fix compilation on Linux, glibc 2.34, and CentOS librariesSergey Sharybin
A continuation of previous fix for malloc hooks which got removed from the new glibc library. The pre-compiled jemalloc has definitions which interpose hooks in glibc leading to linking errors with multiple hook definitions. A simple fix is to skip doing the workaround when using jemalloc from pre-compiled libraries. This will likely be revisited in the future, but for now it is important to fix compilation errors for developers.
2022-09-13Cleanup: improve titles for CMake sections, line lengthCampbell Barton
Also use same convention for comments as (space after #).
2022-09-13CMake: omit WITH_INSTALL_PORTABLE from bpy_module.cmakeCampbell Barton
Since this was added, Linux libraries have been included in `../lib/`. This made `make bpy` on Linux install the `bpy` module into the bundled SVN libraries which isn't very useful. Now leave WITH_INSTALL_PORTABLE unset (defaulting to ON). Python developers may reference their systems Python and disable the option if they wish for a system-wide module installation.
2022-09-13CMake: omit WITH_INSTALL_PORTABLE from the 'lite' configurationCampbell Barton
As portable is already the default, setting it meant using the lite configuration would always reset the value if was intentionally changed. This was also inconsistent as other configurations left this unset.
2022-09-13Python: update defaults for "make bpy"Campbell Barton
This was a kind of "lite" target, disabling options such as FFMPEG and ALEMBIC which may be useful to read/write data from the Python module. Now fewer options have been changed. The following options are now disabled: - Audio support (to prevent audio devices being initialized on startup). - Input device support such as NDOF and IME as there is no GUI. - Blender thumbnail extraction as it's not installed as part of the Python module. Instead of attempting to predict what is useful to enable when building as a Python module, developers can mix combine options e.g. "make bpy release" or "make bpy lite".
2022-09-10Python: on macOS, stop requiring framework for building bpy moduleBrecht Van Lommel
Build against Python from precompiled libraries by default, instead of requiring framework from python.org package install. The resulting bpy module can still be used with any Python install of the same version. Use the same CMake find module as Linux. This simplifies code, and makes it possible to manually set PYTHON_* variables in CMake configuration. Remove WITH_PYTHON_FRAMEWORK option for regular Blender build, as this doesn't work well due to missing required Python packages. Advanced users can still set PYTHON_ROOT_DIR=/Library/Frameworks/Python.framework/Versions/3.10 for the same result.
2022-09-09install_deps: update OpenVDB for Blender 3.4.Bastien Montagne
This has been a pain, newer OpenVDB forcefully trying to use more recent system TBB (oneTBB) instead of the one built by this script. Also include a few minor unrelated fixes. Ref T99618.
2022-09-09install_deps: update OIIO/Boost/Python/NumPy versions.Bastien Montagne
OIIO: 2.3.18.0 Boost: 1.80.0 Python:3.10.6 NumPy: 1.23.2 Ref T99618.
2022-09-09Fix error extracting arguments from project_source_infoLoren Osborn
Output of make encounters path names that are single-quoted. This causes the path to be misinterpreted and fail validation. Resolves error in "make check_cppcheck" Ref D15801 (partially applied)
2022-08-30Merge branch 'blender-v3.3-release'Sergey Sharybin
2022-08-30Update DPC++ to 20220812Sergey Sharybin
This was already done in the libraries SVN, just the build system changes got forgotten to be committed.
2022-08-29Build: automatically disable WITH_GHOST_WAYLAND if missing librariesBrecht Van Lommel
Same as other build options, don't make it a hard requirement to have Wayland libraries installed when it gets enabled by default. Also fixes wayland-protocols not being found on the buildbot.
2022-08-26CMake: disable IME for lite configurationCampbell Barton
2022-08-24Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-08-24Fix WITH_CYCLES_ONEAPI_BINARIES issues with make releaseBrecht Van Lommel
Fix typo in blender_release.cmake, and ensure that "make release" still works when ocloc is not available. While a fatal error is useful for debugging, the current convention is to disable features, especially in cases like this where there is no simple way to make the feature work. Differential Revision: https://developer.blender.org/D15774
2022-08-23Build: add system for shipping with dynamic libraries on Linux and macOSBrecht Van Lommel
PLATFORM_BUNDLED_LIBRARIES gathers shared libraries that will be installed to the lib/ folder. The Blender executable gets a relative rpath pointing to this folder as part of the install step. The build rpath is different and uses absolute paths, so that it works for executables like tests that are in different locations, and to support the case where the build and install folders are different. The system is already used for the OpenMP library on macOS. But on Linux it will only kick in once we start using shared libraries for dependencies. This also removes Mesa libraries from the old location, as these would cause Blender to start with software OpenGL. Ref T99618
2022-08-23Build: use package instead of git repo for sse2neonBrecht Van Lommel
More consistent with other libs and avoids issues where it would always be rebuilt.
2022-08-23check_cppcheck: skip files that hang, minor improvementsCampbell Barton
- Skip text_format_pov.c & text_format_pov_ini.c which caused cppcheck to hang. - Enable '--inconclusive' checks as they can be useful.
2022-08-22Enable oneAPI AoT binaries on WindowsSergey Sharybin
2022-08-22Enable oneAPI AoT binaries on WindowsSergey Sharybin
2022-08-22check_cppcheck: update 'glew' exclusion since it's removalCampbell Barton