[cmake-developers] Ninja: using dependency database

Peter Kümmel syntheticpp at gmx.net
Mon Oct 21 12:24:38 EDT 2013


On 21.10.2013 16:19, Bill Hoffman wrote:
> On 10/19/2013 7:09 AM, Peter Kümmel wrote:
>> CMake now uses Ninja's database feature for dependency
>> tracking.
>> An empty build now takes about a third less (e.g. Clang
>> 160ms->100ms)
>>
>> Therefore ninja master is needed, please update your build
>> server.
>
> This looks like a real bug:
> http://open.cdash.org/testDetails.php?test=214096074&build=3067806

When I revert my patch the test still fails, I have to check 
if why.

>
>
>
> Run Build Command:/home/kitware/Dashboards/My\
> Tests/ninja/ninja
> [1/8] Building C object "/home/kitware/Dashboards/My
> Tests/CMake-ninja-build/Tests/OutOfBinary/CMakeFiles/outlib.dir/outlib.c.o"
>
> [2/8] Building CXX object
> SubDir/OutOfSourceSubdir/CMakeFiles/testlib.dir/testlib.cxx.o
> FAILED: /usr/bin/cc    -MMD -MT "/home/kitware/Dashboards/My
> Tests/CMake-ninja-build/Tests/OutOfBinary/CMakeFiles/outlib.dir/outlib.c.o"
> -MF "/home/kitware/Dashboards/My
> Tests/CMake-ninja-build/Tests/OutOfBinary/CMakeFiles/outlib.dir/outlib.c.o.d"
> -o "/home/kitware/Dashboards/My
> Tests/CMake-ninja-build/Tests/OutOfBinary/CMakeFiles/outlib.dir/outlib.c.o"
>    -c "/home/kitware/Dashboards/My
> Tests/NinjaCMake/Tests/OutOfBinary/outlib.c"
> depfile has multiple output paths.
> ninja: build stopped: subcommand failed.
>
>
> -Bill
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>
>



More information about the cmake-developers mailing list