From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56583 invoked by alias); 26 Jul 2018 09:28:04 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 56561 invoked by uid 89); 26 Jul 2018 09:28:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=vendors, H*c:alternative, our X-HELO: mail-it0-f53.google.com Received: from mail-it0-f53.google.com (HELO mail-it0-f53.google.com) (209.85.214.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 09:28:01 +0000 Received: by mail-it0-f53.google.com with SMTP id v71-v6so1762649itb.3 for ; Thu, 26 Jul 2018 02:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=vV/XmHH/CRzaDe6DcBmRhBmL3orfwc4EGH2hobebJOU=; b=AZlueiay9/TNGTXtjcolysWGILRzGDQTiD66ceFJHc2o2H3gnjw+/wdXW+C0H95Bzv lm0hNB8D6mVq1bEX31Ue36knAjsrzuqaxPKapDBnZmDDs20AUe+xq7zgA9W+6vbys5fA iANBMqzG/AWcnuqige4eadHoR74yhHxwHYEAhyNTy5GXtGyok26lE+1TWrbRg2QOpYrk vxsNeL/xmjxOSeghAFNkbI3ko6RmaZPLezrmbA2lolVu03OriwmtertvcxhN9OMBss9a 9ARUQyfm7h1eReR6WKjzeA7sasAlML9ckVYTMT4RwwMLN/3CSE9aA+YJDsUUecdt402k mn3w== MIME-Version: 1.0 Received: by 2002:ac0:83a9:0:0:0:0:0 with HTTP; Thu, 26 Jul 2018 02:27:39 -0700 (PDT) In-Reply-To: <59df30e9-347f-d75d-66a1-c9357b9ef442@gmail.com> References: <87h8kobgqc.fsf@Rainer.invalid> <87d0vcbbpn.fsf@Rainer.invalid> <6e0f7d2f-c9a5-bb79-7c8d-161dcf20ec3f@gmail.com> <6bdcf443-2221-7c0e-887b-5bc4d82b559e@gmail.com> <59df30e9-347f-d75d-66a1-c9357b9ef442@gmail.com> From: Ivan Shynkarenka Date: Thu, 26 Jul 2018 09:28:00 -0000 Message-ID: Subject: Re: [ITA] cmake 3.12.0 To: cygwin-apps@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00107.txt.bz2 > One of the main reasons I haven't put in the effort to update the cmake > package is that recent versions of cmake have new dependencies which it > vendors by default, which is not the way distros such as cygwin prefer to > build things. For a cygwin packaging build of cmake (as with other tools), > the "right way" is presumably to use system versions of all library > dependencies. Cmake 3.12.0 builds successfully out of box for Cygwin with default build script provided by Kitware. So I think its a good chance to build and update the package. Moreover I tested it in lots of our C++ projects that must be build under Cygwin via Appveyor CI. For this reason I add pre-build step with building the latest cmake: - if "%type%"=="Cygwin" appveyor-retry appveyor DownloadFile " https://cmake.org/files/v3.12/cmake-3.12.0.tar.gz" -FileName "cmake.tar.gz" - if "%type%"=="Cygwin" C:\cygwin64\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; mkdir temp; cd temp; mv ../cmake.tar.gz ./cmake.tar.gz; tar xzf cmake.tar.gz --strip-components=1; ./bootstrap && make && make install; cd ..; rm -rf ./temp" Of course the best solution for us is to have cmake 3.12.0 updated in Cygwin repository, because its building time is about ~30min