mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
This commit includes new minimum compiler requirements for Blender 5.1 as well as updated and new libraries. **New compiler requirements** * Windows x64: Visual Studio 2022 (17.14.14 or newer) * Windows arm64: Visual Studio 2022 (17.14.23 or newer) * Linux x64: gcc 14 (when used with our libraries) **New libraries** Abseil 20250814.1 ThorVG 1.0.0-pre31 OpenJPH 0.25.2 **Updated libraries** AOM 3.13.1 Expat 2.7.2 FFI 3.5.2 HIPRT 606b4886efabce918dd0634ef71c06615a47c83b Imath 3.2.2 ISPC 1.29.1 libheif 1.20.2 MaterialX 1.39.4 MESON 1.9.0 minizip-ng 4.0.10 Numpy 2.3.4 oneAPI Level Zero 1.21.9 OneTBB 2022.3.0 OpenColorIO 2.5.0 OpenEXR 3.4.3 OpenImageDenoise 2.4.1 OpenImageIO 3.1.7 OpenSubDiv 3.7.0 OpenVDB 13.0.0 OpenXR 1.1.53 PIP 25.2 Python 3.13.9 ShaderC 2025.4 Vulkan 1.4.328 webp 1.6.0 Yaml CPP 0.8.0 ZSTD 1.5.7 (z-standard 0.25.0) **Library changes** FMT (moved from /extern to libs) Ceres (updated version in lib, will be removed from /extern in a later commit) Eigen (updated version in lib, will be removed from /extern in a later commit)) Ref #147201 Co-authored-by: Nikita Sirgienko <nikita.sirgienko@intel.com> Co-authored-by: Ray Molenkamp <github@lazydodo.com> Co-authored-by: Sebastian Parborg <sebastian@blender.org> Co-authored-by: Anthony Roberts <anthony.roberts@linaro.org> Co-authored-by: Jonas Holzman <jonas@holzman.fr> Co-authored-by: Bart van der Braak <bart@blender.org> Pull Request: https://projects.blender.org/blender/blender/pulls/149852
38 lines
1.1 KiB
Batchfile
38 lines
1.1 KiB
Batchfile
REM find all dependencies and set the corresponding environment variables.
|
|
for %%X in (cmake.exe) do (set CMAKE=%%~$PATH:X)
|
|
for %%X in (ctest.exe) do (set CTEST=%%~$PATH:X)
|
|
for %%X in (git.exe) do (set GIT=%%~$PATH:X)
|
|
REM For python, default on 313 but if that does not exist also check
|
|
REM 311, to see if that is available.
|
|
set PYTHON=%BLENDER_DIR%\lib\windows_x64\python\313\bin\python.exe
|
|
if EXIST %PYTHON% (
|
|
goto detect_python_done
|
|
)
|
|
set PYTHON=%BLENDER_DIR%\lib\windows_x64\python\311\bin\python.exe
|
|
if EXIST %PYTHON% (
|
|
goto detect_python_done
|
|
)
|
|
rem Additionally check for the ARM64 version
|
|
set PYTHON=%BLENDER_DIR%\lib\windows_arm64\python\313\bin\python.exe
|
|
if EXIST %PYTHON% (
|
|
goto detect_python_done
|
|
)
|
|
set PYTHON=%BLENDER_DIR%\lib\windows_arm64\python\311\bin\python.exe
|
|
if EXIST %PYTHON% (
|
|
goto detect_python_done
|
|
)
|
|
|
|
if NOT EXIST %PYTHON% (
|
|
if EXIST %BLENDER_DIR%\lib\windows_x64\.git (
|
|
echo Warning: Python not found, there is likely an issue with the library folder
|
|
)
|
|
set PYTHON=""
|
|
)
|
|
|
|
:detect_python_done
|
|
if NOT "%verbose%" == "" (
|
|
echo cmake : "%CMAKE%"
|
|
echo ctest : "%CTEST%"
|
|
echo git : "%GIT%"
|
|
echo python : "%PYTHON%"
|
|
)
|