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-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-15ASan/macOS: fix incomplete C/CXX compiler flags.Ankit Meel
While testing for {rB40dcf686f04f}, compiler flags got mixed up and non-working ASan configuration was committed. Platform file, which is `include`d after the `CMAKE_C_FLAGS_DEBUG` etc., are set, overwrites those flags instead of appending to them. To fix this, `PLATFORM_CFLAGS` is used to pass the `-fsanitize=*` flags to the C/C++ compiler. Tested on fresh build using both Xcode and Ninja, with & without ccache. Also silence a clang warning for multi-config generators: the object size sanitizer has no effect at -O0, but is explicitly enabled: -fsanitize=object-size [-Winvalid-command-line-argument] Reviewed By: brecht Differential Revision: https://developer.blender.org/D8879
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-10CMake: various fixes for building Python moduleTyler Alden Gubala
* Don't link against Mesa OpenGL software emulation libraries from the lib folder, they are not intended to be used for building, only install. * Don't use static OpenMP library by default, it's usually not built to work in shared libraries. * Disable jemalloc on all platforms, the reason it fails is not specific to Linux. Differential Revision: https://developer.blender.org/D8827
2020-09-08Cleanup: tabs to spacesCampbell Barton
2020-09-07Generate Xcode scheme files during configuration.Ankit
Every time CMake is re-run, Xcode shows a popup asking if user wants to manage schemes automatically or manually. Building Blender wiki page recommends managing schemes automatically. This change sets the default behavior to "automatically" and generates the .xcscheme files while CMake is running, instead of hogging Xcode later on. With tests enabled, the number of schemes is 203. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8820
2020-09-07Cleanup: change Python version checks to include newer versionsCampbell Barton
2020-09-03MSVC: Fix cmake warnings with MSVC updatesRay Molenkamp
CMake caches the location of the CRT runtime in the MSVC_REDIST_DIR variable, and uses it to copy the required dll's during the install phase. This variable is only initialized when it does not exist. Leading to issues when compiler updates are installed and the compiler version slightly changes, cmake still looks in the old location for the runtime and warns about the files not existing. This change fixes the issue by checking if the redist dir exists and if not unsets it so InstallRequiredSystemLibraries can have another go at figuring out where they live.
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-09-01CMake: Fix linking errors with gmp librarySergey Sharybin
gmpxx library (C++ version of gmp) uses symbols from libgmp, which means the libgmp is to be passed to the linker after libgmpxx.
2020-08-31cleanup: Fix GMP spacing in cmake configurationsRay Molenkamp
It now follows the spacing around it.
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-28Change cmake configs for full and release to enable WITH_GMP.Howard Trickey
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-27Fix: FindEmbree.cmake looking for non existing dynamic libraries and failingSebastian Parborg
It is now possible to build against a shared embree library. Before it was only possible to build against static Embree libraries. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D8702
2020-08-27Cleanup: Fix build warning with MSVC and OSLRay Molenkamp
OSL requires RTTI to be off, this is done with the /GR- flag for MSVC, however /GR is in the default CXX flags leading to warning D9025 : overriding '/GR' with '/GR-' which cannot be suppressed. /GR is on by default and this flag is not required, so removing it from the default CXX flags makes it possible later use /GR- without generating warnings.
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-20Silence `-Wmaybe-uninitialized` warning on GCC/LinuxSybren A. Stüvel
Add `-Wno-maybe-uninitialized` option to `CMAKE_CXX_FLAGS_RELEASE` and `CMAKE_CXX_FLAGS_RELWITHDEBINFO` variables on GCC/Linux. In Release builds GCC's `-Wmaybe-uninitialized` warning is unreliable, and thus causes noise that can drown out other warnings. These warnings are now silenced in release mode builds.a Debug builds seem fine, so flags for debug builds are not touched by this commit. No functional changes. Reviewed By: Sergey Differential Revision: https://developer.blender.org/D8615
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-14Merge branch 'blender-v2.90-release'Philipp Oeser
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-13Fix T78065: OSL shader compilation fails on macOSBrecht Van Lommel
2020-08-12Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-12CMake: clarify that the modules are licensed BSD 3-ClauseBrecht Van Lommel
Many of these are derived from similar modules in the CMake project, which have this license. Fixes T79715
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-07Cleanup: CMake warnings related to "find package" modulesSebastian Parborg
Fix package name missmatch in a few module files. IE "ALEMBIC" was defined in the file but the find_package commands used "Alembic" Some modules state that they set and use the _LIBRARY variable but the do in fact not do this. Removed these comments from those files.
2020-08-04Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-04Fix buildbot macOS packaging error after recent changesBrecht Van Lommel
2020-08-04Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-04Fix buildbot packaging error after recent changesBrecht Van Lommel
2020-08-04Merge branch 'blender-v2.90-release'Brecht Van Lommel
2020-08-04Buildbot: make code signing of packages optional with --codesign parameterBrecht Van Lommel
This is in preparation of doing builds per commit that will not be code signed. Ref D8438 Differential Revision: https://developer.blender.org/D8451
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-03Merge branch 'blender-v2.90-release'Bastien Montagne
2020-08-03Building: Add ceres to Ninja's heavy jobs pool.Bastien Montagne
Some files in this library require more than 1.5Gb to build, so they also belong to the 'heavy' pool.
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