All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Jason Gunthorpe <jgg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	RDMA mailing list
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH rdma-core] cbuild: Add Fedora 27 container
Date: Fri, 12 Jan 2018 13:52:09 +0200	[thread overview]
Message-ID: <20180112115209.17437-1-leon@kernel.org> (raw)

From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Add Fedora 27 to the list of cbuild targets.

Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 buildlib/cbuild | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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(),
--
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2018-01-12 11:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-12 11:52 Leon Romanovsky [this message]
     [not found] ` <20180112115209.17437-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-01-12 18:08   ` [PATCH rdma-core] cbuild: Add Fedora 27 container Jason Gunthorpe
     [not found]     ` <20180112180855.GF15974-uk2M96/98Pc@public.gmane.org>
2018-01-12 18:32       ` Leon Romanovsky
2018-01-17 15:14   ` Doug Ledford
     [not found]     ` <1516202077.3403.254.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-17 16:16       ` Jason Gunthorpe
     [not found]         ` <20180117161614.GA3764-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2018-01-17 18:39           ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180112115209.17437-1-leon@kernel.org \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jgg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.