<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Are you passing the path to the existing ninja binary when building?<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp;&nbsp;</span><span style="font-variant-ligatures: no-common-ligatures; color: #ffffff; background-color: #000000" class="">ninja</span><span style="font-variant-ligatures: no-common-ligatures" class="">-bin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "the path to Ninja tool"</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div>If not, it will likely try and build ninja for you.</div><div><br class=""></div><div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;if ninja_required and toolchain.ninja is None:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; args.</span><span style="font-variant-ligatures: no-common-ligatures; color: #ffffff; background-color: #000000" class="">build_ninja</span><span style="font-variant-ligatures: no-common-ligatures" class=""> = True</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Alex</span></div></div><div><br class=""><blockquote type="cite" class=""><div class="">On 14 Sep 2017, at 03:32, David Zarzycki via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">So after updating my sources, build-script fails to work with the following error:<br class=""><br class="">./utils/build-script: fatal error: can't find source directory for ninja (tried /Volumes/data/wt/swift/master/ninja)<br class=""><br class="">Why does it care about where my ninja source is? Why does "--build-ninja false" not work?<br class=""><br class="">Thanks,<br class="">Dave<br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></div></blockquote></div><br class=""></div></body></html>