[llvm-dev] Help required on running the regression tests

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 14 03:55:51 PDT 2019

Hi Joan,

On Fri, 14 Jun 2019 at 11:45, Joan Lluch <joan.lluch at icloud.com> wrote:
> When I started with this, I just downloaded the sources for the LLVM site, I did not even created a git for it. Then ran the CMAKE app (not from the command line) with the default settings other than also adding the ‘experimental’ targets, and boom a fully functional XCode project was created, so I gave no further thought on that.

Oh, Xcode. Now that's a large wrinkle in matters. I take it that means
you used "cmake -G Xcode"? I think most people who work on LLVM use
either the "Unix Makefiles" or he "Ninja" backends for CMake, which do
generate the check destinations needed. The xcode backend would
completely replace any make/ninja files CMake would generate so that
would explain what you're seeing.

Some more people (I think) have a separate xcode build directory
purely for indexing/IDE but do their main builds in a make/ninja

Anyway, I've just generated an Xcode project myself and (by running
"xcodebuild -list") there does appear to be an "xcodebuild -target
check" (etc). I've not actually run them because at the moment I only
have access to a laptop that would take quite a while to finish, but I
think that's probably your best bet.



More information about the llvm-dev mailing list