[cmake-developers] Toward a more deterministic ninja generator

Florent Castelli florent.castelli at gmail.com
Wed Jun 15 04:39:55 EDT 2016


To this, I would add that you could also remove duplicates. They’re rare but can happen in some conditions and trigger warnings in Ninja.

/Florent

> On 14 Jun 2016, at 17:18, Nicolas Desprès <nicolas.despres at gmail.com> wrote:
> 
> Hi,
> 
> While working on something else I wrote this patch:
> https://github.com/nicolasdespres/CMake/commit/59e4e62ba014c6fcd4519b57b621d9434f99ff19 <https://github.com/nicolasdespres/CMake/commit/59e4e62ba014c6fcd4519b57b621d9434f99ff19>
> 
> It makes the ninja generator more deterministic by sorting the build edge's inputs/outputs. It does not introduce any regression on my macbookpro.
> 
> This could help to fix issue #15968.
> 
> Regards,
> 
> -- 
> Nicolas Desprès
> -- 
> 
> Powered by www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake-developers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160615/71c28f29/attachment.html>


More information about the cmake-developers mailing list