[PATCH rdma-core] cbuild: Add Fedora 27 container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Add Fedora 27 to the list of cbuild targets.

Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux