0
0
forked from blender/blender
blender/build_files/cmake
Sergey Sharybin a99d9ba635 Blender 3.6: Switch SVN to Git submodules using Git-LFS
This change makes it so build system and update utilities for Blender builds
are using pre-compiled libraries and other resources attached as Git modules
instead of using checkout of SVN repositories in the parent folder.

The directory layout:
```
  * release/datafiles/
    * assets/        -> blender-assets.git
      * publish/
      * ...
      * README.txt
  * lib/
    * darwin_x64/    -> lib-darwin_x64.git
    * darwin_arm64/  -> lib-darwin_arm64.git
    * linux_x64/     -> lib-linux_x64.git
    * windows_x64/   -> lib-windows_x64.git
  * tests/
    * data/         -> blender-test-data.git
```

The changes about configuring the actual Git sub-modules are not included
into this patch, as those require repository to actually exist before it
can be used.

The assets submodule is enabled by default, and the rest of them are
disabled. This means that if someone runs `git submodule update --init`
they will not get heavy libraries. The platform-specific and tests
related submodules are enabled when using `make update` or `make test`.

All the submodules are tracked: this means that when new commits are
done to the submodule, the blender.git repository is to be updated to
point them to the new hash. This causes some extra manual work, but it
allows to more easily update Blender and its dependencies to known good
state when performing operations like bisect.

Ref #108978

Pull Request: blender/blender#117946

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Co-authored-by: Ray Molenkamp <github@lazydodo.com>
Pull Request: blender/blender#118628
2024-02-22 19:57:43 +01:00
..
config Cycles: enable HIP-RT for AMD hardware ray-tracing 2023-05-15 13:46:06 +02:00
example_scripts Docs: change Git URLs to point projects.blender.org instead of git.blender.org 2023-02-07 14:23:05 +01:00
Modules Build: update 3.6 libraries to address CVEs and bugs 2023-10-09 14:24:37 +02:00
platform Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
buildinfo_static.h.in CMake: configue_file() to pass strings for build-info 2020-11-06 17:26:29 +11:00
buildinfo.cmake Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00
clang_array_check.py Cleanup: run autopep8 on build_files/ 2022-04-20 15:08:46 +10:00
cmake_netbeans_project.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
cmake_print_build_options.py CMake: support multi-line strings for the help_features target 2023-01-19 17:10:42 +11:00
cmake_qtcreator_project.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
cmake_static_check_clang_array.py Cleanup: remove "<pep8 compliant>" from headers 2022-06-02 20:16:20 +10:00
cmake_static_check_cppcheck.py check_cppcheck: skip files that hang, minor improvements 2022-08-23 11:01:02 +10:00
have_features.cmake Fix #111186: Crash backtrace missing on Linux 2023-10-05 20:33:27 +02:00
macros.cmake Blender 3.6: Switch SVN to Git submodules using Git-LFS 2024-02-22 19:57:43 +01:00
packaging.cmake Fix T98726: Include blender version number in windows shortcuts 2022-11-20 18:31:00 -07:00
project_info.py Revert release branch only commit after merge 2023-02-20 11:51:16 +01:00
project_source_info.py Fix error extracting arguments from project_source_info 2022-09-09 17:18:11 +10:00
RpmBuild.cmake File headers: use SPDX license for CMake files 2022-02-11 14:23:56 +11:00