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-09-21Make deps: Enable fPIC for LinuxSergey Sharybin
Similar to D8823.
2020-09-18deps: fix build issue on windows.Ray Molenkamp
Windows does not build libxml2 so the dependency recently added for mac caused a cmake error.
2020-09-18Fix T79929: crashes with Cycles denoising on older MacsBrecht Van Lommel
This was a bug in OpenImageDenoise, upgrade to latest 1.2.3 which has the fix. This in turn required a newer ispc version. Differential Revision: https://developer.blender.org/D8892
2020-09-17Make deps: Compile own nasm for LinuxSergey Sharybin
This solves annoyance that the official RPM repository of nasm requires newer version of rpm tool compared to what is shipped by default with centOS 7. Differential Revision: https://developer.blender.org/D8905
2020-09-16Install_deps: update to add pugixml and potrace new deps.Bastien Montagne
Also fixed OpenVDB maximum version, it appears that even 7.1 is not compatible with 7.0? Re T80818 and D8628.
2020-09-15GMP/macOS: silence "PIE disabled" linker warning.Ankit
The change builds GMP with `--with-pic` flag on non-arm architecture. The warning: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ___gmpn_divexact_1 from lib/darwin/gmp/lib/libgmp.a(dive_1.o). To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie Reviewed By: sebbas Differential Revision: https://developer.blender.org/D8823
2020-09-15Deps: Add potrace as a new library dependencyRay Molenkamp
For work the GP team plans to land soon (T79877) potrace was taken on as an additional optional dependency. This diff adds building the library to the deps builder and takes care of the integration into the build-system with the `WITH_POTRACE` cmake switch. Differential Revision: https://developer.blender.org/D8662 Reviewed by: brecht, sergey
2020-09-15Cleanup: add missing headers to CMake, formattingCampbell Barton
2020-09-14Make deps: Updated required list of dependencies for macOSSebastián Barschkis
It was possible to drop `nasm` from the list of required macOS dependencies. However, `pkg-config` had to be added - it was required before but probably no one noticed this. In order to build `external_clang` successfully, `external_xml2` had to be added to the clang dependencies (`c-index-test` was failing). Note: On Linux `make deps` still seems to require `nasm` installed via apt. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8870
2020-09-03Make deps: Disabled assembly for GMP on Apple/arm64.Stefan Werner
This appears to be a configuration for which GMP has no assembly, yet the default configure script tries to build it.
2020-09-01USD: remove library initialisation hackSybren A. Stüvel
Remove the hack for library initialisation; this is no longer necessary as the required information can be passed to the USD library after its static initialisers have run. This new approach is compatible with both the patched and original USD library. This means that platform maintainers don't need to rebuild the USD library until the next upgrade. Manifest Task: https://developer.blender.org/T80320
2020-09-01Fix double include of `gmp.cmake`Sybren A. Stüvel
This fixes `make deps` complaining about the `extern_gmp` project being defined twice.
2020-08-31Remove patch for HDF5 librarySybren A. Stüvel
Delete `hdf5.diff`, because it's no longer used. Since Blender 2.90 the optional support for HDF5 has been dropped, but this file accidentally wasn't deleted. See 0102b9d47edf and 0c3843622726. No functional changes.
2020-08-28Merge newboolean branch into master.Howard Trickey
This is for design task T67744, Boolean Redesign. It adds a choice of solver to the Boolean modifier and the Intersect (Boolean) and Intersect (Knife) tools. The 'Fast' choice is the current Bmesh boolean. The new 'Exact' choice is a more advanced algorithm that supports overlapping geometry and uses more robust calculations, but is slower than the Fast choice. The default with this commit is set to 'Exact'. We can decide before the 2.91 release whether or not this is the right choice, but this choice now will get us more testing and feedback on the new code.
2020-08-27Cleanup: Fix white space in versions.cmakeRay Molenkamp
2020-08-26install_deps: add fontconfig to installed libs/tools.bastien
2020-08-25install_deps: also clear BLOSC cmake variables.bastien
Otherwise when switching from self-built to distro packages for OpenVDB, Blosc CMake cached variables break building...
2020-08-18Build deps: Enable SSE optimization for FFmpegSergey Sharybin
The description is self-explanatory: enable SSE optimizations in the FFmpeg library. They were disabled from the very beginning of the dependency builder, possibly due to portability concerns. FFmpeg does perform runtime check for available CPU microarchitectures, so the codecs will still run on older hardware, but they will run way faster on newer hardware. For example, re-encoding 3405 2560x1376 frames on Xeon E5-2699 V4 CPU went down from 313sec to 210. Differential Revision: https://developer.blender.org/D8594
2020-08-15deps_builder: Fix boost::python linking release python libraryRay Molenkamp
By default boost::python in debug configuration links the release python libraries. Which leads to loading issues with the produced modules in a debug blender (which does use the debug python libs) Bjam has an option to switch this to the debug libraries but when you switch that on it changes the library names for *all* boost libraries, even ones that don't have anything to do with python and even the release libraries. therefore an alternative way has been chosen and we're dealing with this by adding a define rather than asking bjam to do it.
2020-08-13Deps_builder: Update openvdb to a dynamic libraryRay Molenkamp
This patch changes openvdb from a static to a dynamic library. this is in preparation for enabling pyopenvdb at some point in the future. Differential Revision: https://developer.blender.org/D8282 Reviewed by: brecht
2020-08-12Fix T79736: install_deps.sh failing to download OpenImageIO due to wrong versionBrecht Van Lommel
2020-08-12deps_builder: Optionally build boost::pythonRay Molenkamp
This this adds the option of building boost::python in the libs builder, in preparation for future dependencies that require it (ie pyopenvdb) disabled by default, can be enabled with the `WITH_BOOST_PYTHON` cmake option. Differential Revision: https://developer.blender.org/D8212 Reviewed by: brecht
2020-08-12deps_builder: Fix python build on windowsRay Molenkamp
Issue introduced in the boost.cmake cleanup in rB5c563cd903ddceebfffbb1e86af2b406bbb2c457
2020-08-12deps_builder: Cleanup options.cmake for windowsRay Molenkamp
We no longer build the thumbnail dll in the builder and these variables are no longer used.
2020-08-12deps_builder: Cleanup boost.cmake on windowsRay Molenkamp
There were some remnants from previous boost::python support and support for building 32 bit libs on windows, neither are needed currently.
2020-08-11install_deps: update some libs, and various improvements/fixes.Bastien Montagne
This commits: - Updates some libraries to latest officially supported versions: ** Numpy: 1.17.5 ** OCIO: 1.1.1 ** OIIO: 2.1.15 ** OSL: 1.10.10 ** OIDN: 1.2.1 - Re-enables some distro packages (like OSL, OIIO, OCIO...). - Add missing 'CMake cleanup commands' for generated CMake update command, for Embree, OIDN and OpenXR. - Generalizes using min/max versions of accepted libraries, if no package can be found in specified range then it is built from sources. The later point should help keeping things a bit in better conditions, although current maximal accepted versions are somewhat arbitrary guess currently.
2020-08-03Install_deps: add libgmp as default dependency.Bastien Montagne
This is a common system library, no need for fancy building this time... Part of D8384.
2020-08-03Cleanup: remove trailing space, newlines at eofCampbell Barton
2020-07-31Deps builder: Add support for building GMPRay Molenkamp
Required for the new boolean code, disabled by default until all platforms have landed the libs and the boolean code actually lands in master. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8384
2020-07-16deps builder: Fix typo in windows harvestingRay Molenkamp
2020-07-16macOS: Support arm64 architecture.Stefan Werner
Enabling all `make deps` dependencies with the exception of Embree and OIDN. After that, Blender can be compiled on an Apple Silicon Mac just like on any Intel based Mac. There are still compiler warnings that need to be investigated and there are probably a couple of bug still to be discovered and to be fixed. Most patches to the dependencies are simple and are about disabling SSE and setting the proper architecture to compiile for. Notable exception is Python, where I back ported a yet to be accepted PR for upstream Python: https://github.com/python/cpython/pull/21249 Cross compiling or buliding a Universal Binary is not supported yet. The minimum macOS target version for x86_64 remains at 10.13, the target for arm64 is 11.00. Differential Revision: https://developer.blender.org/D8236
2020-07-09Make deps: Fix compilation error on CentOSSergey Sharybin
There were two issues. First is related on ISPC's CMake configuration forcing C and C++ compilers to be clang and clang++. This goes against of desired behavior when we use our own compiled clang compilers. The second issue was related on linker failure: CLang libraries are linked statically, and they need some of C++ 11 STL symbols which are coming from libstdc++. Differential Revision: https://developer.blender.org/D8258
2020-07-08Build: fix stack linker warning with ffmpeg on macOSSergey Sharybin
The ff_cfhd_init_vlcs() function was using a lot of stack space, which made linker on macOS unhappy. Using heap allocation allows to silence the warning without causing other side-effects. Kept the patch enabled for all platforms to avoid difference in behavior and performance on different platforms, which could make certain types of investigation very tricky. Differential Revision: https://developer.blender.org/D8248
2020-07-08macOS: upgrade minimum required version to 10.13 High SierraBrecht Van Lommel
C++17 does not work on 10.12, and Apple extended support ended for 10.12 in October 2019. Maniphest Tasks: T76783, T76184 Differential Revision: https://developer.blender.org/D8179
2020-07-07Make deps: Use own nasm for ffmpeg and x264Sergey Sharybin
Fixes the warning: building for macOS, but linking in object file Differential Revision: https://developer.blender.org/D8235
2020-07-07Make deps: Compile own version of nasm for AppleSergey Sharybin
The upstream version of nasm does not put version information to the generated object files, which makes linker to show the following warning: building for macOS, but linking in object file Using own patched version of nasm which puts required information to the object file, making linker happy. The plan is to either streamline the patch and provide it to the upstream, or, it that takes too long, get an independent fix from the upstream.
2020-07-07Mae deps: Ensure Brotli is disabled for FreeTypeSergey Sharybin
We don't need it and it was optionally enabled, causing Blender to fail to link on certain configuration (when Brotli is installed via Homebrew for example).
2020-07-07Make deps: Fix compilation error of Python on macOSSergey Sharybin
The configuration was confused about gettext installed via Homebrew and isysroot passed to Python's compilation but not to test programs. After this change `import gettext` still works, but it is unclear how to test it further, Differential Revision: https://developer.blender.org/D8231
2020-07-07Make deps: Fixes for macOS platformSergey Sharybin
Set of fixes which had to be made in order to have dependencies built on own laptop: - Require bison as a dependent software. It is required by ISPC. On macOS it is required to be installed via Homebrew. This is because Bison from Xcode toolchain is too old. - Made sure Boost is compiled using clang. Without this gcc was used, and some unsupported command line argument was passed to it. - Modify OGG in a way which does in fact pull fixed sized types. They are defined in stdint.h. Without this fix FFmpeg will not detect presence of OGG because the test program fails to compile. - Force disable zstd compression and make wepb optional for the TIFF library. Without this TIFF might pick up development libraries from Homebrew. Differential Revision: https://developer.blender.org/D8221
2020-06-30Build: disable OpenXR in make deps for macOS, it's not supportedBrecht Van Lommel
2020-06-29Build: Point ISPC explicitly to the location of LLVM libraries.Stefan Werner
Sometimes the ISPC build could pick up the system LLVM librareis instead of the ones in the Blender lib directory.
2020-06-28Deps Builder: Fix OSL build error.Tuomo Keskitalo
When there is no system python OSL will fail to build the documentation. Given we don't ship the documentation, this is safe to disable. Originally part of D8123
2020-06-26deps: Fix build issue with USD on windows.Ray Molenkamp
When doing a release build the TBB debug libs are not set which was causing an error during the configure phase of USD, so always set them even if not used.
2020-06-25Build: remove unused lapack/hidapi/mingw32 build infrastructureBrecht Van Lommel
Ref T76184
2020-06-25Build: upgrade OpenImageDenoise to 1.2.1Ray Molenkamp
This requires ISPC for building OpenImageDenoise, so that is now added as a dependency as well. Blender itself does not need ISPC for building so it is not included as part of the precompiled libraries. Differential Revision: https://developer.blender.org/D7641
2020-06-25Build: upgrade a few smaller Linux/macOS only libraries to latest versionsBrecht Van Lommel
* jemalloc 5.2.1 * xml2 2.9.10 * bzip2 1.0.8 * ffi 3.3 * lzma 5.2.5 * ssl 1.1.1g * sqlite 3.31.1 Ref T78252
2020-06-19USD: Upgrade library 20.02 → 20.05Sybren A. Stüvel
The Blender USD code didn't have to change for this upgrade. Pixar's USD did include a change that we had in the patch, so that's been removed from our patch now. Some of the USD code that we patched changed as well.
2020-06-15Cleanup: removed trailing spaces from `install_deps.sh`Sybren A. Stüvel
No functional changes.
2020-06-15x264: update URL and hash in versions.cmakeSybren A. Stüvel
The old URL did have a Git commit hash in it, but apparently the server was ignoring it and only used the `master` that was also mentioned in the URL. As a result, every new download would get the latest version from the `master` branch, invalidating the SHA256 checksum. I replaced `master` with the actual commit hash. This should make the situation stable. No functional changes.
2020-06-15Alembic: remove HDF5 support from CMake filesSybren A. Stüvel
This is a follup to 0c384362272. No functional changes to Blender, just the build scripts.