From patchwork Fri Jan 12 11:52:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 10160339 X-Patchwork-Delegate: leon@leon.nu Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF602602A7 for ; Fri, 12 Jan 2018 11:52:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C1728289A1 for ; Fri, 12 Jan 2018 11:52:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B427C289A7; Fri, 12 Jan 2018 11:52:15 +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=-6.9 required=2.0 tests=BAYES_00,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 342B6289A1 for ; Fri, 12 Jan 2018 11:52:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754558AbeALLwO (ORCPT ); Fri, 12 Jan 2018 06:52:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:32852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754483AbeALLwN (ORCPT ); Fri, 12 Jan 2018 06:52:13 -0500 Received: from localhost (unknown [213.57.247.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 79E5B2173D; Fri, 12 Jan 2018 11:52:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79E5B2173D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=leon@kernel.org From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , RDMA mailing list Subject: [PATCH rdma-core] cbuild: Add Fedora 27 container Date: Fri, 12 Jan 2018 13:52:09 +0200 Message-Id: <20180112115209.17437-1-leon@kernel.org> X-Mailer: git-send-email 2.15.1 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: Leon Romanovsky Add Fedora 27 to the list of cbuild targets. Signed-off-by: Leon Romanovsky --- buildlib/cbuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/buildlib/cbuild b/buildlib/cbuild index 3f659bf8..0ef80b60 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -141,6 +141,20 @@ class fc26(Environment): " ".join(sorted(self.pkgs)))); return res; +class fc27(Environment): + docker_parent = "fedora:27"; + pkgs = (centos7.pkgs - {"make"}) | {"ninja-build"}; + name = "fc27"; + specfile = "redhat/rdma-core.spec"; + ninja_cmd = "ninja-build"; + is_rpm = True; + + def get_docker_file(self): + res = DockerFile(self.docker_parent); + res.lines.append("RUN dnf install -y %s && dnf clean all"%( + " ".join(sorted(self.pkgs)))); + return res; + # ------------------------------------------------------------------------- class APTEnvironment(Environment): @@ -337,6 +351,7 @@ environments = [centos6(), jessie(), stretch(), fc26(), + fc27(), leap(), tumbleweed(), debian_experimental(),