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
2020-05-04Windows: Move tbb to being dynamic libraryRay Molenkamp
Static tbb has always been frowned upon [1] sofar it has worked for us but given our reliance on tbb is about to increase (D7475), I'd like to move the library to more supported configuration. Which means moving it to be a dynamic library The libs part of this change is in rBL62416 Reviewed By: Brecht Differential Revision: https://developer.blender.org/D7570
2020-04-29Fix Python bz2 module failing to import on older macOS versionsBrecht Van Lommel
Found by failing bundled modules test. The bz2 library was compiled without proper minimum SDK version flags.
2020-04-29nstall_deps: USD: Add root usd library directory to build args.Anthony Edlin
Add root usd library directory to build arguments, same as other libraries. Also fix error/typo in compile_USD regarding _is_building. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7563
2020-03-27Install_deps: Do not wipe out `WITH_PYTHON` CMake options.Bastien Montagne
This is annoying when one want to use system python and hence disables the `WITH_PYTHON_INSTALL` options...
2020-03-27install_deps: Enable PIC in Python static library.Mateusz Grzeliński
Update for D3078, I think it should be fixed Benefits: - after installing python 3.7 with `./build_files/build_environment/install_deps.sh`, user will be able to run `make bpy` without linking error: - https://blender.stackexchange.com/questions/102933/a-working-guidance-for-building-blender-as-bpy-python-module - https://stackoverflow.com/questions/36779834/compiling-blender-bpy-recompile-with-fpic To prevent errors like `/opt/lib/python-3.7.4/bin/python3.7: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory`, add python .so lib to ldconfig Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7177
2020-03-23Deps: TBB changed their repository URLSybren A. Stüvel
As a result the MD5sum of the downloaded package also changed.
2020-03-21Fix OpenXR SDK failing to compile with no JsonCpp installedJulian Eisel
Force the SDK to use its own, bundled JsonCpp sources.
2020-03-21Fix install_deps.sh ignoring --skip-xr-openxrJulian Eisel
2020-03-18Fix openXR building with install_deps in some compilers.Bastien Montagne
2020-03-17make deps: Fixes to make OpenXR to work on CentOS Linuxblender
- Harvest to a proper location. - Disable STD's filesystem which is experimental and caused linking errors when OpenXR is usedi n Blender.
2020-03-08Install_deps: fix wrong `XR_OPENXR_ROOT_DIR` parameter for CMake.Bastien Montagne
Should be `XR_OPENXR_SDK_ROOT_DIR`.`
2020-03-04Build System: Add OpenXR-SDK dependency and WITH_XR_OPENXR build optionJulian Eisel
The OpenXR-SDK contains utilities for using the OpenXR standard (https://www.khronos.org/openxr/). Namely C-headers and a so called "loader" to manage runtime linking to OpenXR platforms ("runtimes") installed on the user's system. The WITH_XR_OPENXR build option is disabled by default for now, as there is no code using it yet. On macOS it will remain disabled for now, it's untested and there's no OpenXR runtime in sight for it. Some points on the OpenXR-SDK dependency: * The repository is located at https://github.com/KhronosGroup/OpenXR-SDK (Apache 2). * Notes on updating the dependency: https://wiki.blender.org/wiki/Source/OpenXR_SDK_Dependency * It contains a bunch of generated files, for which the sources are in a separate repository (https://github.com/KhronosGroup/OpenXR-SDK-Source). * We could use that other repo by default, but I'd rather go with the simpler solution and allow people to opt in if they want advanced dev features. * We currently use the OpenXR loader lib from it and the headers. * To use the injected OpenXR API-layers from the SDK (e.g. API validation layers), the SDK needs to be compiled from this other repository. The extra "XR_" prefix in the build option is to avoid mix-ups of OpenXR with OpenEXR. Most of this comes from the 2019 GSoC project, "Core Support of Virtual Reality Headsets through OpenXR" (https://wiki.blender.org/wiki/User:Severin/GSoC-2019/). Differential Revision: https://developer.blender.org/D6188 Reviewed by: Campbell Barton, Sergey Sharybin, Bastien Montagne, Ray Molenkamp
2020-02-25install_deps: fix several issues.Bastien Montagne
Lots of fixes and cleanups, mainly addressing: * OpenEXR building was fully broken. * Missing dependencies of Alembic to Boost and openEXR. * OSL had changed its CMake parameters for custom OpenEXR install path. * Dependencies between libs were not properly handles when switching a lib from own build to system package.
2020-02-24Fix make deps failing to build opencollada on Linux, due to line endingsBrecht Van Lommel
The OpenCOLLADA package contains a mix of files with unix and dos line endings. Now we mark the diff as a binary file so that the patch also contains a mix of line endings that matches the package.
2020-02-19Fix make deps OSL build on some systems with Qt librariesBrecht Van Lommel
2020-02-18build_deps: include venv on windowsRay Molenkamp
2020-02-17Fix macOS LLVM precompiled link error with older Xcode versionsBrecht Van Lommel
2020-02-15Cleanup: remove WITH_EMBREE make deps optionBrecht Van Lommel
No other default enabled libraries have an option either.
2020-02-15Fix macOS build warnings about Boost symbol visibilityBrecht Van Lommel
The default in Boost changed from global to hidden, but other libraries do not use hidden symbols which gives warnings at link time on macOS.
2020-02-15Build: enable Embree by default for make depsBrecht Van Lommel
Ref T73819, T73778
2020-02-15Cleanup: CMake formattingCampbell Barton
2020-02-14build_environment: Upgraded Embree to 3.8.0Stefan Werner
The latest versions of Embree allow similar motion interpolation as Cycles' own BVH.
2020-02-11install_deps.sh: correct clang/llvm download URLsPhilipp Oeser
2020-02-11Fix T68243: Python sqlite module not working on macOSBrecht Van Lommel
2020-02-10Updated install_deps to latest required OSL/LLVM.Bastien Montagne
2020-02-10USD: Install USD library via install_deps.shSybren A. Stüvel
This commit adds the download, extract, patch, build, and install of the Universal Scene Description (USD) library to the `install_deps.sh` script. Reviewed By: mont29, LazyDodo Differential Revision: https://developer.blender.org/D6478
2020-02-09Build_environment: Fix unwanted exports from oidn on windows.Ray Molenkamp
oidn puts dllexport on all its functions causing the blender binary to export these symbols. this patch fixes this unwanted behaviour. Differential Revision: https://developer.blender.org/D6647 Reviewers: brecht , sergey
2020-02-09Build_environment: Fix unwanted exports from libxml on windows.Ray Molenkamp
libxml puts dllexport on all its functions causing the blender binary to export these symbols. this patch fixes this unwanted behaviour. Differential Revision: https://developer.blender.org/D6646 Reviewers: brecht , sergey
2020-02-09Build_environment: Freetype 2.10.1Ray Molenkamp
Freeetype 2.9.1 tags dllexport on most of its functions so these are now exported from the blender binary. (Same issue as D6563 which fixed it for USD) Issue has already been fixed upstream so a simple version bump fixes it. This patch bumps freetype to 2.10.1 Differential Revision: https://developer.blender.org/D6645 Reviewers: brecht , sergey
2020-02-08Build_environment: OSL 1.10.9 / llvm 9.0.1Ray Molenkamp
OSL 1.10.9 fixes osl-bug 866 [1] which is long standing issue on windows where paths get un-escaped and osl breaks when you install it to for instance c:\blender-tests\new-boolean This patch bumps osl to 1.10.9, and since osl is llvm's only consumer, llvm/clang were bumped 9.0.1 Removed some of the patches that were no longer needed Builds and passes all tests on windows and linux [1] https://github.com/imageworks/OpenShadingLanguage/issues/866 Differential Revision: https://developer.blender.org/D6744 Reviewers: brecht
2020-02-05Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-05CMake: remove non-standard package search pathsCampbell Barton
Reduce the number of possible locations used to find libraries, to simplify troubleshooting. Only keep '*_ROOT_DIR' and the path used by 'install_deps.sh'.
2020-01-24Merge branch 'blender-v2.82-release'Sergey Sharybin
2020-01-24Make deps: Force some boost dependenciesSergey Sharybin
Boost could have picked up system-wide libbz2-dev installed and enable this compression in iostreams. Nothing really wrong with this, but it makes it so final Blender binary depends on bz2, which breaks default linker flags. This commit makes it so Boost is not using libraries which we don't need, simplifying linking setup. Differential Revision: https://developer.blender.org/D6668
2020-01-23Merge branch 'blender-v2.82-release'Sergey Sharybin
2020-01-23Make deps: Fix zlib symbols defined twiceBrecht Van Lommel
We compile zlib as own dependency, but are not informing BLOSC to use it. This leads to zlib symbols defined twice when linking Blender: one set comes from libz.a and another one from libblosc.a. Tested on Linux Debian testing and CentOS 7.5. It is possible that this change on its own will lead to linking errors after libraries are re-compiled, This will be fixed as a dedicated fix to Blender's build system. Reviewed By: brecht, mont29, LazyDodo Differential Revision: https://developer.blender.org/D6641
2020-01-22install_deps.sh: strip trailing punctuation from version numbersCampbell Barton
Encountered this issue when enabling more libraries.
2020-01-22install_deps.sh: fix versions such as 1.6_RC2 failing to compareCampbell Barton
This is stripped off since it causes an error when evaluating the strings as numbers.
2020-01-22install_deps.sh: fix IFS being incorrect when a version check failsCampbell Barton
This caused quoting to fail later on.
2020-01-22Revert "install_deps.sh: fix ffmpeg package installation on Arch"Campbell Barton
This reverts commit 3cb212602cacc186800c82febc86f5c68c1f92fb. The root cause was IFS being set incorrectly.
2020-01-22install_deps.sh: fix ffmpeg package installation on ArchCampbell Barton
A blank space at the start of the string caused the list to be quoted as a single argument.
2020-01-22install_deps.sh: define sections with overlinesCampbell Barton
Over-lines are used in other large files (keymaps for e.g), using this add-hoc convention for sections make it easier to configure editors to jump between them (as I have locally).
2020-01-22install_deps.sh: use jack2 on ArchCampbell Barton
2020-01-22install_deps.sh: add debugging optionsCampbell Barton
Add USE_DEBUG_TRAP, USE_DEBUG_LOG for trapping errors and logging executed lines respectively. Handy for troubleshooting issues in the script.
2020-01-22install_deps.sh: quiet warning in install_deps.shCampbell Barton
The unquoted check gave a 'binary operator expected' warning.
2020-01-21libs/windows: Prevent USD exports from leaking into blender binary.Ray Molenkamp
Even though we build USD as static, it still feels the need to mark its symbols with declspec(dllexport) which means the blender binary now exports these symbols. this patch fixes that unwanted behaviour, however USD libs still need to rebuild before this becomes visible in the blender binary Differential Revision: https://developer.blender.org/D6563 Reviewed By: sybren
2020-01-21Fix: Building with clang on windows.Ray Molenkamp
The USD landing broke building with clang on windows due to a couple of reasons: 1) Some incompatibilities in their headers [1] only one of them was important for us and is included in our patchset now. 2) clangs lld wanted the full path to the libusd_b library when using the whole archive link option, while msvc can figure it out from just the library name. Tested with clang/msvc and msbuild and ninja generators [1] https://github.com/PixarAnimationStudios/USD/issues/1030
2020-01-20Merge branch 'blender-v2.82-release'Brecht Van Lommel
2020-01-20Build: upgrade to OpenEXR 2.4.0, OpenVDB 7.0.0 and Boost 1.70.0Brecht Van Lommel
This aligns with the VFX reference platform 2020 along with the decision to stick to Python 3.7, see T68774. Blosc was downgraded to 1.5 as recommended by the OpenVDB documentation. IlmBase and OpenEXR are now built together with CMake rather separately using autoconf. Differential Revision: https://developer.blender.org/D6593
2020-01-20Fix OSL build error on macOS, no need to use external pugixmlBrecht Van Lommel