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-09-20GNUmakefile: fix error showing final message with the 'dash' shellCampbell Barton
The bpy module check wasn't working with dash, use posix compliant check for empty string.
2022-09-13Makefile: support 'make bpy lite' / 'make bpy release'Campbell Barton
Re-order configuration loading so 'bpy' is loaded after others. Needed as `bpy` disables options other configurations enable.
2022-09-09GNUmakefile: change message to reference "bpy" when building as a moduleCampbell Barton
2022-05-03GNUmakefile: include autopep8 in the "make format" targetCampbell Barton
Run autopep8 as well as clang-format when calling "make format", the PATHS argument is passed to both utilities which will only operate on files they support. For example: `make format PATHS=release/scripts` formats Python scripts, `make format PATHS=source/blender/blenlib` would format C/C++. If users really want they can format C/C++ & Python files at the same time since both formatting utilities filter on file extension. `make format PATHS="release/scripts/startup/nodeitems_builtins.py source/creator/creator.c"` A LIBDIR variable has been added to the GNUmakefile to simplify references to this directory which can be one of 3 possible values. Reviewed By: sybren, brecht Ref D14789
2022-03-11Cleanup: fix source comment typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14307
2022-02-23CMake: move cmake_consistency_check.py into source/tools/ repoCampbell Barton
This isn't needed for building Blender so move this along side other source checking scripts.
2022-02-23GNUmakefile: prefer "check_" prefix instead of "test_"Campbell Barton
- Reserve "test" for tests & testing frameworks. - Add "check_mypy" to "make help" text. - Output to the standard output instead of redirecting to log-files, leave redirecting output log-files to the user running the command.
2022-02-22GNUmakefile: missed removing docs for test_deprecated when renamingCampbell Barton
2022-02-22GNUmakefile: rename test_depracted to check_deprecatedCampbell Barton
Also move this utility into the source/tools repo.
2022-02-14GNUmakefile: update arguments for 'doc_man' targetCampbell Barton
Add '--verbose' argument to the script so the destination is printed. Otherwise there is no hint to where the man page was written.
2022-02-14GNUmakefile: remove package targets that no longer existCampbell Barton
2022-02-14GNUmakefile: don't echo output for checking utilities & docsCampbell Barton
When running checkers, showing commands to activate them adds noise.
2022-02-14GNUmakefile: use PYTHON variable instead of python3Campbell Barton
Also update the Python3 binary on macOS.
2022-02-11GNUmakefile: add check_licenses targetCampbell Barton
This reports files that don't include SPDX headers. Optionally showing unique headers which is useful to see irregular/nonstandard headers.
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-10GNUmakefile: move editor settings to .editorconfigCampbell Barton
Remove inline vim/emacs editor configuration, add makefile to editorconfig instead.
2021-11-19Cleanup: fix typos in comments and docsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13264
2021-10-20GNUmakefile: clarify that order isn't important for multiple targetsCampbell Barton
Also include example.
2021-08-05Cleanup: tab indentation for CMake / GNUmakefileCampbell Barton
2021-08-04Icons: resolve various issues for generating iconsCampbell Barton
- INKSCAPE_BIN environment variable was ignored by alert_icons_update & prvicons_update. - `make icons` wasn't regenerating alert icons. - Updating SVG icons failed using blender built with ASAN.
2021-04-14GNUmakefile: add 'check_mypy' convenience targetCampbell Barton
2021-04-13Add `make source_archive_complete` targetSybren A. Stüvel
Add a `source_archive_complete` target for `make` that creates a source archive including the source packages of Blender's dependencies. This expands `make_source_archive.py` to include files from `${BUILD_DIR}/source_archive/packages/` as well. Reviewed By: dfelinto Maniphest Tasks: T86124 Differential Revision: https://developer.blender.org/D10727
2021-03-31Makefile: add update_code targetRay Molenkamp
Convenience target for updating the code, skipping SVN. The Python script supports it, but this wasn't exposed in the makefile. Ref D10457
2021-03-08Python version of `make_source_archive.sh`Sybren A. Stüvel
This is a Python version of the existing `make_source_archive.sh` script. IMO it's easier to read, and it'll also be easier to extend with the necessary functionality for D10598. The number of lines of code is larger than `make_source_archive.sh`, but it has considerably less invocations of `awk` ;-) And also the filtering is integrated, instead of forking out to Python to prevent certain files to be included in the tarball. Reviewed By: dfelinto, campbellbarton Differential Revision: https://developer.blender.org/D10629
2021-02-12Docs: add notes to 'make deps' & the sqlite build configurationCampbell Barton
- Move non-blender build targets into their own section. - Expand 'make help' text, noting a local 'make deps' overrides. - Note where the spell checkers word-list is maintained. - Note on why sqlite is built without 'tcl'.
2021-02-02macOS: use precompiled libraries for arm64 buildBrecht Van Lommel
Standard wiki build instructions for building Blender on macOS can now be used on Macs with ARM processors. This contains all libraries except for Embree and OpenImageDenoise, so Cycles performance does not yet have full performance and features in this build. An x86-64 build is likely to still render faster than arm64 until Embree is added. Uses the new lib/darwin_arm64 folder. For simplicity and to keep download size under control, both for end users and builders, we are not planning to ship universal binaries. So this is a separate folder from lib/darwin. Ref T78710 Differential Revision: https://developer.blender.org/D10276
2021-01-29Tests, docs: Use sanitizer options from environment too.Ankit Meel
Don't overwrite environment variables that may contain options like suppression files, symboliser etc. It's similar to rBa181b156399a13fa429159112e30c8005d5e8a59 and rBA589d13408a60cbec34a8bc3cc798c586043743ae . For Blender Add-ons repo, see the equivalent in D9816. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D9815
2020-12-21Unix/macOS: support building with CcacheMatt Hill
This adds an option (WITH_COMPILER_CCACHE) to build using Ccache if it's found. Makefiles-based, Ninja-based and Xcode generators are supported. Pass `-DWITH_COMPILER_CCACHE=ON` to cmake to enable Ccache. Utility option in GNUmakefile is also added: for e.g., `make ninja ccache`. Reviewed By: brecht, ankitm Differential Revision: https://developer.blender.org/D9665
2020-10-19Cleanup: spelling in commentsAlistair Sealy
Fixed a couple of typos in comments in CMakeLists.txt and GNUmakefile Reviewed By: #platforms_builds_tests, mont29 Differential Revision: https://developer.blender.org/D9261
2020-10-07PyDoc: Multithread sphinx-buildAaron Carlisle
Compile times went from over 5min to under 2 on my laptop.
2020-10-07PyDoc: Remove workaround for slow sphinx buildsAaron Carlisle
Tesing with newer versions of sphinx to directory `sphinx-build` is executed has no affect on the build time. Testing even gave a 2-3% speed boost.
2020-09-05Makefile: update spell checking targetsCampbell Barton
Update check_spelling targets to match changes to the utility, take an optional CHECK_SPELLING_CACHE argument.
2020-06-26Build: show helpful error when accidentally using GNUMakefile on WindowsBrecht Van Lommel
2020-06-12Makefile: Add build target for releaseAaron Carlisle
Fixes T77353
2020-04-17GNUmakefile: remove style checking targetsCampbell Barton
This has been removed since clang-format now enforces code-style.
2020-02-15Build: use clang-format from precompiled libraries for make format on LinuxBrecht Van Lommel
Ref T73747
2019-11-22Fix make BUILD_CMAKE_ARGS not combining with targets like ninja and liteBrecht Van Lommel
Previously make BUILD_CMAKE_ARGS="" on Linux and macOS would override any cmake arguments that come from the targets. Now they are concatenated.
2019-11-18Fix building on NetBSDCampbell Barton
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-09-30macOS: don't require python3 to be installed to run "make update"Brecht Van Lommel
And fall back to python3 from our libraries for other commands, once checked out with make update.
2019-09-12Build: add "make test" command for Windows, output log fileBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5715
2019-08-30Tests: move "make test" on macOS and Linux to Python scriptBrecht Van Lommel
2019-08-30Build: move "make update" on macOS and Linux to Python scriptBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5545
2019-08-30Fix "make deps" error when building deps with make and Blender with ninjaBrecht Van Lommel
2019-08-12Fix wrong detection in recent ninja build changeBrecht Van Lommel
2019-08-12Build: automatically detect ninja build system when running "make"Brecht Van Lommel
So that you don't have to specify "make ninja" every time.
2019-08-05Build: add ninja target to make wrapperBrecht Van Lommel
To use the ninja build tool which is typically faster than make, especially for quick rebuilds.
2019-08-05Build: add config for developersBrecht Van Lommel
This has faster builds, error checks and tests. The number of cmake options for this type of thing has grown over the years and it's convenient to be able to point new developers to a single target. Previously the combination of all these options did not work correctly, now all tests should pass. The easiest way to use this is with the make wrapper, for example: make full developer debug Or set it manually with CMake: cmake -C ../blender/build_files/cmake/config/blender_developer.cmake . Differential Revision: https://developer.blender.org/D5149
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-06-22macOS: rename blender.app to Blender.appBrecht Van Lommel
Using a capitalized app name fits the platform guidelines. Since macOS file systems are case insensitive by default this should not break scripts that assume lowercase.