I think my problem has something to do with NATIVE building. When I build all the targets, CMake gets run again and ends with this message:
-- Build files have been written to: D:/LLVM/build/NATIVE
Where did that come from? Here is my cmake command:
cmake -G "Ninja" -S c:\llvm\llvm-project\llvm -DCMAKE_BUILD_TYPE=Debug -DCMAKE_LINKER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/link.exe" -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_LIBXML2=OFF -DLLVM_ENABLE_PROJECTS=clang;lld;llvm;mlir -DLLVM_ENABLE_SPHINX=ON -DLLVM_HOST_TRIPLE:STRING=x86_64-pc-windows-msvc -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_DEFAULT_TARGET_TRIPLE:STRING=X86_64-pc-windows-msvc -DLLVM_TARGETS_TO_BUILD=AMDGPU;ARM;AVR;BPF;Lanai;Mips;NVPTX;SystemZ;WebAssembly -DSPHINX_OUTPUT_HTML=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF
Did I screw up by specifying both a host triple and a target triple?