User Manual: Remove old files for when deploying #7
@ -146,12 +146,13 @@ def get_cmake_options(builder: worker.blender.CodeBuilder) -> worker.utils.CmdSe
|
|||||||
|
|
||||||
vc_tool_install_path = pathlib.PureWindowsPath(vc_tools_install_dir)
|
vc_tool_install_path = pathlib.PureWindowsPath(vc_tools_install_dir)
|
||||||
if builder.architecture == "arm64":
|
if builder.architecture == "arm64":
|
||||||
vs_tool_install_dir_suffix = "bin/Hostarm64/arm64"
|
compiler_file_path="C:/Program Files/LLVM/bin/clang-cl.exe"
|
||||||
|
compiler_file_path="C:/Program Files/LLVM/bin/clang-cl.exe"
|
||||||
|
linker_file_path="C:/Program Files/LLVM/bin/lld-link.exe"
|
||||||
else:
|
else:
|
||||||
vs_tool_install_dir_suffix = "bin/Hostx64/x64"
|
vs_tool_install_dir_suffix = "bin/Hostx64/x64"
|
||||||
|
compiler_file_path = vc_tool_install_path / f"{vs_tool_install_dir_suffix}/cl.exe"
|
||||||
compiler_file_path = vc_tool_install_path / f"{vs_tool_install_dir_suffix}/cl.exe"
|
linker_file_path = vc_tool_install_path / f"{vs_tool_install_dir_suffix}/link.exe"
|
||||||
linker_file_path = vc_tool_install_path / f"{vs_tool_install_dir_suffix}/link.exe"
|
|
||||||
|
|
||||||
options += ["-G", "Ninja"]
|
options += ["-G", "Ninja"]
|
||||||
# -DWITH_WINDOWS_SCCACHE=On
|
# -DWITH_WINDOWS_SCCACHE=On
|
||||||
|
@ -48,4 +48,7 @@ def update(builder: worker.blender.CodeBuilder) -> None:
|
|||||||
builder.architecture,
|
builder.architecture,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if builder.track_id not in ("v330", "v360", "vexp"):
|
||||||
|
cmd += ["--prune-destructive"]
|
||||||
|
|
||||||
worker.utils.call(cmd)
|
worker.utils.call(cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user