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-11-03Revert "Blender 3.4 - Beta"Thomas Dinges
This reverts commit 666135c32af3032d1e6c62ee953d65f399da7d0f.
2022-11-03Blender 3.4 - 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-11-03Cleanup: cmake comment line lengthCampbell Barton
2022-11-01Build: bump expat version to 2.5.0 to address CVE-2022-43680Brecht Van Lommel
2022-11-01deps: openPGL 0.4.1-betaRay Molenkamp
2022-10-31Build: ignore more CVEs from tiff command line tools that we don't useBrecht Van Lommel
2022-10-26deps_builder: fix hardcoded pathRay Molenkamp
the windows builder has 2 different build folders for the debug and release libs, hardcoding the path like this leads to an extra 1GB of downloaded files. The windows builder supplies a single PACKAGE_DIR for both but gets ignored. This change promotes PACKAGE_DIR to be cached in CMakeCache so it can be changed if needed. Differential Revision: https://developer.blender.org/D16213 Reviewed by; brecht, dfelinto
2022-10-25Build: fix/workaround for the opencollada.diff not applying on LinuxCampbell Barton
2022-10-21deps_builder: expose FORCE_CHECK_HASH as an optionRay Molenkamp
The check was already there, but given it was not exposed as an option it didn't show up in my cmakecache and i got tired of having to lookup the exact name all the time.
2022-10-21Cycles: Bump versions of DPC++, IGC, and dependenciesSergey Sharybin
Patch by Xavier Hallade. Committing next to the actual libraries update in the svn.
2022-10-21deps_builder: add missing OSLNoise library on windowsRay Molenkamp
OSLNoise is a new library, was missing in the debug configuration on windows.
2022-10-21deps_builder: OpenCollada fixes for windowsRay Molenkamp
- build and use our version of libxml - the cli tools had a linker error due to it trying to link a shared version of libxml, disabled both and zlib 1.2.3 with a patch since we do not want/need them for blender. - postfix the libraries with _d for debug automatically so we don't have to fix that during the harvest. due to this only being windows changes no rebuild needed for the other platforms.
2022-10-20deps_builder: fix missing png harvest on windowsRay Molenkamp
2022-10-20Build: mark remaining CVEs reported by cve_check as mitigated or ignoredBrecht Van Lommel
After the last library update cve_check still reported some false positives. One GMP issues was mitigated with a patch in the library update. The others are ignored, with a description explaining why they do not affect Blender. Ref D16269, T101403
2022-10-20Build: update various libraries for 3.4, fixing bugs and security issuesRay Molenkamp
THis is bumping dependencies to fix known CVEs, with the exception of OpenImageIO which also includes bugfixes for performance and correctness with some image types. zlib 1.2.12 -> 1.2.13 freetype 2.11.1 -> 2.12.1 openimageio 2.3.13.0 -> 2.3.20.0 python 3.10.2 -> 3.10.8 openjpeg 2.4.0 -> 2.5.0 ffmpeg 5.0 -> 5.1.2 sndfile 1.0.28 -> 1.1.0 xml2 2.9.10 -> 2.10.3 expat 2.4.4 -> 2.4.9 openssl 1.1.1g/i -> 1.1.1q sqlite 3.31.1 -> 3.37.2 Notable changes: * AOM: the hack we had in place to make it not detect pthreads on windows no longer worked with a more recent cmake version. Disabled pthreads with a diff on Windows. * Python: embedded copy of zlib 2.1.12 swapped out for our 2.1.13 copy with some folder manipulation on Windows. * Freetype: was harbouring a copy of zlib 2.1.12 as well, so that had to end. * FFmpeg: patch used to fix D11796 is no longer needed. Add new patch to deal with simple_idct.asm generating an object file with no sections in it, backport from upstream commit. * TinyXML: still being downloaded but no longer used by OpenColorIO, removed. * GMP applied upstream patch to fix CVE-2021-43618, as there is no release yet. * SQLite and Libsndfile patches no longer needed. Includes contributes by Ray Molenkamp, Campbell Barton and Brecht Van Lommel. Ref T101403 Differential Revision: https://developer.blender.org/D16269
2022-10-20Build: update OpenPGL hash for re-tagged version without symbols conflictsRay Molenkamp
Ref D16269, T101403
2022-10-20Build: update OSL to version 1.12.6.2Ray Molenkamp
Required changes to make OSL pick up the new oslnoise library. Ref D16269, T101403
2022-10-18Build: get make deps working with Xcode command line toolsBrecht Van Lommel
Deduplicating code with Xcode detection for Blender builds.
2022-10-14Deps: Updating OpenPGL 0.4.0 hash valueSebastian Herholz
2022-10-14Deps: use the locally built wayland-scanner for wayland_protocolsCampbell Barton
This removes the dependency on wayland-devel, with some potential for errors caused from using two different versions. Note that the generated files are currently unchanged.
2022-10-13Build: Upgrading OpenPGL version to 0.4.0Sebastian Herholz
2022-10-11deps_builder: add missing openpgl config fileRay Molenkamp
harvesting openpgl_Exports-debug.cmake was missing for windows in the build script, and we manually added it to svn when openpgl landed when we realized it was missing. This fixes the issue at the root of the problem, so the file will not be missing for future updates.
2022-10-10deps_builder: Add support for cve-bin-toolRay Molenkamp
This change adds support for intels cve-bin-tool [1] in the deps builder. This adds 2 new targets to the builder that do not build automatically but can be build on demand when required. `make cve_check` will output to the console. `make cve_check_html` will output a html file that can be shared with other people. Requirements: - A working installation of cve-bin-tool on the system Not required but higly recommended: - Obtaining a key from the nvd [2] to speed up the database download. you can pass the key to cmake using `-DCVE_CHECK_NVD_KEY=your_api_key` [1] https://github.com/intel/cve-bin-tool [2] https://nvd.nist.gov/developers/request-an-api-key Reviewed By: brecht Differential Revision: https://developer.blender.org/D16160
2022-10-08Deps: add libdecor for Wayland window framesCampbell Barton
Include libdecor, note that this only bundles a header file as Blender dynamically loads on the system at run-time. Part of D16091.
2022-10-08Deps: harvest Wayland headers, build Wayland librariesCampbell Barton
The headers on centOS7 (Wayland 1.15) aren't compatible with the headers generated by wayland-scanner 1.20. Include the headers to support building Wayland on systems with older Wayland installed. Using these headers will be part of a separate commit. Part of D16091.
2022-10-06Build Environment: Update Ubuntu instructions to include bisonDalai Felinto
Ubuntu also requires bison (just like macOS seems to do).
2022-10-05deps_builder: harden the package download processRay Molenkamp
During the 3.3 release some packages were missing in SVN during the release and it ended up building the release tarball without issues when re-running the `make source_archive_complete` command after it failed initially. The tarball however had 0 byte files for the missing packages.... not good. This diff hardens the download process by : 1) Validating all required variables are set. This catches the erroneously attempt at downloading the nanovdb package even though we have removed it from versions.cmake but neglected to remove it from download.cmake 2) When a download fails (due to either a missing package, or bad download URL) FILE Download will warn about a hash mismatch but will carry on happily, you then have to go into the file system go delete the 0 byte file to retry the download. We know for a fact the file is bad when it is 0 bytes, just delete it. 3) When we are using the blender repository (and likely building a source archive) explicitly validate the hash of all packages. Normally the build process does this, however when building a source archive the build does not actually run for a dep. So preform this check during the configuration stage. Reviewed By: brecht Differential Revision: https://developer.blender.org/D16124
2022-10-05Build: fix missing xml2 build time dependency for waylandCampbell Barton
Also prepend the existing 'PKG_CONFIG_PATH' instead of overwriting it as this prevents 'devtoolset-9' libraries being used in the release environment.
2022-09-29Cleanup: cmake indentationCampbell Barton
2022-09-27Deps: 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-09-27Build: 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-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-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-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-18Merge branch 'blender-v3.3-release'Bastien Montagne
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-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-09Cleanup: CMake file indentationCampbell Barton
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-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