0
0
forked from blender/blender
blender/build_files
Sergey Sharybin b8a7be0487 Build: Add option to remove stale files from checkout
This change adds `--prune-destructive` command line argument to the
`make_update.py` script which ensures directories which used to be
an in-worktree checkout do not exist. Currently it is addons and
addons_contrib folders.

This gives buildbot an ability to ensure checkout used for build is
correct, regardless of which branch or patch was built there.

The option is needed because sometimes it is still required to be
able to build patches against v330 or v360 which still use the old
style of addons.

Alternative solution could be to ignore the folders in the INSTALL
command, but this could have impact on users who wants to package
custom addons.

The downside of this solution is that buildbot potentially will be
downloading addons and addons_contrib repositories every time it
builds a patch against v330 or v360. It should not be a problem in
practice since the repositories are rather small, and patches for
these tracks are not built very often.

Ref #126557

Pull Request: blender/blender#127798
2024-09-20 14:45:19 +02:00
..
build_environment Update OpenCollada library version 2024-07-26 09:29:20 +02:00
buildbot Cycles render tests: Add the option to test with OSL enabled 2024-08-16 23:21:01 +12:00
cmake CMake: library path reference for PLATFORM_ENV_BUILD unix/macos (#2) 2024-08-16 12:13:14 +02:00
config Cycles: Update ocloc to 101.5518 on Windows 2024-06-21 18:01:54 +02:00
package_spec License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
utils Build: Add option to remove stale files from checkout 2024-09-20 14:45:19 +02:00
windows make.bat: Enable .py formatting with make format 2024-06-06 09:10:19 -06:00