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-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-17deps/windows: bzip2 1.0.8 for pythonRay Molenkamp
backport of python PR 31735 [1] [1] https://github.com/python/cpython/pull/31735
2022-07-29install_deps: Add handling of libaom, update ffmpeg build for it.Bastien Montagne
Ref T98555.
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-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-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-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
2022-06-29Cycles: Add support for rendering on Intel GPUs using oneAPIXavier Hallade
This patch adds a new Cycles device with similar functionality to the existing GPU devices. Kernel compilation and runtime interaction happen via oneAPI DPC++ compiler and SYCL API. This implementation is primarly focusing on Intel® Arc™ GPUs and other future Intel GPUs. The first supported drivers are 101.1660 on Windows and 22.10.22597 on Linux. The necessary tools for compilation are: - A SYCL compiler such as oneAPI DPC++ compiler or https://github.com/intel/llvm - Intel® oneAPI Level Zero which is used for low level device queries: https://github.com/oneapi-src/level-zero - To optionally generate prebuilt graphics binaries: Intel® Graphics Compiler All are included in Linux precompiled libraries on svn: https://svn.blender.org/svnroot/bf-blender/trunk/lib The same goes for Windows precompiled binaries but for the graphics compiler, available as "Intel® Graphics Offline Compiler for OpenCL™ Code" from https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html, for which path can be set as OCLOC_INSTALL_DIR. Being based on the open SYCL standard, this implementation could also be extended to run on other compatible non-Intel hardware in the future. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D15254 Co-authored-by: Nikita Sirgienko <nikita.sirgienko@intel.com> Co-authored-by: Stefan Werner <stefan.werner@intel.com>
2022-06-28Build: remove GLEW version checking from install_deps.shBrecht Van Lommel
Latest OpenSubdiv builds without GLEW by default, which is also what we do for precompiled libraries. So there is no need for compatibility checking with system GLEW. Additionally WITH_SYSTEM_GLEW is turned off by default for Blender, and this logic was presumably added when it was still on by default a few years ago. Also remove outdated mention of glew-mx, we use intern/glew-mx and no external library for this. Differential Revision: https://developer.blender.org/D15281
2022-06-28Cleanup: fix various typosluzpaz
Differential Revision: https://developer.blender.org/D15304
2022-06-28Install_deps: Fix several issues with TBB.Bastien Montagne
* TBB MEX version is now 2021, since this versin introduces 'oneTBB' which brings a lot of incompatibilities with previous versions. * Fix several typos and mistakes in OSD, Embree and OIDN build code that prevented proper usage of a local TBB build.
2022-06-27Cleanup: formatCampbell Barton
2022-06-22Cleanup: simplify macOS make deps instructionsBrecht Van Lommel
2022-06-20Build Deps: Disallow looking for Python in registry for ISPCSergey Sharybin
Should prevent accidental use of wrong Python.
2022-06-20Build Deps: Pass Python3 root to ISPCSergey Sharybin
Following what is done for LLVM. Being consistent feels good here. Not strictly needed as the build here passed anyway, but it does feel good to be consistent.
2022-06-20Build Deps: Fix ISPVC and OIDN compilation on fresh WindowsSergey Sharybin
Make them to use self-compiled Python, similar to previous fixes for other libraries.
2022-06-17deps: fix llvm using system pythonRay Molenkamp
llvm was using system python, rather than our copy this went unnoticed on both linux and windows until sergey tried to build the deps on a clean system with no system python installed.
2022-06-15depsbuilder: build_deps.cmd look for pythonw rather than pythonRay Molenkamp
There is a check to be sure no system python is in the path on windows to be sure deps do not accidentally build against it. The problem arises on certain versions of windows that ship a python.exe that just opens up the MS store to download their python version. The check takes this to be a real python installation and refuses to build. This change fixes the issue by looking for pythonw.exe which a real python install would have, but the MS store opening one that windows ships (as of now) would not.
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-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-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-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-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.