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-11Fix CMake error when pkg-config is not installedBrecht Van Lommel
Don't assume xxx_FOUND variables are defined.
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-03CMake: workaround unsupported cmake_path(IS_PREFIX ..) in v3.20Campbell Barton
Add a macro that implements something similar to cmake_path's IS_PREFIX which isn't supported in older versions of CMake. This caused the build-bot to fail.
2022-11-03Cleanup: cmake comment line lengthCampbell Barton
2022-11-01CMake/MSVC: Disable ASAN for developer buildsRay Molenkamp
ASAN is more often broken than working depending on the MSVC version you have. As it is causing too many support incidents of people that unknowingly turned ASAN on by running `make developer` and running into issues starting blender due to the broken ASAN support in MSVC. This commit changes the default not enable it for MSVC in the developer profile. Devs that still want to enable it can do so though turning WITH_COMPILER_ASAN on in their CMakeCache.txt or by running `make developer asan`
2022-11-01Build: bump expat version to 2.5.0 to address CVE-2022-43680Brecht Van Lommel
2022-11-01Update OCLOC version used on WindowsSergey Sharybin
This only affects Windows since Linux uses pre-compiled OCLOC version.
2022-11-01CMake: mark Wayland variables advancedCampbell Barton
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-31Fix bpy wheel build error on Windows, where there are no abi flagsBrecht Van Lommel
2022-10-31make_update: support updating "lib" as a single repositoryCampbell Barton
With a full SVN checkout of "../lib", updating all paths is slower than running an update on the whole repository at once. Also collect paths and run the update in separate passes, this avoids some duplicate checks such as checking the svn command exists.
2022-10-31make_update: add type hintsCampbell Barton
2022-10-29make.bat: skip SVN update when running make code_updateRay Molenkamp
regression from rB116d7b0042bba7d6cabd8e04c7d020ac3816caf3
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-21Build: add option to error when features can't be enabledBrecht Van Lommel
This is to help ensure buildbot builds are correct, while still gracefully disabling features in user/developer builds. * Add WITH_STRICT_BUILD_OPTIONS to give an error when features can't be enabled due to missing libraries or other reasons. Add new macro set_and_warn_library_found used everywhere features were being automatically disabled. * Remove code from Windows and macOS for various libraries that would automatically disable features. set_and_warn_library_found could be used here also, but we are generally assuming the precompiled libraries are complete and only test for availability when libraries are just added. Differential Revision: https://developer.blender.org/D16104
2022-10-21Build: disable JACK option in macOS releasesBrecht Van Lommel
It has not actually been enabled there for a long time in official releases, so this just fixes the warning. Making it work again would be good, but for now JACK is only supported on Linux.
2022-10-21Fix missing OpenMP in Linux buildsSergey Sharybin
OpenSubdiv OpenMP detection was interfering, but we don't use it there anymore so just remove that code.
2022-10-21make.bat: update the libraries before calling update_sources.pyRay Molenkamp
The issue we ran into a lot is we have a python script that updates git+SVN. Which works fine most of the time, except when we have a python update in SVN, or worse a python version change. Python really doesn't enjoy having its files being deleted or changed while it is running and users generally end up with a corrupted lib folder. This change updates the library folder using svn.exe first before letting the python script run sidestepping the issue in most cases. The python script will still run and do the more elaborate work like updating git and switching SVN branches which could still run into issues cause python still doesn't like being changed while running but there's not a whole lot we can about that, for *most* people however things will just work now.
2022-10-21Cycles: oneAPI: migrate from deprecated APIs, require libSYCL 6.0+Xavier Hallade
sycl::info::device::ext_intel_* descriptors are deprecated, replaced with sycl::ext::intel::info::device:: that are available from 6.0+, for which we now check version in CMake.
2022-10-21cmake/windows: Prepare for 3.4 library changes for opencolladaRay Molenkamp
The opencollada dependency will be using an external xml2 library for 3.4. This change allows to build against both old and new style lib folders. As it is a C library it did not need a special debug version.
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-21install_deps: Update OSL for Blender 2.4 release.Bastien Montagne
As requested by T101403, OSL version is now 1.12.6.2.
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-20install_deps: Update Python, OIIO, openPGL and FFMPEG versions.Bastien Montagne
Update libraries for Blender 3.4, according to T101403: * python: 3.10.8 * OIIO: 2.3.20.0 * OpenPGL: 0.4.0-beta * FFMpeg: 5.1.2
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-19Cycles: oneAPI: fix libsycl.so files harvestingXavier Hallade
was missing libsycl.so.5.7.0-16 when using such version.
2022-10-18Build: get make deps working with Xcode command line toolsBrecht Van Lommel
Deduplicating code with Xcode detection for Blender builds.
2022-10-17Fix OpenPGL and OneAPI being detected by CMake when Cycles is disabledBrecht Van Lommel
2022-10-17Fix Wayland not being disabled when dependencies are not foundBrecht Van Lommel
2022-10-14Deps: Updating OpenPGL 0.4.0 hash valueSebastian Herholz
2022-10-14Deps: include libxkbcommon-devel for Linux build script, remove waylandCampbell Barton
- Include libxkbcommon headers: needed for building Blender with Wayland. - Remove Wayland libraries (now wayland is built locally). - Split up packages into two lists, one for building libs, another for building Blender - since it's useful to be able to build Blender, testing the libs work as expected.
2022-10-14Deps: add comments noting why packages are installedCampbell Barton
Some don't seem to be needed anymore, noted these in comments too.
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-13install_deps: Add system libdecor dev package.Bastien Montagne
ref. T101403
2022-10-13Build: use bash for build environment scriptCampbell Barton
- Prefer bash over sh to so it's unambiguous which features can be used. - Use array syntax to specify main package list, allowing to comment why packages are required and making git-blame easier to track down commits that add/remove packages. - Add license header.
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-11Fix linker order of X11 and Wayland libsSebastian Parborg
For some compiler and linker configurations, linking would fail as the wayland libs were linked at a high level and not at the actual code where they were needed. After talking to Campbell, we decided to clean up this part and now only link both the X11 and Wayland libs where they are used.
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-08Build: reference bundled wayland and libdecor headersCampbell Barton
When using pre-compiled libs, reference the bundled wayland headers, needed so the headers from the bundled wayland-scanner are compatible. Part of D16091.
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.