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-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
2022-08-18Merge branch 'blender-v3.3-release'Sergey Sharybin
2022-08-18Enable oneAPI AoT kernels for Release on LinuxSergey Sharybin
Windows still needs some work on the buildbot side, so keep that disabled for the time being.
2022-08-18Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-18CMake: always unset CMAKE_REQUIRED_* variables after useCampbell Barton
Always unset these variables after use as they could interfere with other checks made afterwards.
2022-08-18CMake: support building with musl libclistout
Instead of using macros like GLIBC we can use the CMake build systems internal functions to check if some header or functions are present on the running system's libc. Add ./build_files/cmake/have_features.cmake to add checks for platform features which can be used to set defines for source files that require them. Reviewed By: campbellbarton Ref D15696
2022-08-17deps/windows: bzip2 1.0.8 for pythonRay Molenkamp
backport of python PR 31735 [1] [1] https://github.com/python/cpython/pull/31735
2022-08-17install_deps: replace `libglew` by `libepoxy`.Bastien Montagne
Should have been part of D15291/rBa296b8f694d1. ref. T99618
2022-08-15Cleanup OpenGL linking and related code after libepoxy mergeSebastian Parborg
This cleans up the OpenGL build flags and linking. It additionally also removes some dead code. One of these dead code paths is WITH_X11_ALPHA which actually never was active even with the build flag on. The call to use this was never called because the default initializer for GHOST was set to have it off per default. Nothing called this function with a boolean value to enable it. These cleanups are needed to support true headless OpenGL rendering. Without these cleanups libepoxy will fail to load the correct OpenGL Libraries as we have already linked them to the blender binary. Reviewed By: Brecht, Campbell, Jeroen Differential Revision: http://developer.blender.org/D15554
2022-08-15GPU: replace GLEW with libepoxyChristian Rauch
With libepoxy we can choose between EGL and GLX at runtime, as well as dynamically open EGL and GLX libraries without linking to them. This will make it possible to build with Wayland, EGL, GLVND support while still running on systems that only have X11, GLX and libGL. It also paves the way for headless rendering through EGL. libepoxy is a new library dependency, and is included in the precompiled libraries. GLEW is no longer a dependency, and WITH_SYSTEM_GLEW was removed. Includes contributions by Brecht Van Lommel, Ray Molenkamp, Campbell Barton and Sergey Sharybin. Ref T76428 Differential Revision: https://developer.blender.org/D15291
2022-08-10make_update: quiet warning when SVN lib/ contains hidden filesCampbell Barton
make_update attempted to update hidden local files, skip them instead.
2022-08-09Compositor: Rename compositor build optionOmar Emara
Currently, the compositor can be disabled using the WITH_COMPOSITOR build option. Since, we intent to always build the realtime compositor, we need to make the distinction between both compositors clear. So this patch renames the option to WITH_COMPOSITOR_CPU. Additionally, the check for the option was moved inside the compositor modules' own CMake file in preparation for the realtime compositor code. Differential Revision: https://developer.blender.org/D15622 Reviewed By: Jeroen Bakker, Ray Molenkamp
2022-08-09Cleanup: CMake file indentationCampbell Barton
2022-08-02CMake: Check if freetype is compiled with brotli supportSebastian Parborg
Because of the recent changes to our core fonts, Freetype has to support Woff2 fonts or Blender will segfault on startup. This adds an explicit check for this to inform people compiling Blender about this requirement.
2022-07-29Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-07-29Build: hide all symbols except a few required ones on LinuxBrecht Van Lommel
Instead of specifying which symbols to hide, we hide all and make a few visible. Some users may be relying on calling internal Blender functions, but Windows is already hiding all of them and this is just not supported. Fixes T99900: crash with some third-party Python libraries since OneAPI Ref T76442 Differential Revision: https://developer.blender.org/D14971
2022-07-29Merge branch 'blender-v3.3-release'Bastien Montagne
2022-07-29install_deps: Add handling of libaom, update ffmpeg build for it.Bastien Montagne
Ref T98555.
2022-07-29Merge branch 'blender-v3.3-release'Bastien Montagne
2022-07-29install_deps: bump IMath/OpenEXR to 3.1.5.Bastien Montagne
Ref T98555.
2022-07-29install_deps: add building of Alembic binaries.Bastien Montagne
Those are used by alembic regression tests.
2022-07-27Revert "Blender 3.3 - Beta"Thomas Dinges
This reverts commit 32a9aac3b84f4742937dd8fd2afc14a443cb0248.
2022-07-27Blender 3.3 - BetaThomas Dinges
* BLENDER_VERSION_CYCLE set to beta * Update pipeline_config.yaml to point to 3.2 branches and svn tags * Update and uncomment BLENDER_VERSION in download.cmake
2022-07-27deps/oiio: fix build issue on windowsRay Molenkamp
tiff now outputs tiffd.lib for debug builds oiio was not informed about this and had a build error because of it.
2022-07-27deps/alembic: add missing imath dependencyRay Molenkamp
if alembic builds before imath it'll cause a build error.
2022-07-26deps: update TIFF and OpenEXRRay Molenkamp
* OpenEXR 3.1.4 -> 3.1.5, this fixes several issues OSS fuzz found. * libtiff 4.3.0 -> 4.4.0, this fixes several CVE's. This also converts the harvest of libtiff on windows to a post install handler, there's a few left but Windows is getting close to being harvest free. Differential Revision: https://developer.blender.org/D15478
2022-07-26deps: FFmpeg vpx/aom-av1 updatesRay Molenkamp
This is a refresh of our current FFmpeg 5.0.0 (unchanged) version with the following changes: * libvpx all platforms: enable SSE3/4/AVX/AVX2 instruction sets. libvpx has a proper CPUID check in place and will not call the faster kernels unless it is sure the CPU supports it. So we can safely enable this, this partially resolves T95743 (completely on Linux and macOS). * libvpx Windows - threading was disabled due to a shared dependency on libwinpthreads.dll which we prefer not to distribute. However when configure cannot find pthreads it will happily fall back on a win32 threads based emulation layer. This also resolves the final part of T95743. * libaom-av1 - new dependency required for D14920, this is a somewhat odd dependency, it's cmake based, but still needs the perl environment setup, so we have to setup the env and call cmake our selves for the configure, build and install commands. This dep has the same libwinpthreads issue as vpx on Windows, however since it's cmake based, it's easier to prevent cmake from detecting it. Differential Revision: https://developer.blender.org/D15399
2022-07-26Partially revert "Build: Fix build of library dependencies on Linux aarch64"Sybren A. Stüvel
This reverts the Flex-related parts of commit rBef268c78933079137288e326704431432adf9ad9, as those caused a build error on CentOS 7 (which is used for the precompiled Linux libraries). CentOS 7 only has Automake 1.13, whereas after this commit version 1.15 seems to be required. Since in its patch description (D15319) it's mentioned that this "probably doesn't warrant changing", and it's actually blocking the build of the precompiled libraries for Blender 3.3 now, I'll revert the Flex-related part of the commit.
2022-07-22Cycles: enable oneAPI in Linux release buildsXavier Hallade
0f50ae131f54d51f778424d4c9655128cafbbefc didn't do it reliably since it was deactivated explicitly a bit above.
2022-07-18Build: update Embree to 3.13.4, enable Neon2x on ArmBrecht Van Lommel
* Allows Apple Silicon machines to use 8-wide BVH, which the release notes mention give an 8% performance boost. * An update to this version is also required for OpenPGL. This patch includes contributions from Jason Fielder and Sebastian Herholz. Ref D15286, T98555 Differential Revision: https://developer.blender.org/D15482
2022-07-11Deps Builder: Disable TermInfo and ncurses for DPC++Sergey Sharybin
They are not strictly needed for compilation and disabling them makes the compiler more portable without any special trickery. This change aimed to solve problem which currently happens on the API documentation build which does not have terminfo installed, but needs to compile Cycles. Note that the DPC++ is to be re-compiled.
2022-07-08Cycles: enable oneAPI in Linux release buildsXavier Hallade
with a very high min-driver version requirement, placeholder until JIT CentOS runtime compilation issue gets fixed in a defined version. min-driver version check can be worked around by setting CYCLES_ONEAPI_ALL_DEVICES environment variable.
2022-07-06GHOST/Wayland: support dynamic loading libraries for WaylandCampbell Barton
Add intern/wayland_dynload which is used when WITH_GHOST_WAYLAND_DYNLOAD is enabled (off by default). When enabled, systems without Wayland installed will fall back to X11. This allows Blender to dynamically load: - libwayland-client - libwayland-cursor - libwayland-egl - libdecor-0 (when WITH_GHOST_WAYLAND_LIBDECOR is enabled).
2022-06-30Build: Fix build of library dependencies on Linux aarch64Patrick Mours
rBb9c37608a9e959a896f5358d4ab3d3d001a70833 moved evaluation of `versions.cmake` before `options.cmake`, as a result of which `BLENDER_PLATFORM_ARM` was no longer defined in `versions.cmake`, causing it to choose the wrong OpenSSL version for aarch64. This reverts that. Also fixes a compiler crash when building flex with some glibc versions. Differential Revision: https://developer.blender.org/D15319
2022-06-30Cleanup: formatCampbell Barton