Build LLVM/Zig on Windows from Scratch
These are commands to build LLVM/Zig from any windows machine from scratch (no pre-requisites).
Configuration:
Build Type LLVM:
Release
Debug
Build Type Zig:
Release
Debug
Host CPU:
x64
arm64
Target CPU:
x64
arm64
x86
arm
LLVM Directory:
Zig CMAKE
After you've built LLVM with the instructions below, here are your cmake arguments to build Zig with it:
Build LLVM (with lld and clang)