Commit Graph

3 Commits

Author SHA1 Message Date
Ray Molenkamp
716fda7df1 Deps: Windows: Add back nuke convenience script
To easily force a rebuild of a dependency the nuke script will remove all build
artifacts for a specific dependency from the dependency build folder. This includes

- The Debug and Release build folder of the dependency
- The Debug and Release staging output folder of the dependency
- The harvest output folder of the dependency

For dependencies that have a long dependency chain like embree, shaderc and
python extra convenience scripts are added that nuke the additional deps that
need to be removed to obtain a fully clean build.
2025-01-14 18:12:02 -07:00
Ray Molenkamp
9d69327418 Deps: Windows: x64: Update dependency build scripts
These scripts have not been updated in years, and locally i had better
versions of them. This commit updates them to the latest i had locally
this should hopefully lower the barrier to building the dependencies by
other developers as all that is needed is a fresh VM with a clean
windows install.

Removed:

buildall.cmd - not useful, we no longer build for 2 vs versions
and 2 architectures , removed

nuke.cmd - same, may come back in the future in some form

New:

vmprep.cmd.txt - This preps a clean windows vm with the correct
versions of visual studio/cuda/git/hip/meson to build all dependencies.

this should only and ever be run on a clean install of windows, do not
under any circumstances run this on a developer workstation.

to prevent people from doing this anyhow this script has a .txt
extension so it cannot be accidentally executed, instructions on how to
run this script are this file.

vmbuild.cmd.txt - Helper build script, vmprep will provision the build
machine with this script.

vsconfig_2019 - installer script for visual studio 2019 to select the
workloads we require.
2025-01-14 10:52:44 -07:00
Brecht Van Lommel
e7c6b244c9 Build: add scripts to build dependencies for Windows and macOS.
Note these are intended for platform maintainers, we do not intend to
support users making their own builds with these. For that precompiled
libraries from lib/ should be used.

Implemented by Martijn Berger, Ray Molenkamp and Brecht Van Lommel.

Differential Revision: https://developer.blender.org/D2753
2017-08-07 17:46:06 +02:00