[LLVMdev] [RFC] Late May Update: Progress report on CMake build system's ability to replace autoconf

Tim Northover
Wed, 03 Jun 2015 19:35:48 -0000

On 3 June 2015 at 12:14, Jim Grosbach <grosbach at apple.com>
wrote:
> I’ve been trying, and thus far failing, to get the test suite up and
running
> against a CMake+ninja clang build. Filed
> https://llvm.org/bugs/show_bug.cgi?id=23746. Depending on what workarounds
> people know of or can come up with, that may or may not be a blocker.

I've been successfully using LNT to run the test-suite based on CMake
builds. Sometimes have to symbolically link ld64 into build/bin
directory, but otherwise I just go for some variant of:

~/lnt-sandbox/bin/lnt runtest --verbose nt \
    --sandbox ~/lnt-sandbox/results \
    --test-suite ~/lnt-sandbox/test-suite \
    --test-externals ~/lnt-sandbox/test-suite-externals \
    --cc ~/llvm/build.rel/bin/clang \
    --cflag="-flto -O3 -stdlib=libstdc++" \
    --without-llvm \
    --simple \
    --small \
    -j 4

Tim.