* [PATCH rdma-core] cbuild: Add Fedora 27 container
@ 2018-01-12 11:52 Leon Romanovsky
[not found] ` <20180112115209.17437-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Leon Romanovsky @ 2018-01-12 11:52 UTC (permalink / raw)
To: Doug Ledford, Jason Gunthorpe; +Cc: Leon Romanovsky, RDMA mailing list
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
^ permalink raw reply related [flat|nested] 6+ messages in thread[parent not found: <20180112115209.17437-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>]
* Re: [PATCH rdma-core] cbuild: Add Fedora 27 container [not found] ` <20180112115209.17437-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> @ 2018-01-12 18:08 ` Jason Gunthorpe [not found] ` <20180112180855.GF15974-uk2M96/98Pc@public.gmane.org> 2018-01-17 15:14 ` Doug Ledford 1 sibling, 1 reply; 6+ messages in thread From: Jason Gunthorpe @ 2018-01-12 18:08 UTC (permalink / raw) To: Leon Romanovsky; +Cc: Doug Ledford, Leon Romanovsky, RDMA mailing list On Fri, Jan 12, 2018 at 01:52:09PM +0200, Leon Romanovsky wrote: > 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 > +++ 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(), I've been keeping only 1 fc container, no need to test old fedora. Jason -- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20180112180855.GF15974-uk2M96/98Pc@public.gmane.org>]
* Re: [PATCH rdma-core] cbuild: Add Fedora 27 container [not found] ` <20180112180855.GF15974-uk2M96/98Pc@public.gmane.org> @ 2018-01-12 18:32 ` Leon Romanovsky 0 siblings, 0 replies; 6+ messages in thread From: Leon Romanovsky @ 2018-01-12 18:32 UTC (permalink / raw) To: Jason Gunthorpe; +Cc: Doug Ledford, RDMA mailing list [-- Attachment #1: Type: text/plain, Size: 1577 bytes --] On Fri, Jan 12, 2018 at 11:08:55AM -0700, Jason Gunthorpe wrote: > On Fri, Jan 12, 2018 at 01:52:09PM +0200, Leon Romanovsky wrote: > > 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 > > +++ 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(), > > I've been keeping only 1 fc container, no need to test old fedora. I'll remove the rest. > > Jason [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH rdma-core] cbuild: Add Fedora 27 container [not found] ` <20180112115209.17437-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2018-01-12 18:08 ` Jason Gunthorpe @ 2018-01-17 15:14 ` Doug Ledford [not found] ` <1516202077.3403.254.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 1 sibling, 1 reply; 6+ messages in thread From: Doug Ledford @ 2018-01-17 15:14 UTC (permalink / raw) To: Leon Romanovsky, Jason Gunthorpe; +Cc: Leon Romanovsky, RDMA mailing list [-- Attachment #1: Type: text/plain, Size: 1020 bytes --] On Fri, 2018-01-12 at 13:52 +0200, Leon Romanovsky wrote: > 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"}; Is there some reason why are you pulling a fedora:27 container and then centos packages? -- Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <1516202077.3403.254.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH rdma-core] cbuild: Add Fedora 27 container [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> 0 siblings, 1 reply; 6+ messages in thread From: Jason Gunthorpe @ 2018-01-17 16:16 UTC (permalink / raw) To: Doug Ledford; +Cc: Leon Romanovsky, Leon Romanovsky, RDMA mailing list On Wed, Jan 17, 2018 at 10:14:37AM -0500, Doug Ledford wrote: > On Fri, 2018-01-12 at 13:52 +0200, Leon Romanovsky wrote: > > 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 > > +++ 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"}; > > Is there some reason why are you pulling a fedora:27 container and then > centos packages? That is the pattern, centos7 has a list of required packages that is most similar to fc27. It will make more sense when the patch is respun to have fc27 replace fc26.. Jason -- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20180117161614.GA3764-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH rdma-core] cbuild: Add Fedora 27 container [not found] ` <20180117161614.GA3764-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> @ 2018-01-17 18:39 ` Leon Romanovsky 0 siblings, 0 replies; 6+ messages in thread From: Leon Romanovsky @ 2018-01-17 18:39 UTC (permalink / raw) To: Jason Gunthorpe; +Cc: Doug Ledford, RDMA mailing list [-- Attachment #1: Type: text/plain, Size: 1428 bytes --] On Wed, Jan 17, 2018 at 09:16:14AM -0700, Jason Gunthorpe wrote: > On Wed, Jan 17, 2018 at 10:14:37AM -0500, Doug Ledford wrote: > > On Fri, 2018-01-12 at 13:52 +0200, Leon Romanovsky wrote: > > > 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 > > > +++ 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"}; > > > > Is there some reason why are you pulling a fedora:27 container and then > > centos packages? > > That is the pattern, centos7 has a list of required packages that is > most similar to fc27. It will make more sense when the patch is respun > to have fc27 replace fc26.. I'll do. Thanks > > Jason > -- > 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-01-17 18:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 11:52 [PATCH rdma-core] cbuild: Add Fedora 27 container Leon Romanovsky
[not found] ` <20180112115209.17437-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-01-12 18:08 ` 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox