This switches clang to be the default compiler on Windows ARM64, allowing for an override to MSVC. Turns out MSVC builds have been broken for months, but nobody checked, so I'm just switching them off for now and setting clang as the default. These updated scripts allow for the msbuild generator to use an external (ie, non-MSVC) clang installation properly, otherwise they failed. They also allow for users to specify their own desired clang compiler via an environment variable. An update to the docs will come seperately. Pull Request: https://projects.blender.org/blender/blender/pulls/134566
45 lines
1.9 KiB
Batchfile
45 lines
1.9 KiB
Batchfile
echo.
|
|
echo Convenience targets
|
|
echo - release ^(identical to the official blender.org builds^)
|
|
echo - full ^(same as release minus the cuda kernels^)
|
|
echo - lite
|
|
echo - headless
|
|
echo - cycles
|
|
echo - bpy
|
|
echo.
|
|
echo Utilities ^(not associated with building^)
|
|
echo - clean ^(Target must be set^)
|
|
echo - update ^(Update both SVN and GIT^)
|
|
echo - code_update ^(Update only GIT^)
|
|
echo - nobuild ^(only generate project files^)
|
|
echo - showhash ^(Show git hashes of source tree^)
|
|
echo - test ^(Run automated tests with ctest^)
|
|
echo - format [path] ^(Format the source using clang-format, path is optional, requires python 3.x to be available^)
|
|
echo.
|
|
echo Configuration options
|
|
echo - verbose ^(enable diagnostic output during configuration^)
|
|
echo - developer ^(enable faster builds, error checking and tests, recommended for developers^)
|
|
echo - with_tests ^(enable building unit tests^)
|
|
echo - nobuildinfo ^(disable buildinfo^)
|
|
echo - debug ^(Build an unoptimized debuggable build^)
|
|
echo - packagename [newname] ^(override default cpack package name^)
|
|
echo - builddir [newdir] ^(override default build folder^)
|
|
echo - 2019 ^(build with visual studio 2019^)
|
|
echo - 2019b ^(build with visual studio 2019 Build Tools^)
|
|
echo - 2022 ^(build with visual studio 2022^)
|
|
echo - 2022pre ^(build with visual studio 2022 pre-release^)
|
|
echo - 2022b ^(build with visual studio 2022 Build Tools^)
|
|
echo - clang ^(enable building with clang - default on ARM64^)
|
|
echo - msvc ^(enable building with msvc - default on x64, unsupported on ARM64^)
|
|
|
|
echo.
|
|
echo Documentation Targets ^(Not associated with building^)
|
|
echo - doc_py ^(Generate sphinx python api docs^)
|
|
|
|
echo.
|
|
echo Experimental options
|
|
echo - with_gpu_tests ^(enable both the render and draw gpu test suites including EEVEE, Workbench, Grease Pencil, draw manager and GPU backends^)
|
|
echo - asan ^(enable asan^)
|
|
echo - ninja ^(enable building with ninja instead of msbuild^)
|
|
echo.
|