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-06-02install_deps: Add support for oneAPI Level Zero library.Bastien Montagne
2022-06-02install_deps: raise default ffmpeg version to 5.0, minimum 4.0.Bastien Montagne
Ref. T98555.
2022-06-02Cleanup: remove "<pep8 compliant>" from headersCampbell Barton
It can be assumed that all scripts comply with basic pep8 formatting regarding white-space, indentation etc. Also remove note in best practices page & update `tests/python/pep8.py`. If we want to exclude some scripts from make format, this can be done by adding them to `ignore_files` in: source/tools/utils_maintenance/autopep8_format_paths.py Or using `# nopep8` for to ignore for individual lines. Ref T98554
2022-05-31Do not provide python libraries for linking if building python moduleCampbell Barton
When building blender as a python module, such as for inclusion in a wheel, it is not permitted to link against python libraries. This diff does so by simply unsetting the library when building blender as a python module, instead of the more heavyweight solution of switching to the cmake FindPython module. Reviewed By: LazyDodo, campbellbarton Ref D15012
2022-05-13Merge branch 'blender-v3.2-release'Campbell Barton
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-11Cleanup: spelling in comments/stringsCampbell Barton
D14918 from @linux_dr with some other changes included.
2022-05-10Merge branch 'blender-v3.2-release'Clément Foucault
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-05Win32: Dark Mode Title Bar ColorHarley Acheson
Blender will respect Windows "Dark Mode" setting for title bar color. See D14847 for details. Differential Revision: https://developer.blender.org/D14847 Reviewed by Ray Molenkamp
2022-05-05Cleanup: mark library locations as advancedCampbell Barton
2022-05-02Revert "Blender 3.2 - Beta"Thomas Dinges
This reverts commit da46ed9116cd3a82f440cfec180728f0b3871d9c.
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-29Windows: make.bat change python detection orderRay Molenkamp
Given we are officially on 3.10 now, look for that version first, followed by any future version before falling back to 3.9
2022-04-29Fix CMake error in new builds after previous NanoVDB fixBrecht Van Lommel
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-28Fix T97666: Blender not starting on macOS 10.14 after library upgradeBrecht Van Lommel
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 `^NANOVDB` to variables to reset after library upgradeSybren A. Stüvel
Cycles needed this to build properly after switching to the newly built libraries.
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: updates for Blender to build against new 3.2 librariesBrecht Van Lommel
Building against the existing 3.1 libraries should continue to work, until the precompiled libraries are committed for all platforms. * Enable WebP by default. * Update Windows for new library file names. * Automatically clear outdated CMake cache variables when upgrading to new libraries. * Fix static library linking order issues on Linux for OpenEXR and OpenVDB. Implemented by Ray Molenkamp, Sybren Stüvel and Brecht Van Lommel. Ref 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-20Cleanup: run autopep8 on build_files/Campbell Barton
Replace multiple hashes with over-lines for make_source_archive.py.
2022-04-18Build: link with GameController and CoreHaptics frameworks on macOSBrecht Van Lommel
In preparation of upcoming SDL upgrade, which uses these.
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-05Cycles: Use USD dependencies when building Hydra render delegatePatrick Mours
Adds support for linking with some of the dependencies of a USD build instead of the precompiled libraries from Blender, specifically OpenSubdiv, OpenVDB and TBB. Other dependencies keep using the precompiled libraries from Blender, since they are linked statically anyway so it does't matter as much. Plus they have interdependencies that are difficult to resolve when only using selected libraries from the USD build and can't simply assume that USD was built with all of them. This patch also makes building the Hydra render delegate via the standalone repository work and fixes various small issues I ran into in general on Windows (e.g. the use of both fixed paths and `find_package` did not seem to work correctly). Building both the standalone Cycles application and the Hydra render delegate at the same time is supported now as well (the paths in the USD plugin JSON file are updated accordingly). All that needs to be done now to build is to specify a `PXR_ROOT` or `USD_ROOT` CMake variable pointing to the USD installation, everything else is taken care of automatically (CMake targets are loaded from the `pxrTargets.cmake` of USD and linked into the render delegate and OpenSubdiv, OpenVDB and TBB are replaced with those from USD when they exist). Differential Revision: https://developer.blender.org/D14523
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-26Windows/Installer: Fix capital B in shortcutRay Molenkamp
the shortcut placed on the desktop and in the start menu on windows were labelled `blender` rather than `Blender` spotted by @Severin
2022-03-25MSVC: Fix build issue with webpRay Molenkamp
The webp variables should only be set if the libs actually exist in the lib folder
2022-03-25Cleanup: sort cmake file listsCampbell Barton
2022-03-25ImBuf: Add support for WebP image formatAaron Carlisle
Currently only supports single image frames (no animation possible). If quality slider is set to 100 then lossless compression will be used, otherwise lossy compression is used. Gives about 35% reduction of filesize save when re-saving splash screens with lossless compression. Also saves much faster, up to 15x faster than PNG with a better compression ratio as a plus. Note, this is currently left disabled until we have WebP libs (see T95206) For testing precompiled libs can be downloaded from Google: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html Differential Revision: https://developer.blender.org/D1598
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