<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, everyone. A while ago I remember being told that the reason the Clang unit tests don't run in a standalone CMake build is because it would require duplicating a whole bunch of LLVM's CMake or gtest infrastructure. Or something like that.<div><br></div><div>However, do we even support building Clang without specifying a path to the LLVM source directory? I just tried it today (specifying only a path to the build directory), and got "include could not find load file" for "AddLLVM" and "TableGen".</div><div><br></div><div>And building <i>with</i> the path to the LLVM source, the unit tests work fine, after being enabled in the top-level CMakeLists.txt and with a few tweaks to the CMakeLists.txt in test/.</div><div><br></div><div>If we do <i>not</i> support building Clang without LLVM sources available, we should go ahead and enable the unit tests. If we<i> do</i> support building Clang without LLVM sources available, we should fix this!</div><div><br></div><div>Jordan</div><div><br></div><div></div></body></html>