From patchwork Tue May 14 23:30:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10944063 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9901F1515 for ; Tue, 14 May 2019 23:30:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 887AA28980 for ; Tue, 14 May 2019 23:30:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D39228987; Tue, 14 May 2019 23:30:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2929328984 for ; Tue, 14 May 2019 23:30:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbfENXaf (ORCPT ); Tue, 14 May 2019 19:30:35 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:38097 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726575AbfENXae (ORCPT ); Tue, 14 May 2019 19:30:34 -0400 Received: by mail-qt1-f195.google.com with SMTP id d13so1188345qth.5 for ; Tue, 14 May 2019 16:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QBNq4uL31hyWRrhU17bJdyuEo/KV6BjGKXsLdozu+J8=; b=IO2AJ6Cly93f/EryIZ2s5hWv4r7orZuQgR9ek6Lqqr4VkYDbCijuYd+c36i1/Qxna1 gF2dtP4u14NDEEg6p8sjx0jEuIKySK00vUHsguziHjEfgrxk1D9hmWkfWT+iY4sTOiKc TRHyfWlkEwwXb9tKgrr41T8A9vHrsxyWtNwcBOH6ENuo3L5ZtAddj70I8AZE/nxC7q5F eliuZNtLpG5BSLK5j7FaRa5+yax1Uq5HjvSsw8nvo+5uiKo0w3SVX0JXSe/KDVGvCW+l G2kKSBhF57DYbLCvlJuEqPnP6qBqR/fJOpDXTMLOw4gG8/ONUPJwQfMWRZdmTDynKV+B p94A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QBNq4uL31hyWRrhU17bJdyuEo/KV6BjGKXsLdozu+J8=; b=gTzb5xUPbX4umW79DXUox5dqObBFug2UQ/43DDEr4NohiHFXSLucdZvcNDlbfdiY3m XRhJuN/2FrebkEPqGcC4nB+Rhp0NWpyWjpXzz2fMcn4Ef/BpRqnMhtYAzQX3giyBQjIy dP6+MQElIGs/P51Ah9X58Ss6hTJZqkZIAzMD99AB2ii6rLg/BF1xIiLwCz7bSD5zUQBZ oYgaywH3FWh7JFqYShAZNFp1fTBQ/wvss9gSlwxu5YchWZu7supOVE67+F6uZXCKpSre dt7cJFg4GffKVVDEE6/b/vQ7J8BllxMBwPkj6CqGk5pbQxA3IcR9UqOzmRh7q2s30Sk4 /U0Q== X-Gm-Message-State: APjAAAX6UyXV/yFxOb9jhYg9fKssJlxIzQPsbbGslP2cXXbHu2ire6mz XkPN4/BGjO4ZFBHoOzMiEaBWpcAZ2Ic= X-Google-Smtp-Source: APXvYqy/JSBmfABlEX3Ceev2I0GZTdLOZ3FNGOgtZdAoVrRmRDwI2/TXNa3/+woFl17cI17C+44F6Q== X-Received: by 2002:a0c:8d83:: with SMTP id t3mr30817555qvb.160.1557876633606; Tue, 14 May 2019 16:30:33 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id e20sm108422qkm.42.2019.05.14.16.30.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 16:30:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hQgsQ-000148-GH; Tue, 14 May 2019 20:30:30 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 1/5] cbuild: Make pyverbs build with epel Date: Tue, 14 May 2019 20:30:24 -0300 Message-Id: <20190514233028.3905-2-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190514233028.3905-1-jgg@ziepe.ca> References: <20190514233028.3905-1-jgg@ziepe.ca> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe For some reason cmake3 installs python3.6, but EPEL only has cython built for python3.4. Convice the python3 link to be python3.4 so cmake finds it without hassles. Signed-off-by: Jason Gunthorpe --- buildlib/cbuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/buildlib/cbuild b/buildlib/cbuild index 0010f16acfc0e7..30a06f06345743 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -125,8 +125,16 @@ class centos7(YumEnvironment): python_cmd = "python"; class centos7_epel(centos7): - pkgs = (centos7.pkgs - {"cmake","make"}) | {"ninja-build","cmake3","pandoc", 'python3-Cython', 'python3-devel'}; + pkgs = (centos7.pkgs - {"cmake","make"}) | { + "cmake3", + "ninja-build", + "pandoc", + "python34-setuptools", + 'python34-Cython', + 'python34-devel', + }; name = "centos7_epel"; + build_pyverbs = True; use_make = False; pandoc = True; ninja_cmd = "ninja-build"; @@ -136,7 +144,7 @@ class centos7_epel(centos7): def get_docker_file(self): res = YumEnvironment.get_docker_file(self); res.lines.insert(1,"RUN yum install -y epel-release"); - res.lines.append("RUN ln -s /usr/bin/cmake3 /usr/local/bin/cmake"); + res.lines.append("RUN ln -s /usr/bin/cmake3 /usr/local/bin/cmake && ln -sf /usr/bin/python3.4 /usr/bin/python3"); return res; class fc30(Environment): From patchwork Tue May 14 23:30:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10944061 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 657A7912 for ; Tue, 14 May 2019 23:30:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5437E28980 for ; Tue, 14 May 2019 23:30:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4871F2898B; Tue, 14 May 2019 23:30:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E30B928980 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726349AbfENXae (ORCPT ); Tue, 14 May 2019 19:30:34 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:45781 "EHLO mail-qt1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbfENXae (ORCPT ); Tue, 14 May 2019 19:30:34 -0400 Received: by mail-qt1-f170.google.com with SMTP id t1so1138219qtc.12 for ; Tue, 14 May 2019 16:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V1NFFMDv1BOGwNBnOdjFcSR9phYUpYYBZ8TqyIk8rkY=; b=D7M/tDoI1+k9N2X1SwLqZoEGeDFHy4PvWA1H+qx60IEQWb85CRRjO0PXv7smBixFgj gC43840F+fcV1VdatWKOx5W48kol19hogyKCH3KJkXwIdPWn0hGusKfsSL3BW4EB6h2I 54wQEEWNzvWPL28GKAniKMfrTCW7u1qyMhotCpGN9nXZtxb+VGdIz6eairc/wLNOTelX ZmemcwkPjzBYpelUzAHJuYbkO60/F0Hmc1GsmB2mVx7BqAXZ8HiDdaNUnue1iHdteLyR t/s5Ckk5RW0EcNNy8ScNcddivL1hEDI4oVwlaO3nHKXh6b6gsmtmqj94SPK/lUSpC04n oKMg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=V1NFFMDv1BOGwNBnOdjFcSR9phYUpYYBZ8TqyIk8rkY=; b=uK+8pka0jKSLU4hP0GlZnId+s06AqYFf33PiPpAsRStHK0qILGLzgiceAR2ab7bEn6 fU1MamvACtwBgsnpxpG04Mi+YDx0xkNR1Y5FUvs/rPZgJc0xyYaA0MRhSovs1CR9ZZbK H9CAFBG00IXAxHzoTHXslhfBIE0EUB1d2f12rGpr/nI+pu/AWiatZsswBnpfgdLbkTA3 +GoV1dMvoFqfl1ajgLooVDqwvp6oSNHABrofcbHNNb95WqrZsRNFOz6RlyWECZ3GSMnM 4ObIvhWbAWDxCr4p1kSBVCA90BTwR0TlZq5SKOXFL6qwT78Hrg6q1hTIVTvO4I8jbjWg Zbfg== X-Gm-Message-State: APjAAAUM1uMGCu+52OzMB8UNmzph5kAqjNab2SAE7ct8xVUdGeVIIkNN ErfPZCeff2dbDpvs4ETbvJF611M+8MY= X-Google-Smtp-Source: APXvYqwWwg/353/BymsoCImV8ORYUDmJ6kbz5l+2jAEVNf9cXkOs3kwZda5m3DHXUFIIZNRQ5HqlNw== X-Received: by 2002:ac8:43c2:: with SMTP id w2mr32930276qtn.274.1557876633201; Tue, 14 May 2019 16:30:33 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id g15sm118561qkl.2.2019.05.14.16.30.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 16:30:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hQgsQ-00014E-HE; Tue, 14 May 2019 20:30:30 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 2/5] cbuild: Remove ubuntu trusty Date: Tue, 14 May 2019 20:30:25 -0300 Message-Id: <20190514233028.3905-3-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190514233028.3905-1-jgg@ziepe.ca> References: <20190514233028.3905-1-jgg@ziepe.ca> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe We only support 2 LTSs at any given time, xenial and bionic are the ones for Ubuntu. cythond oesn't work on xenial so remove it frmo the package list as well. Signed-off-by: Jason Gunthorpe --- buildlib/cbuild | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/buildlib/cbuild b/buildlib/cbuild index 30a06f06345743..3035db9f375c1d 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -173,9 +173,9 @@ class APTEnvironment(Environment): " ".join(sorted(self.pkgs)))); return res; -class trusty(APTEnvironment): - docker_parent = "ubuntu:14.04"; - common_pkgs = { +class xenial(APTEnvironment): + docker_parent = "ubuntu:16.04" + pkgs = { 'build-essential', 'cmake', 'debhelper', @@ -183,32 +183,24 @@ class trusty(APTEnvironment): 'gcc', 'libnl-3-dev', 'libnl-route-3-dev', + 'libsystemd-dev', 'libudev-dev', 'make', 'ninja-build', 'pandoc', 'pkg-config', + 'python3', 'valgrind', - }; - pkgs = common_pkgs | { - 'libsystemd-daemon-dev', - 'libsystemd-id128-dev', - 'libsystemd-journal-dev', - }; - name = "ubuntu-14.04"; - aliases = {"trusty"}; - python_cmd = "python"; - build_pyverbs = False; - -class xenial(APTEnvironment): - docker_parent = "ubuntu:16.04" - pkgs = trusty.common_pkgs | {"libsystemd-dev", "python3-dev", "cython3"}; + }; name = "ubuntu-16.04"; aliases = {"xenial"}; class bionic(APTEnvironment): docker_parent = "ubuntu:18.04" - pkgs = xenial.pkgs + pkgs = xenial.pkgs | { + 'cython3', + 'python3-dev', + }; name = "ubuntu-18.04"; aliases = {"bionic", "ubuntu"}; @@ -221,7 +213,7 @@ class jessie(APTEnvironment): class stretch(APTEnvironment): docker_parent = "debian:9" - pkgs = jessie.pkgs; + pkgs = bionic.pkgs; name = "debian-9"; aliases = {"stretch"}; @@ -380,7 +372,6 @@ environments = [centos6(), centos7(), centos7_epel(), travis(), - trusty(), xenial(), bionic(), jessie(), From patchwork Tue May 14 23:30:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10944057 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6B92F1390 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C3DD28980 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 510BC2898B; Tue, 14 May 2019 23:30:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 096CE28980 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726467AbfENXae (ORCPT ); Tue, 14 May 2019 19:30:34 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44113 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbfENXad (ORCPT ); Tue, 14 May 2019 19:30:33 -0400 Received: by mail-qt1-f195.google.com with SMTP id f24so1137558qtk.11 for ; Tue, 14 May 2019 16:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ri6jG678a/rA3j+f5TWTyclsKQodnkQaN3DlWfEeVxA=; b=Z7QABZBe+haBTSrPQ3FvR9xnCmqL2+FzbI6a9MAF6inYjO5ctWygDecFwalNSaG+Qv 8Yyq68z4hzdkBTrbf9P7dygYjyXqT43svJQ0bIposvegEmYhW4r8oRPmZb/K3KZ+hmi0 C0bx8qHlV/xAVqr/wx5Mlz2BND12cVWuRuxZ5I2MEaiEkJ6TiWmK3BA4XjxRRAXdvsP7 zQdKMeXiMmsLQpy7vSdrKdxSKA+RuFXyMlVTjTDT9MKK1Z8htbryDRxu3CmK041RVQNu 0fCWuEKeHvfjFIyfCN1I98GkodDGBR1/ngvN0uluwtDK1rNIKKsnHyixSOmBxJIhSaN+ G0Ig== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ri6jG678a/rA3j+f5TWTyclsKQodnkQaN3DlWfEeVxA=; b=T2puYcPjLemetnyzcW+yMeAOoijy0pRP+j1vEunaHXz6EhAvhwyj52Yc738vBjdWKW WW7a0VC/fK2Kj3fvcfpieT41RKpqWowgrpEu3XWV0SFAf2gaAoIiCDr6iS6U8gceOQp7 C45Yncrz+BGQ5mUlV9hR7rA3kv7thdy26eB5DnCm6glCztSUSV+FfqE4HaPXDmXIVyh3 /VoG6YkAmfQFHFwdAvBliNEJxHT/KMRu1Beu4hPpRQAab2kB7GhEQl2NOF0P6P9Zhv8Z WJWoapvE/RbajeUQWpEpeLWDTxij0Gm30hkzmKMMxOG39BAOFT044VqbGB9B3jC5iDt3 tZJw== X-Gm-Message-State: APjAAAXiUowVVVA72c4b31XLINPfCpOBEG1q7pgpJOsCRQG6Cx54rANR 7x9ffOYu4b+Us5wa3MFUqhBx+Zd3uTs= X-Google-Smtp-Source: APXvYqzV2cyON1Ng1CY5j5QFZLKXiDBMSGC6Utsk7S6R7zDAewQKcf3vCrHQHXgxS5q542AMB5EYjg== X-Received: by 2002:a0c:9491:: with SMTP id j17mr10703520qvj.53.1557876632879; Tue, 14 May 2019 16:30:32 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id i7sm125163qkk.35.2019.05.14.16.30.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 16:30:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hQgsQ-00014K-IV; Tue, 14 May 2019 20:30:30 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 3/5] cbuild: Use gcc-9 for debian experimental Date: Tue, 14 May 2019 20:30:26 -0300 Message-Id: <20190514233028.3905-4-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190514233028.3905-1-jgg@ziepe.ca> References: <20190514233028.3905-1-jgg@ziepe.ca> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe It is available now. Signed-off-by: Jason Gunthorpe Reviewed-by: Leon Romanovsky --- buildlib/cbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildlib/cbuild b/buildlib/cbuild index 3035db9f375c1d..a659a77fc5bb74 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -219,7 +219,7 @@ class stretch(APTEnvironment): class debian_experimental(APTEnvironment): docker_parent = "debian:experimental" - pkgs = (stretch.pkgs ^ {"gcc"}) | {"gcc-7"}; + pkgs = (stretch.pkgs ^ {"gcc"}) | {"gcc-9"}; name = "debian-experimental"; def get_docker_file(self): From patchwork Tue May 14 23:30:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10944053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4387B912 for ; Tue, 14 May 2019 23:30:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30C9128987 for ; Tue, 14 May 2019 23:30:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F3F628980; Tue, 14 May 2019 23:30:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE96C28980 for ; Tue, 14 May 2019 23:30:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726339AbfENXad (ORCPT ); Tue, 14 May 2019 19:30:33 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:36729 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfENXac (ORCPT ); Tue, 14 May 2019 19:30:32 -0400 Received: by mail-qk1-f195.google.com with SMTP id c14so388853qke.3 for ; Tue, 14 May 2019 16:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F8KXC1/Wtq8K3iX0J6V6Xu20q/lAlzVpRKHTX9OpEvs=; b=PbPtNJX+zaizX+Hndq92cCdMgO5vRvU9sFBjBiRK5NV6i5eLIa0lT+qXbhGOrvM6mk 34AQeOQlDgPgAlxKv4aAMHgqCThS1WoLmvqq6WLTp0TXNTXZgbgzNWOuR2MOJeVh8aof 5e3enGrZne/VxKfSqQRpi3cO2SOZWrl2xW+Ozps9DIi8VmPqMz3b31ftiDM2w+07DBxg KbliDYMskgYLc8vfvaomOlz54hemN6omlFLILFDiUIt5n0DqPIoKANfkvx8BmI+u7z5y kVttt1dnTaZ5QFghDlruDaJA9q0yGZfzYtoQQMsHe7W+NCQ2dk2h7uG/GzeXC+cgvPMv qvIw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=F8KXC1/Wtq8K3iX0J6V6Xu20q/lAlzVpRKHTX9OpEvs=; b=W+GWMsgSfwA1ZPbZy1TILelg3oul6BDv90Vtp0h2jpdrbAWD/4seKpcYBUMOY2+oBG tSCscyqk8c/29tIZ/JIiQVGxXPonLcrlhw4UMVHdgjBzloFgkh0JvmReqZwjUw/vFd3P V3WzbYt3mGM8iJQB92BWB4/ztCNfrWg1b9BwRqC/7+niPe158oR1/rVRr0v+SYQv4vdD Hxb8qAROb5CYahpca3D14WPvyNyEEikLha1xP/lj3GvqEakRddU+S0Qs7L6MiVYVBI7G VTDyFgJ1Me60pSP1hqFWepAxgBuXgxuHlo9ZbkHw0FRbnU6SxVmlLF7v8gX8ffI2NXvl Uk5Q== X-Gm-Message-State: APjAAAUJW3iKk47pOyJFxo/Y9WJqEwat0RXon7VvNhgp1SNCS5a79MIc k0CCzbiJFzcDcQir7TZx/6CnhzErH24= X-Google-Smtp-Source: APXvYqwRaBYUAqY+MFGNfBilk61F8OzqFIxdSPgiGX9bxMKJKezjY31ddCYlvG2ZQ1U+NjcHdhKIRw== X-Received: by 2002:a37:4a83:: with SMTP id x125mr31161660qka.146.1557876632035; Tue, 14 May 2019 16:30:32 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id x18sm95929qkh.87.2019.05.14.16.30.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 16:30:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hQgsQ-00014Q-JZ; Tue, 14 May 2019 20:30:30 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 4/5] cbuild: Do not use the http proxy for tumbleweed Date: Tue, 14 May 2019 20:30:27 -0300 Message-Id: <20190514233028.3905-5-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190514233028.3905-1-jgg@ziepe.ca> References: <20190514233028.3905-1-jgg@ziepe.ca> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe It also does not work with apt-cacher-ng because the server generates redirects for some reason. Signed-off-by: Jason Gunthorpe --- buildlib/cbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/buildlib/cbuild b/buildlib/cbuild index a659a77fc5bb74..e012b08b5fbb76 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -360,6 +360,7 @@ class leap(ZypperEnvironment): aliases = {"leap"}; class tumbleweed(ZypperEnvironment): + proxy = False; docker_parent = "opensuse/tumbleweed:latest"; pkgs = leap.pkgs; name = "tumbleweed"; From patchwork Tue May 14 23:30:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10944059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9C3E41515 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AF0F28980 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F7EE28987; Tue, 14 May 2019 23:30:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A16828984 for ; Tue, 14 May 2019 23:30:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbfENXae (ORCPT ); Tue, 14 May 2019 19:30:34 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33216 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbfENXad (ORCPT ); Tue, 14 May 2019 19:30:33 -0400 Received: by mail-qt1-f195.google.com with SMTP id m32so1223581qtf.0 for ; Tue, 14 May 2019 16:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6i64r1iNJCkpMBuRROpIwAHO04d2faEAsMedpd2t5V4=; b=PdK4ENHvIAwalz41bJ1Kxt1VmUIc/msmHwNDqtM6lJKkfD5tZdONUa4Pvv/gMxk8UT +WUpEeTniznzDLPdjprKM61+l3erC+25XGZ9YknIbc6JNvxGI2mYrzfbWGiFnNJadvai toq/stNLtAFTnhv/gT1hAH/nda9VbF8BHAffQl9CpGKcaqlUT6bBb7xnz7dKUgJqVwlx Fg1YtMB32s6Okdo+GXcYYy9FpZJa8L33a72gRFglmlUNJdqLkWEVXvdZB0QFmEbB7YCC qWNKRQiXfLjE/tJoUJy1l0xziRrBO8bu0yMKMQSXdqJaXk0q/o/UhUHcrtb3bdCB4ZIj aD2w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=6i64r1iNJCkpMBuRROpIwAHO04d2faEAsMedpd2t5V4=; b=X/9KAPTwAt+cPdvl3Eq3bkbqWEiczix+j7uazQzP9fiAzEb+wx4pf4tVDfUGmsgjxU dMfNU7nbR3nejCl6YUKeRGkeSIH/Uf8wxwXSyDFTj8QlLQhXJQvvzLph3HQH3+0ng0dv gIfpqpyRgPI6EmZBosvcjgLHTmLrYEo88Qx2ZzJHJ6Fa+e6Wn01BEJoUSlVpc3Q4JCOt O0VJ/+7iu1qj/k9Pz9zZSOue6RWnB5tpDWWFpoCP5UBv5z7xOoEjmB/HbipLSPPbWCAQ eLjzyWM0babPAT8rXGb2CxJAZpHuOojFPH4gdJBijFiz4Cq4fOqiTd2qEBY35v8u7jb5 Bkrg== X-Gm-Message-State: APjAAAWK7E85BRB7wRv6+zi+0N0ex5ZA4ehyWgnQr/d0oEulhHTcbArn s2MmjZUmSy7DCicUBKdPx4uPMg66TeM= X-Google-Smtp-Source: APXvYqzPkqEkIWSPjxML/xmXXDEnFY9AsNeNwjj68tS7v6wV6M9IzqGcGnjHu8MHhWnPAAI7gqCYIg== X-Received: by 2002:a0c:fe43:: with SMTP id u3mr31168592qvs.52.1557876632620; Tue, 14 May 2019 16:30:32 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id y14sm243235qth.48.2019.05.14.16.30.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 16:30:31 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hQgsQ-00014W-Kx; Tue, 14 May 2019 20:30:30 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 5/5] build: Enable more warnings Date: Tue, 14 May 2019 20:30:28 -0300 Message-Id: <20190514233028.3905-6-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190514233028.3905-1-jgg@ziepe.ca> References: <20190514233028.3905-1-jgg@ziepe.ca> MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe The format-nonliteral option makes sure that the input to a formatting function is actually a format string and not something else. date-time helps ensure reproducible builds redundant-decls, nested-externs are just general cleanlyness other projects tend to turn on. Signed-off-by: Jason Gunthorpe Reviewed-by: Leon Romanovsky --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index beb8f4ec123876..31100e267f2150 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -185,6 +185,10 @@ RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WMISSING_DECLARATIONS "-Wmissing-declarati RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WWRITE_STRINGS "-Wwrite-strings") RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WFORMAT_2 "-Wformat=2") RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WCAST_FUNCTION "-Wcast-function-type") +RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WFORMAT_NONLITERAL "-Wformat-nonliteral") +RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WREDUNDANT_DECLS "-Wredundant-decls") +RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WDATE_TIME "-Wdate-time") +RDMA_AddOptCFlag(CMAKE_C_FLAGS HAVE_C_WNESTED_EXTERNS "-Wnested-externs") # At some point after 4.4 gcc fixed shadow to ignore function vs variable # conflicts