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-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.
2022-10-07Cycles: link oneAPI backend with debug version of sycl when in DebugXavier Hallade
It fixes SYCL runtime issues in Debug builds that were due to mixing Release and Debug MSVC runtimes. This commit also removes specific handling of dpcpp compiler executable to simplify the CMake implementation. Using it like clang++ works and clang++ executable is also available from Intel oneAPI DPC++ compiler in case it doesn't.
2022-10-07Cycles: use direct linking for oneAPI backendXavier Hallade
This is a minimal set of changes, allowing a lot of cleanup that can happen afterward as it allows sycl method and objects to be used outside of kernel.cpp. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D15397
2022-10-06Build Environment: Update Ubuntu instructions to include bisonDalai Felinto
Ubuntu also requires bison (just like macOS seems to do).
2022-10-06Linux CentOS 7 setup scriptSybren A. Stüvel
Add a script to set up a Linux CentOS 7 machine so that it can be used to build the precompiled libraries for Linux. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D16171
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-05install_deps: Fix typo in previous commit.Bastien Montagne
Typo from rB7fa0080c4ffa.
2022-10-05Install_deps: Add building of OpenPGL.Bastien Montagne
Ref. T101403.
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-10-04Build: integrate OpenPGL into platform files like other librariesBrecht Van Lommel
To avoid issues with install_deps. If we more generally switch to using CMake configs then perhaps this code can be deduplicated again or at least simplified.
2022-10-04Revert "install_deps: update OpenVDB for Blender 3.4."Bastien Montagne
This update has been moved back to Blender 3.5. This reverts commit ded4604d7190adef56518dc0b65ddb452beefc16.
2022-10-04Revert "install_deps: update OIIO/Boost/Python/NumPy versions."Bastien Montagne
These updates have been moved back to Blender 3.5. This reverts commit 1e1e9014cfc9f47d8496dd283a1cccae0ce29552.
2022-09-29Cleanup: cmake indentationCampbell Barton
2022-09-28Fix macOS cmake warning about missing OpenAL, after Python module changesBrecht Van Lommel
2022-09-27Cycles: add Path Guiding on CPU through Intel OpenPGLSebastian Herhoz
This adds path guiding features into Cycles by integrating Intel's Open Path Guiding Library. It can be enabled in the Sampling > Path Guiding panel in the render properties. This feature helps reduce noise in scenes where finding a path to light is difficult for regular path tracing. The current implementation supports guiding directional sampling decisions on surfaces, when the material contains a least one diffuse component, and in volumes with isotropic and anisotropic Henyey-Greenstein phase functions. On surfaces, the guided sampling decision is proportional to the product of the incident radiance and the normal-oriented cosine lobe and in volumes it is proportional to the product of the incident radiance and the phase function. The incident radiance field of a scene is learned and updated during rendering after each per-frame rendering iteration/progression. At the moment, path guiding is only supported by the CPU backend. Support for GPU backends will be added in future versions of OpenPGL. Ref T92571 Differential Revision: https://developer.blender.org/D15286
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-27Revert "Cleanup: remove redundant WITH_GHOST_WAYLAND check"Campbell Barton
This reverts commit 7fa7c7ceda3df8d522b8f5a407a697987669033c. The check was not redundant, it accounted for wayland not being found.
2022-09-27Build: add missing include for opencolorioCampbell Barton
OpenColorIO failed to build on Linux+GCC-12.2 because of strlen() use.
2022-09-27Cleanup: remove redundant WITH_GHOST_WAYLAND checkCampbell Barton
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-09-27Cleanup: remove workarounds and version checks for unsupported compilersCampbell Barton
Match minimum supported versions from the WIKI [0] by raising them to: - GCC 9.3.1 - CLANG 8.0 - MVCS 2019 (16.9.16 / 1928) Details: - Add CMake checks that ensure supported compiler versions early on. - Previously GCC per-processor version checks served to exclude `__clang__`, in some cases this has been replaced by explicitly excluding `__clang__`. This was needed as CLANG treated some of these flags differently to GCC, causing the build to fail. - Remove USE_APPLE_OMP_FIX GCC-4.2 OpenMP workaround. - Remove linking error workaround for old MSVC versions. [0]: https://wiki.blender.org/wiki/Building_Blender Reviewed by: brecht, LazyDodo Ref D16068
2022-09-23Cleanup: use lowercase function calls & macros in for CMakeCampbell Barton
This is already the case for most CMake usage. Although some find modules are an exception to this, as they were originally maintained externally they use some different conventions. Also corrected bad indentation in: intern/cycles/CMakeLists.txt
2022-09-20CMake: fail to build with unsupported versions of wayland-scannerCampbell Barton
When WITH_GHOST_WAYLAND_DYNLOAD is enabled.
2022-09-18Build: fix gtest build flags affecting actual libraryBrecht Van Lommel
Switch to target_ functions to avoid this.
2022-09-18Build: disable gtests entirely for Python moduleBrecht Van Lommel
To avoid test failure on Windows.
2022-09-16Fix Linux bpy wheel failing to install due to wrong ABI flagsBrecht Van Lommel
2022-09-16make_source_archive: exclude hidden git filesCampbell Barton
2022-09-16Cleanup: formatCampbell Barton
2022-09-16Cleanup: typos in 427d669f625e1408e3b4509ab5aae19fc8b0bbc1Campbell Barton
2022-09-16make_bpy_wheel: various minor improvementsCampbell Barton
- Add doc-string with example usage shown in the --help message. - Add help text for command line arguments. - Only search for the CMakeCache.txt file when the `--build-dir` is omitted. - Write fatal errors to the stderr.
2022-09-16Cleanup: suppress type warnings for make_bpy_wheel & make_utilsCampbell Barton
'make check_mypy' now runs without warnings.
2022-09-15Python: script for packing bpy module as wheelBrecht Van Lommel
The buildbot will call this script to create a binary .whl file that can be easily installed through pip. This wheel will only work with the same Python version used for Blender. Other minimum system requirements are the same as regular Blender builds. Includes contributions by Campbell Barton. Differential Revision: https://developer.blender.org/D15957
2022-09-15Python: fix failing bpy build with full release config on WindowsBrecht Van Lommel
* Fix issue with different build and install paths. * Fix issue with oneAPI kernel build. Ref D15957
2022-09-15Python: fix failing tests when building bpy moduleBrecht Van Lommel
* Use Python executable from lib folder since it's not installed. * Make bpy module test work for portable install. * Disable gtests which don't work with different Python link flags and shared library locations. Ref D15957
2022-09-15Cleanup: move Blender version parsing to make_utils.pyBrecht Van Lommel
Ref D15957
2022-09-14CMake: warn when "bpy" installs into the site-packages from LIBDIRCampbell Barton
Using "../lib" as a target is unlikely to be useful, add a warning & suggest alternatives.
2022-09-13Fix broken Cycles Metal build after recent changesBrecht Van Lommel
It was unable to find the Metal framework, thanks to Alaska for tracking this down.
2022-09-13Fix compilation on Linux, glibc 2.34, and CentOS librariesSergey Sharybin
A continuation of previous fix for malloc hooks which got removed from the new glibc library. The pre-compiled jemalloc has definitions which interpose hooks in glibc leading to linking errors with multiple hook definitions. A simple fix is to skip doing the workaround when using jemalloc from pre-compiled libraries. This will likely be revisited in the future, but for now it is important to fix compilation errors for developers.