<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"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></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 <<a href="mailto:dowobeha@gmail.com">dowobeha@gmail.com</a>> wrote:<br>
> I'm on Scientific Linux 7.1. I added the two instances of "which ninja" as<br>
> you suggested, then re-ran build-script:<br>
><br>
>> $ ./swift/utils/build-script<br>
>> which: no ninja in<br>
>> (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/lanes/.local/bin:/home/lanes/bin)<br>
>> Building the standard library for: swift-stdlib-linux-x86_64<br>
>> Running Swift tests for: check-swift-linux-x86_64<br>
>><br>
>> /home/lanes/swift/build/Ninja-DebugAssert/ninja-build/ninja<br>
>> cmark: using standard linker<br>
>> + which ninja<br>
>> /home/lanes/swift/build/Ninja-DebugAssert/ninja-build/ninja<br>
>> + cd /home/lanes/swift/build/Ninja-DebugAssert/cmark-linux-x86_64<br>
>> + /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=clang<br>
>> -DCMAKE_CXX_COMPILER:PATH=clang++ -DCMAKE_BUILD_TYPE:STRING=Debug<br>
>> /home/lanes/swift/cmark<br>
>> CMake Error: CMake was unable to find a build program corresponding to<br>
>> "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a<br>
>> different build tool.<br>
<br>
</span>Interesting. So ninja is found in both places, but CMake does not see<br>
it. What'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<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<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'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, "Time Enough For Love"</div>
</div></div>