Clang/llvm build issue

While trying to build clang and llvm I get the following issue:

[ 52%] Building CXX object lib/Target/Sparc/CMakeFiles/LLVMSparcCodeGen.dir/SparcSubtarget.cpp.obj
SparcSubtarget.cpp
F:\Clanggit\llvm\lib\Target\Sparc\SparcSubtarget.cpp: fatal error C1033: cannot open program database 'F:\Clanggit\build\32\Debug\lib\Target\Sparc\CMakeFiles\LLVMSparcCodeGen.dir\vc140.pdb'
NMAKE : fatal error U1077: 'E:\MICROS~2.0\VC\bin\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"E:\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"E:\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

So I'm having lots of problems I've never encountered before while building clang/llvm. I'm having lots of random issues with pdb files saying they are in use and obj files saying they are corrupted. They shouldn't be either, I don't have anything open and I don't see how a freshly built object file can be corrupted. Anyone know what's going on? I'll keep trying and reporting the errors.