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-05-12Build: patch USD to avoid using rdtscp instruction not available on older CPUsBrecht Van Lommel
Disable the new more accurate timing code, this is not needed for Blender. In USD itself this code is disabled on macOS anyway, so it should operate fine without it. Ref T97950, T95206 Differential Revision: https://developer.blender.org/D14928
2022-05-09Deps/CMake: Add missing dependencies for OCIORay Molenkamp
OCIO could build before pystring and imath due to OCIO missing the dependencies on these two projects No rebuild required as the build would have failed during the libs build if you ran into this issue.
2022-05-09Build: disable usage of GLEW, CLEW, CUDA, GLFW in OpenSubdivBrecht Van Lommel
The previous 3.1 libraries (accidentally) used glApi instead of GLEW and were working for GPU subdivision, so revert to that. There's a suspected conflict with Blender's own bundled GLEW or other issue with GLEW, causing the crash in T97737. The current GPU subdivision implementation does not need OpenCL, CUDA or GLFW. So also remove libraries needed for that. It's simpler to stick to compute shaders in OpenGL/Vulkan/Metal and not involve additional APIs. Ref T95206 Differential Revision: https://developer.blender.org/D14898
2022-05-02Blender 3.2 - 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-04-29Fix missing NanoVDB patch for HIP support, after unifying with OpenVDBBrecht Van Lommel
This patch has also been contributed upstream, so will not be needed anymore soon. Also automatically clear cached variables for new nanovdb location in libs.
2022-04-29CMake: harvest nanovdb from its new locationSybren A. Stüvel
NanoVDB is now bundled with OpenVDB (since rBb9c37608a9e) instead of a separate package. This still doesn't include our patch to support AMD HIP; that'll be committed separately soon.
2022-04-29Build: disable Metal for USD libraries also, it fails to build without OpenGLBrecht Van Lommel
This only affects macOS. Ref D14792
2022-04-28Deps:Specify versions for implicit python modulesRay Molenkamp
D14686 added autopep8 which implicitly dragged in toml and pycodestyle which were not versioned, this diff adds explicit versions of these deps so there won't be any version changes if we rebuild in the future. Reviewed By: brecht, sybren Differential Revision: https://developer.blender.org/D14793
2022-04-28CMake: Reduce dependencies of USDSybren A. Stüvel
`PXR_ENABLE_OSL_SUPPORT=OFF`: OpenShadingLanguage is an optional dependency of the Imaging module. However, since that module was included for its support for converting primitive shapes (sphere, cube, etc.) to geometry, OSL is not necessary. Disabling it will make it simpler to build Blender; currently only Cycles uses OSL. `PXR_ENABLE_GL_SUPPORT=OFF`: GL support on Linux also links to X11 libraries. Enabling it would break headless or Wayland-only builds. OpenGL support would be useful if someone wants to work on a Hydra viewport in Blender; when that's actually being worked on, we could patch in a new PXR_ENABLE_X11_SUPPORT option (to separate OpenGL from X11) and contribute it upstream. `PXR_BUILD_OPENIMAGEIO_PLUGIN=OFF`: It's used for loading image textures in Hydra Storm / Embree renderers which we don't use. Reviewed By: LazyDodo, brecht, makowalski Differential Revision: https://developer.blender.org/D14792
2022-04-26deps_builder/robinmap: remove file copy on windowsRay Molenkamp
- It's not needed, since it's a build time dependency only. - It was setup to copy to the wrong folder.
2022-04-26build_deps.cmd: prevent over-subscription of the cpu.Ray Molenkamp
/maxcpucount:1 and /m are the same option with the latter one using all cores available, leading to the situation where msbuild would start N side by side project builds that all tried to use N cores as well. leading to severe memory and compute starvation during the deps build.
2022-04-25Build: add autopep8 to bundled Python packagesBrecht Van Lommel
For use in "make format" to automatically format Python code, see D14686. Differential Revision: https://developer.blender.org/D14716
2022-04-25CMake: harvest zero-level SO filesSybren A. Stüvel
Zero-level is built as shared library at the moment, so better to harvest `*.so*` instead of `*.a`.
2022-04-25Revert "CMake: add harvesting of `fmt` library"Sybren A. Stüvel
This reverts commit 7c55a7ccca9b22da2fb213a3903963277968a46f. `fmt` is only a build-time OIIO dependency and doesn't need to be bundled with Blender.
2022-04-25CMake: add harvesting of `fmt` librarySybren A. Stüvel
The library was built with `make deps`, but not installed. Now it is.
2022-04-21install_deps: Update USD to 22.03.Bastien Montagne
Add back a patch wrongly removed by rBb9c37608a9e9, and add another fix, for gcc11 build support. Re {T95206}.
2022-04-20Build: upgrade many library dependencies to new versions for Blender 3.2Ray Molenkamp
This only updates the build system, precompiled libraries for the various platforms will be committed over the coming week. New: fmt 8.0.0 level_zero v1.7.15 pystring v1.1.3 robinmap v0.6.2 webp 1.2.2 Updated: alembic 1.8.3 blosc 1.21.1 boost 1.78.0 embree 3.13.3 ffmpeg 5.0 fftw 3.3.10 flac 1.3.4 imath 3.1.4 ispc v1.17.0 jpeg 2.1.3 ogg 1.3.5 oidn 1.4.3 openal 1.21.1 opencolorio 2.1.1 openexr 3.1.4 openimageio v2.3.13.0 openjpeg 2.4.0 opensubdiv v3_4_4 openvdb 9.0.0 osl 1.11.17.0 sdl 2.0.20 tbb 2020_u3 tiff 4.3.0 usd 22.03 vorbis 1.3.7 vpx 1.11.0 x264 35fe20d1b zlib 1.2.12 Implemented by Ray Molenkamp, Sybren Stüvel and Brecht Van Lommel. Ref T95206
2022-04-11install_deps: Tweak rBbc9c9631a46f, libwebp is not only a dependency from ↵Bastien Montagne
ffmpeg.
2022-04-08install_deps: only install codecs libs if building ffmpeg.Bastien Montagne
Avoid installing all the ogg, theora, xvid etc. codec lib dev packages unless we actually build ffmpeg itself. Otherwise they are not necessary for Blender build itself.
2022-04-08install_deps: Add pystring and libwebp.Bastien Montagne
Re. {T95206}.
2022-04-08install_deps: Update OpenEXR to 3.1.4, Add Imath 3.1.4.Bastien Montagne
This has been... painful to get working.
2022-04-08install_deps: proper update of OpenVDB to 9.0.Bastien Montagne
Previous commit (rBrB59681a7ccdcf) was effectively doing nothing, due to weird hacks we had to do with OpenVDB 8.0 to 'integrate' NanoVDB. Now OpenVDB 9.0 natively includes NanoVDB, which allows us to greatly simplify that part of the code in install_deps.
2022-04-01install_deps: Update Embree to 3.13.3 and OIDN to 1.4.3.Bastien Montagne
Re {T95206}.
2022-04-01install_deps: Updated Alembic to 1.8.3 and OSD to 3.4.4.Bastien Montagne
Re {T95206}.
2022-03-31install_deps: Update OCIO to 2.1.1 and OIIO to 2.3.13.Bastien Montagne
Re {T95206}.
2022-03-31install_deps: Update openVDB to 9.0.Bastien Montagne
Re {T95206}.
2022-03-31install_deps: default boost version to 1.78 and TBB to 2020_U3.Bastien Montagne
Re T95206.
2022-03-24Fix `make source_archive_complete` for release branchesDalai Felinto
In Blender 3.1 we can't run the source_archive_complete because the cmake program is trying to download the packages from svn trunk. However 3.2 (aka master) already changed the version of some of the source packages. For example the OpenXR-SDK. It should be looking for OpenXR-SDK-1.0.17.tar.gz in: https://svn.blender.org/svnroot/bf-blender/tags/blender-3.1-release/lib/packages/ But instead it tries to look for it in: https://svn.blender.org/svnroot/bf-blender/trunk/lib/packages/ Which can't be found since it was replaced with OpenXR-SDK-1.0.22.tar.gz --- Release checklist: https://wiki.blender.org/wiki/Process/Release_Checklist The release checklist was updated to include the new instructions: `In the release branch, update and uncomment BLENDER_VERSION in download.cmake` Differential Revision: http://developer.blender.org/D14292
2022-03-22CMake: prep USD build & find scripts for USD >= 21.11Sybren A. Stüvel
Since USD 21.11 the libraries are prefixed with "usd_", i.e. "libusd_m.a" became "libusd_usd_m.a". This commit adjusts our `usd.cmake` (for building USD) and `FindUSD.cmake` (for finding the USD libraries) so that they work with and without this `usd_` prefix. See for more info: https://github.com/PixarAnimationStudios/USD/blob/release/CHANGELOG.md#2111---2021-11-01 Reviewed By: LazyDodo, brecht, mont29 Differential Revision: https://developer.blender.org/D14334
2022-02-22Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-22Python: bump minimum version to 3.10Campbell Barton
Since Python 3.10 is now supported on all platform, bump the minimum version to reduce the number of Python versions that need to be supported simultaneously. Reviewed By: LazyDodo, sybren, mont29, brecht Ref D13943
2022-02-15Define CLANG_FORMAT_VERSION in install_deps.shMichael
When running `./blender/build_files/build_environment/install_deps.sh` on Ubuntu 20.04.3 LTS the following error can be seen: ``` ./blender/build_files/build_environment/install_deps.sh: line 1266: [: too many arguments ``` This error results from the call: ``` check_package_version_ge_DEB $CLANG_FORMAT $CLANG_FORMAT_VERSION ``` with `CLANG_FORMAT_VERSION` being undefined. Also as `clang-format` 13 is already released and hopefully didn't break anything `CLANG_FORMAT_VERSION_MEX` could use version bump. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D13924
2022-02-11File headers: add missing copyright, add MIT to SPDX licensesCampbell Barton
2022-02-11File headers: use SPDX license for CMake filesCampbell Barton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-10Deps: upgrade OpenXR 1.0.17 -> 1.0.22Peter Kim
Simple upgrade of OpenXR to 1.0.22, following the steps from https://wiki.blender.org/wiki/Source/OpenXR_SDK_Dependency and rBb69ab42982a1. No changes to Blender code were necessary, only a version bump. The primary motivation for this upgrade is to utilize the `XR_HTCX_vive_tracker_interaction` extension introduced in ver. 1.0.20. However, the latest release (1.0.22) also adds a number of potentially useful extensions such as: - `XR_FB_render_model` - `XR_HTC_facial_expression` - `XR_HTC_vive_focus3_controller_interaction` Ref T95206 Reviewed By: LazyDodo, sybren, mont29 Maniphest Tasks: T95206 Differential Revision: https://developer.blender.org/D13950
2022-02-04Merge branch 'blender-v3.1-release'Clément Foucault
2022-02-04deps_builder: Update to freetype 2.11.1Ray Molenkamp
Required to solve a crash on windows (T95367) Mostly an uneventful update, except for FreeType giving its cmake options a rename. Reviewed By: brecht, sybren Differential Revision: https://developer.blender.org/D13968
2022-01-31Fix (unreported) install_deps: wrong order of actions in python handling.Bastien Montagne
We need to get installed version of python *after* we actually install/update the package.
2022-01-31Fix: Specify exact Python version for python3-dev on Debian&UbuntuMichael
This commit specifies the exact Python version which is included in the package name, thereby allowing `install_deps.sh` to suggest "`-D PYTHON_VERSION=3.10`" correctly. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D13925
2022-01-27install_deps: Downgrade python-ztandard to 0.16.0.Bastien Montagne
Higher version requires a new version of the ztandard library itself. Ref. T93161/D13922.
2022-01-27Downgrade Python zstandard module to 0.16.0Sybren A. Stüvel
Downgrade the Python zstandard from 0.17.0 to 0.16.0. The Python package should be linked against the exact same version of libzstd as Blender is, otherwise it will refuse to load from within the Blender executable. Python zstandard 0.17.0 links to 1.5.1, whereas we need 1.5.0.
2022-01-27install_deps: Update OSL to 1.11.17.0 for llvm13 compatibility.Bastien Montagne
While install_deps tries to stay as close as possible from official Blender versions of the libraries, it also strives to use as many distro packages as possible. OSL 1.11.16.0 is the minimal version that builds with llvm13, which is the default llvm/clang version in e.g. Debian testing.
2022-01-27install_deps: Update python and deps versions as per T93161/D13922.Bastien Montagne
2022-01-27Deps builder: Python 3.10.2Ray Molenkamp
Also included: IDNA 3.2 -> 3.2 Charset Normalizer 2.0.6 -> 2.0.10 UrlLib3 1.26.7 -> 1.26.8 Requests 2.26.0 -> 2.27.1 Cython 0.29.24 -> 0.29.26 ZStandard 0.15.2 -> 0.17.0 Numpy 1.12.2 -> 1.22.0 Reviewed by: brecht Differential Revision: https://developer.blender.org/D13922
2022-01-25Deps builder: add VS2019, remove 2013/2015 supportRay Molenkamp
This will allow building most deps with VS2019 SDL has some linker issues that are resolved in a newer version, but that would be better handled in a separate change. VS2013 and VS2015 support which was broken has been removed.
2022-01-24Cleanup: clang-formatCampbell Barton
2022-01-21deps/win: fix typo in brotli.cmakeRay Molenkamp
it was harvesting to the zstd folder which is not where these libs ought to be.
2022-01-21Cmake/Deps: Freetype 2.11.0 / brotli 1.0.9Ray Molenkamp
The UI team requested adding woff2 support to freetype. this required a new dependency brotli. This changes adds brotili to the builder and bumps freetype to version 2.11.0 As freetype now depends on other libraries, for consistency all use of ${FREETYPE_LIBRARY} in cmake has been updated to use ${FREETYPE_LIBRARIES} adjustments have been made in the windows platform file, all other platforms use cmake's FindFreeType.cmake which already sets this variable. reviewed by: brecht Differential Revision: https://developer.blender.org/D13448
2022-01-17InstallDeps: Increase 'MEX' version of llvm to 14.Bastien Montagne
llvm 13 is now default on debian testing, tried it quickly and it seems to work fine, so raising exclusive maximum value for it to 14.