<div dir="ltr">







<p class=""><span class="">cmake version 2.8.11</span></p><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 4, 2015 at 2:42 PM, Dmitri Gribenko <span dir="ltr">&lt;<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Fri, Dec 4, 2015 at 12:36 PM, Lane Schwartz &lt;<a href="mailto:dowobeha@gmail.com">dowobeha@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;m on Scientific Linux 7.1. I added the two instances of &quot;which ninja&quot; as<br>
&gt; you suggested, then re-ran build-script:<br>
&gt;<br>
&gt;&gt; $ ./swift/utils/build-script<br>
&gt;&gt; which: no ninja in<br>
&gt;&gt; (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/lanes/.local/bin:/home/lanes/bin)<br>
&gt;&gt; Building the standard library for: swift-stdlib-linux-x86_64<br>
&gt;&gt; Running Swift tests for: check-swift-linux-x86_64<br>
&gt;&gt;<br>
&gt;&gt; /home/lanes/swift/build/Ninja-DebugAssert/ninja-build/ninja<br>
&gt;&gt; cmark: using standard linker<br>
&gt;&gt; + which ninja<br>
&gt;&gt; /home/lanes/swift/build/Ninja-DebugAssert/ninja-build/ninja<br>
&gt;&gt; + cd /home/lanes/swift/build/Ninja-DebugAssert/cmark-linux-x86_64<br>
&gt;&gt; + /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=clang<br>
&gt;&gt; -DCMAKE_CXX_COMPILER:PATH=clang++ -DCMAKE_BUILD_TYPE:STRING=Debug<br>
&gt;&gt; /home/lanes/swift/cmark<br>
&gt;&gt; CMake Error: CMake was unable to find a build program corresponding to<br>
&gt;&gt; &quot;Ninja&quot;.  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a<br>
&gt;&gt; different build tool.<br>
<br>
</span>Interesting.  So ninja is found in both places, but CMake does not see<br>
it.  What&#39;s your CMake version?<br>
<div class=""><div class="h5"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j&lt;i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf(&quot;%d\n&quot;,i);}}} /*Dmitri Gribenko &lt;<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>&gt;*/<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">When a place gets crowded enough to require ID&#39;s, social collapse is not<br>far away.  It is time to go elsewhere.  The best thing about space travel<br>is that it made it possible to go elsewhere.<br>                -- R.A. Heinlein, &quot;Time Enough For Love&quot;</div>
</div></div>