<div dir="auto">Because of the cxx11 requirement, at minimum a  working unique_ptr implementation, CMake can be built with gcc >= 4.8 or devstudio >= 12.5. The nightly builds though will be for all versions available on the system to make sure that for the order compiler versions a prebuilt CMake can be used to build a user's code, even if said compiler can't build CMake itself.</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018, 11:16 Dagobert Michelsen <<a href="mailto:dam@opencsw.org">dam@opencsw.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chuck,<br>
<br>
> Am 16.08.2018 um 18:30 schrieb Chuck Atkins <<a href="mailto:chuck.atkins@kitware.com" target="_blank" rel="noreferrer">chuck.atkins@kitware.com</a>>:<br>
>> I just installed it:<br>
>> <br>
>>   unstable10x  12.5 and 12.6<br>
>>   unstable10s  12.5 and 12.6<br>
>>   unstable11x  12.5, requires kernel update which requires disk increase in VMware, will do tomorrow<br>
>>   unstable11s  requires kernel update, as this is a non-global zone I need a timewindow for all zones<br>
>> <br>
>> I also patched all installed compilers on unstable10s and unstable10x to the most recent patchlevel.<br>
>> unstable11* will be patched together with the kernel later.<br>
> <br>
> That's awesome!  Thanks! <br>
<br>
unstable11x has been disk increased and patched to the latest kernel and 12.6 has been installed.<br>
unstable11s has been patches to the latest kerel and 12.5 and 12.6 have been installed.<br>
<br>
All build machines should now be in optimal shape again.<br>
Please let me know if you notice anything strange.<br>
<br>
>> We are currently provising CMake 3.4.3:<br>
>>   <a href="https://www.opencsw.org/packages/cmake/" rel="noreferrer noreferrer" target="_blank">https://www.opencsw.org/packages/cmake/</a><br>
>> <br>
>> If the most recent version builds cleanly please drop me a note and I’ll update our package.<br>
> <br>
> It does, there's just a few.  I just built the 3.12.1 release on u10s so I can use it to drive nightly builds.  I built it with gcc5, but I believe devstudio 12.x should be fine too.  Basically CMake needs a C++11 compiler to build.  To bootstrap it, I used the following:<br>
> <br>
> CC=gcc CXX=g++ ./bootstrap --system-libs --no-system-librhash --no-system-jsoncpp --no-system-libuv --parallel=16 --prefix=${HOME}/dashboards/support/sparc/cmake-3.12.1 -- -DCMAKE_NCURSES_LIBRARY=IGNORE <br>
> <br>
> CMake actually requires CMake to build so to address the chicken-egg problem the ./bootstrap shell script in the top level CMake source manually compiles a a bare-bones feature-reduced version of CMake which it then uses to configure and build the full CMake.  In general, as a backager, you'll want to rely on external versions of third party libraries as much as possible, hence the --system-libs flag.  Some are not always available though, hence the --no-system-{librhash,jsoncpp,libuv} flags.  The trailing -DCMAKE_NCURSES_LIBRARY=IGNORE deals with a mismatch and confusion that happens from CMake getting mixed up between the core system curses and the csw ncurses library.  So the extra flag makes CMake unable to successfully locate ncurses and fallback to curses, which ends up working correctly.<br>
> <br>
> I should be able to have a nightly build going on most of the machines in a few days.<br>
<br>
Excellemt. I will be looking to update the package build next week.<br>
<br>
<br>
Best regards<br>
<br>
  — Dago<br>
<br>
<br>
-- <br>
"You don't become great by trying to be great, you become great by wanting to do something,<br>
and then doing it so hard that you become great in the process." - xkcd #896<br>
<br>
</blockquote></div>