...
If you’re doing a debug build and you see linker errors about missing libs, see if the file names end with “d”. E.g. “foo.lib” would be “food.lib” for a debug build. When I had this issue I think I did actually add those libs to Path, but I’m not sure that’s the way you’re supposed to do it.
Excluding the test folder from Windows Defender
Windows Defender likes to scan new files, including those that tests create. So if we don’t exclude the test folder there’s at least one test known to fail, “LLVM :: ThinLTO/X86/cache.ll”. To add this exclusion follow https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c301afe13b26 and add “<llvm-build-dir>/test”.