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-10-29make.bat: skip SVN update when running make code_updateRay Molenkamp
regression from rB116d7b0042bba7d6cabd8e04c7d020ac3816caf3
2022-10-21make.bat: update the libraries before calling update_sources.pyRay Molenkamp
The issue we ran into a lot is we have a python script that updates git+SVN. Which works fine most of the time, except when we have a python update in SVN, or worse a python version change. Python really doesn't enjoy having its files being deleted or changed while it is running and users generally end up with a corrupted lib folder. This change updates the library folder using svn.exe first before letting the python script run sidestepping the issue in most cases. The python script will still run and do the more elaborate work like updating git and switching SVN branches which could still run into issues cause python still doesn't like being changed while running but there's not a whole lot we can about that, for *most* people however things will just work now.
2022-04-29Windows: make.bat change python detection orderRay Molenkamp
Given we are officially on 3.10 now, look for that version first, followed by any future version before falling back to 3.9
2022-03-07Cleanup: fix various typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14203
2022-01-27Windows: Retire MSVC 2017 supportRay Molenkamp
The lower bar for building blender is now MSVC 2019 16.9.16.
2022-01-25make.bat: unify python detectionRay Molenkamp
Several sub commands tried on their own to locate python, given I wanted to look in several locations for a broader libdir compatibility this is best done in a central location. Python 3.9 is still preferred, but if 3.10-3.12 are available that be accepted as well. note: this is about the python version make.bat uses to run various python helper scripts, this change has no influence on the python version blender itself uses.
2021-10-27win/make.bat: Add svnfix convenience targetRay Molenkamp
SVN seems to die randomly *a lot* during large updates for some users, and I'm no closer to finding out why that keeps happening. "The internet" seems to imply some AV vendors may be at fault here but nothing conclusive. The solution however is repeatedly running `svn cleanup`and `svn update` in the library folder to repair the corruption and finish the update. This change adds a small convenience helper to automate the repair. This is done inside the make.bat code rather than the shared python based update code, since python lives in the library folder and may or may not exist when this corruption occurs.
2021-10-21Windows: Fix finding python for build helpersRay Molenkamp
It was still looking for the 3.7 folder rather than 3.9
2021-09-06make.bat: Fix missing quotes in python detectionAntonio Vazquez
2021-08-06Windows: Add support to compile python api docs from make fileAaron Carlisle
This adds support to compile the html python api docs from the command line by running `make doc_py` matching support between windows and unix. This patch also makes it so the compiler is not needed if you set the `blender_bin` variable, this affects icon generation as well. In the future, I want to move away from generating the build output in the build directory but that can come in a later change. Reviewed By: LazyDodo Differential Revision: https://developer.blender.org/D12144
2021-08-05Windows: Add icons and icons_geom to make.batRay Molenkamp
This adds support for building the icons from make.bat unlike bash there is no passing environment variables on the command line. The scripts go out of their way to locate both blender and inkscape however if they are not found, the user is given a helpful error message telling them how to set the variables. Although some extra help can be given there, if your normal build is a 2019 full build running `make 2019 full icons` will help it find the blender executable as well. finally if you know the name of your build folder running `make builddir build_windows_Lite_x64_vc16_Release icons` will also work, if all fails you can point directly to the blender executable by running `set BLENDER_BIN=c:\where\blender\lives\blender.exe` before running `make icons` or `make icons_geom` The python scripts needed some small modifications since without the PATHEXT, SystemRoot and SystemDrive environment variables python will not initialize properly on windows. (Not blender related, even mainline python won't start without those)
2021-07-10make.bat: Update detection order of MSVCRay Molenkamp
VS2019 is the preferred version to use these days, look for it before looking for 2017 and 2022.
2021-06-22Build/Windows: Preliminary VS 2022 support.Ray Molenkamp
This adds preliminary VS 2022 support, since there currently is no CMake version that supports the VS2022 IDE only ninja support was tested. IDE support should work without any additional changes as soon as an updated CMake becomes available. As VS2022 appears to keep binary compatibility with earlier MSVC versions, the current SVN libraries will work for this version.
2021-03-30MSVC: ASAN support for VS 16.9Ray Molenkamp
This enables ASAN support when used with VS 16.9 enable as usual in cmake with the WITH_COMPILER_ASAN option, or when using make.bat just tag on `asan' to the invocation, ie: `make lite 2019 asan` MSVC: Asan support for 16.9 This enables ASAN support when used with VS 16.9 enable as usual in cmake with the WITH_COMPILER_ASAN option, or when using make.bat just tag on `asan' to the invocation, ie: `make lite 2019 asan` Differential Revision: https://developer.blender.org/D7794 Reviewed By: brecht, sergey
2020-11-30Windows/Ninja: allow parameters for rebuild.cmdRay Molenkamp
The windows build leaves a convenience helper script in the build folder called, rebuild.cmd. This change passes any parameters you give rebuild.cmd to ninja so you can easily pass it additional parameters without having to edit the batch file manually.
2020-04-20Windows: Add sccache support.Ray Molenkamp
sccache [1] is one of the few ccache like solutions that will work on windows. sccache support can be enabled with the `WITH_WINDOWS_SCCACHE` cmake option however it will only will work with ninja as the build system, msbuild is not supported currently. Advanced option, developes are expected to obtain and configure sccache on their own. ``` Full build no cache 1428.90s (100.00%) Full build cached 434.34s ( 30.40%) ``` [1] https://github.com/mozilla/sccache Reviewed By: nicholas_rishel, Brecht Differential Revision: https://developer.blender.org/D7466
2020-03-31make.bat: Improve messaging when not detecting MSVCRay Molenkamp
Inspired by @mrwhite in D7295
2020-03-24Windows/Cleanup: Remove VS2015 support from make.batRay Molenkamp
VS2015 has not been supported for a while now but make.bat still had some support for it.
2020-03-19Fix typo in make.bat help for build directoryBrecht Van Lommel
2020-02-20windows: Add some more verbose logging to make.batRay Molenkamp
2020-02-09Windows: Improve rebuild.cmdRay Molenkamp
Previously the MSVC environment was setup every time using vcvarsall.bat when you ran you ran rebuild.cmd, Generally not an issue but after many rebuilds on the same console, it grows the path environment variable beyond what is supported and building breaks. This patch adds a check to see if the environment is setup already and skips the call to vcvarsall.bat Also cleans up the double build in the msbuild's version of rebuild.cmd install.vcxproj will build all that is needed, so no need to do a regular build first.
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-10-31make.bat: Warn user about missing svn.exeRay Molenkamp
2019-10-01MSVC: Support Building clang+ninja+VS2019Ray Molenkamp
1) Clang was given the wrong VS version to emulate when used in combination with VS2019 causing build issues. 2) The erroneous supplied parameter `-std::c++11`caused CMake to fail running its compiler detection scripts.
2019-09-25make.bat: Fix rebuilds with custom build directory.Ray Molenkamp
When calling make.bat multiple times to rebuild blender make.bat failed to rebuild if a custom build dir was set. reported and fixed on chat by @dgsantana
2019-09-12Build: add "make test" command for Windows, output log fileBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5715
2019-09-03Fix buildbot unsuccessfully trying to update Blender repository for branchesBrecht Van Lommel
2019-08-30Build: integrate make_update.py into Windows make.batBrecht Van Lommel
2019-08-14make.bat: Support running python from lib folder for make formatLazydodo
We are no longer depended on a system python being installed.
2019-08-05Cleanup/windows: Remove 32 bit support from make.bat helper scriptLazydodo
This change removes 32 bit support from the helper make.bat scripts as we are dropping official 32 bit support, you can still build for 32 bit by configuring your build yourself using cmake and pointing the LIBDIR cmake variable to your own 32 bit library folder.
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-02Cleanup/Win: Fix build folder name if no target is setLazydodo
When you call make.bat without a target the build folder name would have a double underscore in it which looked odd.
2019-08-02Cleanup/Win: Remove unused game engine variables in build helper scriptsLazydodo
2019-06-05make.bat: Support optional paths for `make format`Ray Molenkamp
make.bat now supports optional parameters to restrict the formatting to a specific folder. Multiple paths may be given example: make.bat format source/blender/blenkernel source/blender/gpu
2019-06-02Cleanup: make.bat remove noge option from helpRay Molenkamp
The noge option has been removed but was still shown in the help text.
2019-06-02make.bat: Add convenience option to disable buildinfoRay Molenkamp
Optional parameter nobuildinfo turns WITH_BUILDINFO Off which is helpful when doing development.
2019-05-18make.bat: Add option to only update sources from git.Ray Molenkamp
SVN takes a long time to sync even if there are no updates, the `code_update` parameter gives the option opt out of the SVN updates. This is a developer option, people just wanting to build blender and not do any development are highly recommended to keep using the `update` method.
2019-05-13make.bat: add option for enabling the OpenGL based tests.Ray Molenkamp
2019-04-20make.bat: remove --expand-tabs from "make format" on windows.Ray Molenkamp
following the change on linux.
2019-04-16Clang-format: Speed up detection of clang-formatSergey Sharybin
Don't construct the full build environment, following feedback from Ray.
2019-04-16GNUmakefile: move clang format utilityCampbell Barton
Makes more sense to place in 'utils_maintenance'.
2019-04-16Initial support of `make format` for WindowsSergey Sharybin
There are couple of caviats currently: - The script requires system-wide Python 3 available in the current search PATH as python.exe. This will get addressed soon by distributing unpacked Python binary in our libraries. - Since the libraries folder is to be known, this requires to have MSVC detected. Not too bad, since formatting is still way slower than detection, but still doesn't feel ideal.
2019-02-23make.bat: Preliminary Visual Studio 2019 support.Ray Molenkamp
VS2019 is binary compatible with the existing vc14 libraries and no new libraries libs are required in svn. VS2019 support requires cmake 3.14. VS2019 is still in pre-release state, you are required to explicitly select the pre-release version by using: make full 2019pre
2019-02-23Make.bat: Fix sub-module detectionRay Molenkamp
2019-02-17Merge branch 'blender2.7'Brecht Van Lommel
2019-02-16Windows: Fix building with llvm/clang 7.0.1Ray Molenkamp
For llvm 6 the visual studio integration was 'not great' and we had our own, which broke when llvm 7.0.1 came out. llvm now has properly supported integration available on the VS market place hence we can retire our custom support.
2019-01-25make.bat: remove stray quote in msvc2017 detection.Ray Molenkamp
Shouldn't cause issues, but better safe than sorry.
2018-12-21Update for moving blender2.8 to master.Brecht Van Lommel
2018-12-21Update for moving master to blender2.7 branch.Brecht Van Lommel
2018-10-31Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp