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

Re: [PATCH 2/2] tools/ocaml: Default to useful build output

  • To: 'Elliott Mitchell' <ehem+xen@xxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>, "paul@xxxxxxx" <paul@xxxxxxx>
  • From: Christian Lindig <christian.lindig@xxxxxxxxxx>
  • Date: Mon, 20 Jul 2020 09:24:56 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxx>, Edwin Torok <edvin.torok@xxxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, "dave@xxxxxxxxxx" <dave@xxxxxxxxxx>
  • Delivery-date: Mon, 20 Jul 2020 09:25:06 +0000
  • Ironport-sdr: gvsyrebKPOEOE096nZOmBT0ZW4O/maVmc7xSQfdsRmJPMjervanTLUy4Oh/9dDf4jwN6D8oEm3 pF3hI13kWj7ghzh9lTqQq9hPNWcUbix+ATkdm3e/SR62y21LTHJQmjCSvqe5JjXFIMpgzsb6ms ZufstZR9sTEbP62rKRBvpCjfYc8W0L4gcCYBNpi+dbDJ1QPXCHQsT/N33XLBsZKFouhQQlehtq Nio0e8/40v0ZtTMSl34SHas4mD6uz7yLnrQaNwdjM6lFT55GaTlBl+AAjzWUkq/Og7CNakavL+ IjQ=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWXLQfZqk/9n2Ez0iUq9XU56BN2qkQJXHN///oGACAACWpQQ==
  • Thread-topic: [PATCH 2/2] tools/ocaml: Default to useful build output

I think this would at least force a clean-up and open the project to wider set 
of OCaml developers. This might lead to a situation where the OCaml xenstore is 
not readily available for the consumers of Xen and I don't know who wants it 
how much. But I would prefer a situation where the OCaml xenstore can be built 
against a system with Xen libraries installed rather than only within the Xen 
tree. This would help to modernise the OCaml xenstore code base not just in 
terms of the build system but tackle long-standing problems like improving the 
code around select/poll which is inefficient. 

-- C

From: Paul Durrant <xadimgnik@xxxxxxxxx>
Sent: 20 July 2020 10:00
To: Christian Lindig; 'Elliott Mitchell'; xen-devel@xxxxxxxxxxxxx
Cc: Ian Jackson; Edwin Torok; wl@xxxxxxx; dave@xxxxxxxxxx
Subject: RE: [PATCH 2/2] tools/ocaml: Default to useful build output

> -----Original Message-----
> From: Xen-devel <xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of 
> Christian Lindig
> Sent: 20 July 2020 09:39
> To: Elliott Mitchell <ehem+xen@xxxxxxx>; xen-devel@xxxxxxxxxxxxx
> Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxx>; Edwin Torok 
> <edvin.torok@xxxxxxxxxx>; wl@xxxxxxx;
> dave@xxxxxxxxxx
> Subject: Re: [PATCH 2/2] tools/ocaml: Default to useful build output
> > Time for a bit of controversy.
> OCaml outside Xen has moved to a different model of building based on dune 
> which is fast, declarative
> and reliable. The OCaml xenstore is stagnating because nobody with OCaml 
> experience wants to touch it
> anymore.

It is still the default. Would you suggest that we change this and make C 
xenstored the default for 4.15, deprecating oxenstored
with a view to subsequently purging it from the tree in the 4.16 dev cycle?


> It would be beneficial for the health of the OCaml xenstore to split it out 
> such that it
> could be worked on independently. You might argue that Make is still 
> appropriate for building OCaml
> projects but the OCaml community has moved through several build systems, 
> starting from Make, and
> learned the hard way that this is not an easy problem. After years of 
> more-or-less successful build
> system the consensus is that dune is right one and it has resulted in 
> combination with the Opam
> package manager the ecosystem to flourish. Alternatively, it would be 
> possible to move OCaml xenstore
> to dune within the Xen tree but it would create a dependency on it.
> -- C



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.