[LNT] r261851 - [test-suite] Add the ability to pass CMake defines to CMake.

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 13:22:36 PST 2016


> On Feb 25, 2016, at 2:05 AM, James Molloy via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: jamesm
> Date: Thu Feb 25 04:05:00 2016
> New Revision: 261851
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=261851&view=rev
> Log:
> [test-suite] Add the ability to pass CMake defines to CMake.
> 
> While we're here, ensure that we build 'timeit-host' first before anything else. CMake doesn't know that timeit-host is a requirement for building *any other source file*. This kinda works when building at the top level, but when using --only-test things break.

At least in the generated ninja files I see a proper dependency to timeit-host and just testing to build a single benchmark when building with make/ninja from a clean state first create timeit-host and then built the benchmark, any idea why this isn't working for you?

- Matthias


More information about the llvm-commits mailing list