| Message ID | 20180104193710.23778-1-chipitsine@gmail.com |
|---|---|
| State | Accepted |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director5.mail.ord1d.rsapps.net ([172.30.191.6]) by backend31.mail.ord1d.rsapps.net (Dovecot) with LMTP id g4ugOrSCTlqFKwAAgoeIoA for <patchwork@openvpn.net>; Thu, 04 Jan 2018 14:38:28 -0500 Received: from proxy15.mail.ord1d.rsapps.net ([172.30.191.6]) by director5.mail.ord1d.rsapps.net (Dovecot) with LMTP id A/BwOrSCTlrVfgAAsdCWiw ; Thu, 04 Jan 2018 14:38:28 -0500 Received: from smtp24.gate.ord1c ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy15.mail.ord1d.rsapps.net (Dovecot) with LMTP id uGzBCLSCTlrEUQAAAY1PeQ ; Thu, 04 Jan 2018 14:38:28 -0500 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.34.181.88] Authentication-Results: smtp24.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.34.181.88"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Classification-ID: d654bb58-f186-11e7-9d47-0026b94accf9-1-1 Received: from [216.34.181.88] ([216.34.181.88:3542] helo=lists.sourceforge.net) by smtp24.gate.ord1c.rsapps.net (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) (ecelerity 4.2.1.56364 r(Core:4.2.1.14)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id FC/1B-26998-4B28E4A5; Thu, 04 Jan 2018 14:38:28 -0500 Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1eXBKN-0000Iq-VX; Thu, 04 Jan 2018 19:37:23 +0000 Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from <chipitsine@gmail.com>) id 1eXBKM-0000Ik-O9 for openvpn-devel@lists.sourceforge.net; Thu, 04 Jan 2018 19:37:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dYIKruxVRFpZWCBDL5erGq1RWz9vsFPEKnBU5BtWxRE=; b=eQyP7sYNneEotnGD7sdDcXbIxe D1Fqfm3EFuaupXAd9FNNMo+fhIvlA1OUi+RPsQ+npkauH8nZfgknuElHIsHyJMk2gm5xXKw6dJS7N 7cbX5is5ZbLTqHn8DAMklJucwZ6gh4g1ztDCab8+WfZogt0t34kFL1Lvoy3WlECTo39E=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dYIKruxVRFpZWCBDL5erGq1RWz9vsFPEKnBU5BtWxRE=; b=P8H5LuIRA8VYYijlTdYjKDuXmo znyGos54PYEBjVcpvVSpVW3haV3KTg0W4PgteV70crW2MDfbvkCJ/DcRASfQCQPry+JjFf6kTLI3P pYc0WzsutfmMIWiQ9iap9bYyFqIbJlP70X21kSN0tb+c2QMm68s+jBdeJWMZKZjJqwV0=; Received: from mail-lf0-f49.google.com ([209.85.215.49]) by sfi-mx-3.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) id 1eXBKL-0000JS-L5 for openvpn-devel@lists.sourceforge.net; Thu, 04 Jan 2018 19:37:22 +0000 Received: by mail-lf0-f49.google.com with SMTP id m20so2893945lfi.6 for <openvpn-devel@lists.sourceforge.net>; Thu, 04 Jan 2018 11:37:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=dYIKruxVRFpZWCBDL5erGq1RWz9vsFPEKnBU5BtWxRE=; b=RGITl86HbnxxVsOnWh0BaEt4fHHrMMYii191+/xRNJdWi9QWfNTX8TPb0bvT/N1Gk3 /mBp+oPwbOFemwaa2fg3YQoiBJ9G0w66zCVEBPOaEL6FB+9OTv6NC5uLr6h/+4EkPkFf fmtvni+gKTPTj+HXa1hX0L32eh8OLUmQC/Bej6PC5wPSfjHqIMEUo3jQ0zqhIBL1rtca XaFhEB1vBnaTCR7rbSkBlfo0CbxQFqzH0KVN1TeIzA+3GHM9jwInkgK54qrFXGMigPSR +nXQqJZr1SVIfz9EAwHL41y/28G3hIc9cVcLTxh2DN8aymZYU/nPHKOJYcv5nFk8GKEC pYPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=dYIKruxVRFpZWCBDL5erGq1RWz9vsFPEKnBU5BtWxRE=; b=HWHbZCQ7t9bBx1mTmypjqi9oqDgAZHgJx8OkE3MS19T7/Bdcy7k9WW83ZzdTqeaLue +6EDaoIcJAgIC0BHYM3f3ofaJnEmx4HxKCZdyAyp+tuvmhes7FHP3gBBHWsojSVJUz66 KC5yqUl3BoM8NJw1M9Dl/B5+hYdfShXJrvoEPs6/fMDPNSwSHSrZFKsccZ7jSRzktmOx KrnO/wx4lKADFbXYdRBVUiyB5tJi4sAXiKXjTtD3AKbZCBa12XlqKslZtyzPqTOGpkvM TE4xeSFIEGYLH3qaWYjPtQJbWNIFM1/gQ0Sgi1sJycVOddSai+ecfZMUTHNo3wDF3+1+ 9P5g== X-Gm-Message-State: AKGB3mIjGii4ULPQR+Zkr8cpNescy2JFJDJwTwQ+N7cD3FhG/9XRev9z Pd0PxItjz88Q8EmyQbZGvenmUqww X-Google-Smtp-Source: ACJfBou5Rb5eB1msdqy0id5Kms+1OqKicEC5hW/BYdSUanTdEfjmXpx+/wkZXDY1h5N+/SsrB9Bxuw== X-Received: by 10.46.55.16 with SMTP id e16mr333112lja.120.1515094635139; Thu, 04 Jan 2018 11:37:15 -0800 (PST) Received: from localhost.localdomain ([195.64.208.237]) by smtp.gmail.com with ESMTPSA id f42sm750461lfi.18.2018.01.04.11.37.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jan 2018 11:37:13 -0800 (PST) From: Ilya Shipitsin <chipitsine@gmail.com> To: openvpn-devel@lists.sourceforge.net Date: Fri, 5 Jan 2018 00:37:10 +0500 Message-Id: <20180104193710.23778-1-chipitsine@gmail.com> X-Mailer: git-send-email 2.14.3 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (chipitsine[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.215.49 listed in list.dnswl.org] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [195.64.208.237 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1eXBKL-0000JS-L5 Subject: [Openvpn-devel] [PATCH v3] travis-ci: add brew cache, remove ccache X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox |
| Series |
[Openvpn-devel,v3] travis-ci: add brew cache, remove ccache
|
|
Commit Message
Илья Шипицин
Jan. 4, 2018, 8:37 a.m. UTC
1-2 minutes speedup osx builds by using brew cache. Also, ccache was removed for a while (builds fail after travis-ci upgraded clang to version 5.0.0) --- v2: this is a "v2" of previously issued "enable ccache for osx and mingw builds" patch. I decided not to enable ccache for mingw builds as it does not speedup them v3: removed ccache at all, because it fails on clang-5.0.0 .travis.yml | 2 +- .travis/build-deps.sh | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-)
Comments
On 05/01/18 03:37, Ilya Shipitsin wrote: > 1-2 minutes speedup osx builds by using brew cache. > Also, ccache was removed for a while (builds fail > after travis-ci upgraded clang to version 5.0.0) > --- > v2: this is a "v2" of previously issued "enable ccache for osx and mingw builds" > patch. I decided not to enable ccache for mingw builds as it does not > speedup them > > v3: removed ccache at all, because it fails on clang-5.0.0 Does this patch make "[PATCH] travis-ci: speedup osx build by enabling brew cache" obsolete? Regards,
2018-01-05 3:23 GMT+05:00 Antonio Quartulli <a@unstable.cc>: > > > On 05/01/18 03:37, Ilya Shipitsin wrote: > > 1-2 minutes speedup osx builds by using brew cache. > > Also, ccache was removed for a while (builds fail > > after travis-ci upgraded clang to version 5.0.0) > > --- > > v2: this is a "v2" of previously issued "enable ccache for osx and mingw > builds" > > patch. I decided not to enable ccache for mingw builds as it does not > > speedup them > > > > v3: removed ccache at all, because it fails on clang-5.0.0 > > Does this patch make "[PATCH] travis-ci: speedup osx build by enabling > brew cache" obsolete? > yes > > > Regards, > > > -- > Antonio Quartulli > > <div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-01-05 3:23 GMT+05:00 Antonio Quartulli <span dir="ltr"><<a href="mailto:a@unstable.cc" target="_blank">a@unstable.cc</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br> <br> On 05/01/18 03:37, Ilya Shipitsin wrote:<br> > 1-2 minutes speedup osx builds by using brew cache.<br> > Also, ccache was removed for a while (builds fail<br> > after travis-ci upgraded clang to version 5.0.0)<br> > ---<br> > v2: this is a "v2" of previously issued "enable ccache for osx and mingw builds"<br> > patch. I decided not to enable ccache for mingw builds as it does not<br> > speedup them<br> ><br> > v3: removed ccache at all, because it fails on clang-5.0.0<br> <br> </span>Does this patch make "[PATCH] travis-ci: speedup osx build by enabling<br> brew cache" obsolete?<br></blockquote><div><br></div><div>yes<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br> <br> Regards,<br> <span class="HOEnZb"><font color="#888888"><br> <br> --<br> Antonio Quartulli<br> <br> </font></span></blockquote></div><br></div></div> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Hi, On 04-01-18 20:37, Ilya Shipitsin wrote: > 1-2 minutes speedup osx builds by using brew cache. > Also, ccache was removed for a while (builds fail > after travis-ci upgraded clang to version 5.0.0) > --- > v2: this is a "v2" of previously issued "enable ccache for osx and mingw builds" > patch. I decided not to enable ccache for mingw builds as it does not > speedup them > > v3: removed ccache at all, because it fails on clang-5.0.0 > > .travis.yml | 2 +- > .travis/build-deps.sh | 10 ---------- > 2 files changed, 1 insertion(+), 11 deletions(-) > > diff --git a/.travis.yml b/.travis.yml > index 1f669b30..43217b59 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -78,10 +78,10 @@ addons: > - man2html > > cache: > - ccache: true > directories: > - download-cache > - ${HOME}/opt > + - ${HOME}/Library/Caches/Homebrew > > before_install: > - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update ; fi > diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh > index e787abab..bc538853 100755 > --- a/.travis/build-deps.sh > +++ b/.travis/build-deps.sh > @@ -130,16 +130,6 @@ build_openssl () { > fi > } > > -# Enable ccache > -if [ "${TRAVIS_OS_NAME}" != "osx" ] && [ -z ${CHOST+x} ]; then > - # ccache not available on osx, see: > - # https://github.com/travis-ci/travis-ci/issues/5567 > - # also ccache not enabled for cross builds > - mkdir -p "${HOME}/bin" > - ln -s "$(which ccache)" "${HOME}/bin/${CC}" > - PATH="${HOME}/bin:${PATH}" > -fi > - > if [ ! -z ${CHOST+x} ]; then > # > # openvpn requires at least mingw-gcc-4.9, which is available at xenial repo > Makes sense, tests still pass, simplifies the build script. Acked-by: Steffan Karger <steffan@karger.me> -Steffan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Hi, On 05/01/18 03:37, Ilya Shipitsin wrote: > 1-2 minutes speedup osx builds by using brew cache. > Also, ccache was removed for a while (builds fail > after travis-ci upgraded clang to version 5.0.0) you missed the Signed-off-by line. But other than that: Acked-by: Antonio Quartulli <a@unstable.cc>
Your patch has been applied to the master branch.
commit 0c1b9864184e609b68c2bb317ee57317ae12a026
Author: Ilya Shipitsin
Date: Fri Jan 5 00:37:10 2018 +0500
travis-ci: add brew cache, remove ccache
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20180104193710.23778-1-chipitsine@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16154.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
diff --git a/.travis.yml b/.travis.yml index 1f669b30..43217b59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,10 +78,10 @@ addons: - man2html cache: - ccache: true directories: - download-cache - ${HOME}/opt + - ${HOME}/Library/Caches/Homebrew before_install: - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update ; fi diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh index e787abab..bc538853 100755 --- a/.travis/build-deps.sh +++ b/.travis/build-deps.sh @@ -130,16 +130,6 @@ build_openssl () { fi } -# Enable ccache -if [ "${TRAVIS_OS_NAME}" != "osx" ] && [ -z ${CHOST+x} ]; then - # ccache not available on osx, see: - # https://github.com/travis-ci/travis-ci/issues/5567 - # also ccache not enabled for cross builds - mkdir -p "${HOME}/bin" - ln -s "$(which ccache)" "${HOME}/bin/${CC}" - PATH="${HOME}/bin:${PATH}" -fi - if [ ! -z ${CHOST+x} ]; then # # openvpn requires at least mingw-gcc-4.9, which is available at xenial repo