[swift-dev] build-script has newfound interest in ninja source?

Alex Blewitt alblue at apple.com
Thu Sep 14 03:11:41 CDT 2017


Are you passing the path to the existing ninja binary when building?

    ninja-bin                   ""               "the path to Ninja tool"

If not, it will likely try and build ninja for you.

        if ninja_required and toolchain.ninja is None:
            args.build_ninja = True
Alex

> On 14 Sep 2017, at 03:32, David Zarzycki via swift-dev <swift-dev at swift.org> wrote:
> 
> So after updating my sources, build-script fails to work with the following error:
> 
> ./utils/build-script: fatal error: can't find source directory for ninja (tried /Volumes/data/wt/swift/master/ninja)
> 
> Why does it care about where my ninja source is? Why does "--build-ninja false" not work?
> 
> Thanks,
> Dave
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170914/8b670fba/attachment.html>


More information about the swift-dev mailing list