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
2019-12-03Buildbot: Correct timestamp argument for Windows codesignSergey Sharybin
The current authority we use RFC 3161 time stamp server, so need to pass different command line argument.
2019-11-29Archive build script: stop when creating archive failsSybren A. Stüvel
The `subprocess.call()` function doesn't check the exit status code of the subprocess. Use `subprocess.check_call()` or `subprocess.run()` instead.
2019-11-29Archive build script: fix compatibility with older tar on CentOS 7Sybren A. Stüvel
On CentOS 7, `tar --use-compress-program='xz -9'` tries to run `xz -9` as executable, rather than running `xz` with `-9` as argument. Passing the `-9` option via the `XZ_OPT` environment variable, as suggested by @campbellbarton in D6138, works fine.
2019-11-29CMake: Remove stray WITH_JACK in blender_release.cmakeRay Molenkamp
Missed one in the previous commit.
2019-11-29CMake: Remove stray WITH_JACK in full configurationRay Molenkamp
2019-11-28Build: change CMake option defaults to match "make full"Brecht Van Lommel
Previously some important features like OpenSubdiv were disabled by default, which caused confusion. The purpose of disabling some of these features was to avoid potentiall build errors on Linux. But with precompiled libraries, install_deps.sh and better library availability checking this is hopefully not much of a problem anymore. This makes "make full" obsolete, but it's kept to not break docs or shell scripts that people may have, and the .cmake config file remains useful to modify an existing build folder. This also changes some option to only be available on platforms where they are actually supported (WITH_JACK, WITH_TBB_MALLOC_PROXY and X11 options). Fixes T69742 Differential Revision: https://developer.blender.org/D6306
2019-11-28Tests: Blendfile-loading test classSybren A. Stüvel
This new test class minimally sets up Blender so that it can load blend files and construct a depsgraph without crashing. Note that it hasn't been tested on very complex blend files, so it may still crash when the loaded blend file references/requires uninitialised data structures. The test will certainly crash with Blend files created with Blender older than 2.80, as the versioning code requires space types to be registered. This is normally done by initialising the window manager, which is not done in this test. The WM requires Python to run, which in turn requires that Blender finds the release directory in the same directory that contains the running executable, which is not the case for GTest tests (they are written to `bin/tests/executablename`. Reviewed By: sergey, mont29 Differential Revision: https://developer.blender.org/D6246
2019-11-28Buildbot: Migrate package archive format for Linux from tar.bz2 to tar.xzJens
xz compresses 25% better than bz2, reducing download times and server load. The numbers: blender-2.80-linux-glibc217-x86_64.tar.bz2 (release): 134 886 174 bytes with xz: 96 181 604 bytes (-28.7%) with xz -9: 93 871 548 bytes (-30.4%) blender-2.81-7c1fbe24ca33-linux-glibc217-x86_64.tar.bz2 (beta): 173 600 363 bytes with xz: 133 100 664 bytes (-23.3%) with xz -9: 129 534 124 bytes (-25.4%) xz also decompresses more than twice as fast as bz2, however compression needs four times as long (on my 7-year-old laptop 3-4 minutes instead of <1). Also xz has become more common than bz2, e.g. Debian/Ubuntu deb packages have been xz-compressed for years, so the dpkg package manager as well as systemd and grub all depend on liblzma being present, whereas bz2 is becoming more and more optional. Current Linux archives also include the UID/GID of whatever user account happens to be used for building by the blender.org infrastructure. If someone then installs these archives as root e.g. to /usr/local/... and doesn't pay full attention the files remain owned by a regular user, which is a serious security issue. This patch fixes that by setting the UID/GID to 0. Differential Revision: https://developer.blender.org/D6138
2019-11-27Cleanup/CMake: Remove dormant windows codesign codeRay Molenkamp
This was added years ago to prepare for code-signing the executable but was never used, buildbots use a different mechanism now to sign so no need to keep this around.
2019-11-26Buildbot: Increaser codesign timelimitSergey Sharybin
It was possible that it would exceed when signing all the DLLs if the machine is busy with some background tasks or when internet is slow.
2019-11-25Cleanup: remove unused CMake WITH_MOD_CLOTH_ELTOPO optionCampbell Barton
2019-11-20Alembic: Upgrade from 1.7.8 to 1.7.12Sybren A. Stüvel
Alembic 1.7.12 introduces a 'DCC FPS' hint, allowing Blender to write the scene frame rate to the Alembic file. This will make it possible for importers and converters to properly deal with situations where 'frame number' is the only reference to time. Writing this new DCC FPS hint will be done in a separate commit. Here only the Alembic library is upgraded from 1.7.8 to 1.7.12.
2019-11-20Cleanup: remove WITH_RAYOPTIMIZATIONCampbell Barton
This is redundant as WITH_CPU_SSE adds these flags when they're supported.
2019-11-18Build deps: Actually tweak EOL styleSergey Sharybin
Seems that `git am` will force native EOL.
2019-11-18Build deps: Fix compilaiton of OpenColladablender
Was caused by "wrong" EOL characters used in the patch: the file is actuallyu saved using CRLF EOL style. The patch was using CRLF as well for until recent change in the C runtime.
2019-11-18msvc: Use debug versions of tbb malloc for debug buildsRay Molenkamp
Using the release versions gave unpredictable results when the msvc debugger was attached for some developers.
2019-11-14Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-14Buildbot: Explicitly disable code signer on Linux and macOSSergey Sharybin
The script requires Python 3.7 as a very minimum, and CentOS is only 3.6. On macOC there was an access to a None object, due to missing implementation of code signer on this platform.
2019-11-13Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-13Initial implementation of code signing routinesSergey Sharybin
This changes integrates code signing steps into a buildbot worker process. The configuration requires having a separate machine running with a shared folder access between the signing machine and worker machine. Actual signing is happening as a "POST-INSTALL" script run by CMake, which allows to sign any binary which ends up in the final bundle. Additionally, such way allows to avoid signing binaries in the build folder (if we were signing as a built process, which iwas another alternative). Such complexity is needed on platforms which are using CPack to generate final bundle: CPack runs INSTALL target into its own location, so it is useless to run signing on a folder which is considered INSTALL by the buildbot worker. There is a signing script which can be used as a standalone tool, making it possible to hook up signing for macOS's bundler. There is a dummy Linux signer implementation, which can be activated by returning True from mock_codesign in linux_code_signer.py. Main purpose of this signer is to give an ability to develop the scripts on Linux environment, without going to Windows VM. The code is based on D6036 from Nathan Letwory. Differential Revision: https://developer.blender.org/D6216
2019-11-13Add support for the TBB allocator on windows.Ray Molenkamp
The heap on windows is single threaded causing it to lag behind linux in performance in allocation heavy multithreaded scenarios, BVH building is a prime example. See https://developer.blender.org/D6218 for benchmark results for testing with the allocator enabled/disabled you can set the environment variable TBB_MALLOC_DISABLE_REPLACEMENT=1 to disable the TBB allocator. Reviewed By: @sergey Differential Revision: https://developer.blender.org/D6218
2019-11-12Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-12Safer fix for make_update.py on buildbotSergey Sharybin
Makes it so compilation doesn't fail when the SVN updating stumbles upon checkout which doesn't have correspondence in a tag, but which isn't so risky as previous change.
2019-11-12Revert "Fix issues with make_update.py when run from release branch"Sergey Sharybin
This reverts commit 8e9e58895b32afc38f856053335c9b27324c6f9e. The change broke behavior when typing `make update` from the root of the sources: tests folder wouldn't be updated anymore. Getting quite close to release now, so will revert to a safer change.
2019-11-12Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-12Fix issues with make_update.py when run from release branchSergey Sharybin
The issue was rooting to the fact that the script was iterating into every directory inside of blender.git/../lib/ and attempted to switch them to the desired path. This doesn't work in an environment where both master and release branch are built (or any environment where non-needed SVN directories are not automatically removed). This change makes it so script explicitly generates a list of directories which are required for the build. For example, the script now stores an exact folder with ABI such as win64_vc14. Only those explicitly listed directories will be updated. This allows to: - Solve compilation failure of 2.81 branch after checkout for win64_vc15 libraries has been created. - Fail compilation if actually expected tag is missing (for example, when trying to build release branch prior to libraries tag). Now, there was a confusing logic about possible .svn folder in lib_dirpath (effectively, blender.git/../lib/.svn) which is not something what is supposed to happen with the setup of buildbot we are using for quite some time now. This logic has been removed now. This change includes old-style string format(), mainly because it is not know that the buidlbot scripts are run using python3 on CentOS builder. Differential Revision: https://developer.blender.org/D6230
2019-11-11Windows: Fix build errors during deps build on windows.Ray Molenkamp
2019-11-09make_update.py: update windows library folderRay Molenkamp
2019-11-08Windows: Switch to the dynamic C runtimeRay Molenkamp
This change switches windows to the dynamic C runtime avoiding issues coming from mixing the static and dynamic runtime like the ones outlined in [1] [1] https://developer.blender.org/D5387#122165 Differential Revision: https://developer.blender.org/D6175 Reviewed by: @Sergey
2019-11-06Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-06Buildbot: Ensure proper ABI is usedSergey Sharybin
This wasn't an issue in the real buildbot environment since the precompiled libraries are compiled with same ABI as the compiler used for Blender build. But it was causing issues when building Blender using buildbot scripts (for troubleshooting purposes) on a machine with different default compiler ABI. Usually ABI detection is happening in platform_unix.cmake when detecting whether there are any precompiled libraries folder available. This detection is not happening when library folder is provided explicitly, expecting ABI to be setup explicitly as well.
2019-10-31make.bat: Warn user about missing svn.exeRay Molenkamp
2019-10-30GNUmakefile: avoid using group/owner for source_archiveCampbell Barton
Thanks to @JRottm for pointing out this issue.
2019-10-30GNUmakefile: use tar.xz instead of tar.gzCampbell Barton
Also rename "make tgz" to "make source_archive" as it wasn't clear this only archived the source, not binaries. D6153 by @JRottm with minor edits
2019-10-28CMake: update cmake_consistency_checkCampbell Barton
Support for listing files which are known not to exist (needed by standalone cycles).
2019-10-28CMake: add missing headers, use space before commentsCampbell Barton
2019-10-23CMake: disable OpenMP on macOS bpy_module configCampbell Barton
This gives linking errors on build.
2019-10-21Cleanup: styleCampbell Barton
2019-10-12macOS: add opus to FFMPEG_LIBRARIESArto Kitula
2019-10-11Build: also use release branch for source/tools moduleBrecht Van Lommel
2019-10-11Buildbot: don't add branch prefix when building release branchesBrecht Van Lommel
2019-10-11Fix issue in "make update" checking out submodule branch on buildbotBrecht Van Lommel
2019-10-11Fix "make update" not using the right branch for source/toolsBrecht Van Lommel
2019-10-10Fix build error on Windows after recent changesBrecht Van Lommel
2019-10-10Build: add WITH_TBB option, in preparation of sculpt using itBrecht Van Lommel
It should no longer be tied to OpenVDB and OpenImageDenoise then. Differential Revision: https://developer.blender.org/D6029
2019-10-10CMake: Allow to use pre-compiled CentOS librariesSergey Sharybin
The goal is to make it able to use pre-compiled CentOS libraries on a more modern system. Main issue was that it's possible that the compiler on a newer version is defaulting to different C++11 ABI. This change makes it so that if there is NO native libraries in the lib folder and there IS pre-compiled CentOS folder, it will be used and compiler will be forced to old ABI. Differential Revision: https://developer.blender.org/D6031
2019-10-09Fix "make update" not working on buildbot after recent changesBrecht Van Lommel
The submodules don't have remote branches configured, skip that test since we assume pulling from the "origin" remote anyway.
2019-10-09Build: prepare "make update" to work for new release cycle branchingBrecht Van Lommel
Checking out release branches in submodules, and printing some more informative messages when that fails.
2019-10-09GPU: show more descriptive labels on unsupported GPU dialogBrecht Van Lommel
Thanks to Ray Molenkamp for the help with the Windows implementation. Fixes T70521 Differential Revision: https://developer.blender.org/D6023
2019-10-09CMake: Move software-gl to generic install procedureSergey Sharybin
Removes custom logic from buildbot's packing step. This also removes icons/ folder, but CMake was already copying the icons to the root of the install folder.