Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] sound incremental builds

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] sound incremental builds


Chronological Thread 
  • From: Emilio Jesús Gallego Arias <e AT x80.org>
  • To: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] sound incremental builds
  • Date: Mon, 20 Jul 2020 19:26:37 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=e AT x80.org; spf=Pass smtp.mailfrom=e AT x80.org; spf=Pass smtp.helo=postmaster AT x80.org
  • Ironport-phdr: 9a23:4i6crRyvss8f7C3XCy+O+j09IxM/srCxBDY+r6Qd2u0XIJqq85mqBkHD//Il1AaPAdyFra4YwLWG+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhJiTanbr5/Ixq6oAfSu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qBkRgL1iCccLz427n3YitB+gqJcpRKuvR1/w4jJa42RO/dzeqbRcNUHTmRDQ8lRTTRMDIOiYYUSCOoBM+hWoIv+qVQAohSxGRKhBP/zxjJSmnP6wbc33uYnHArb3AIgBdUOsHHModv6MacSUOS1zKjPzTrba/1Zxyz98JLTch85oP+DR7Zwcc7PxkkgEAPKlkmdqZbkPzyPzeQGrm+W4PR7WOOgiGMrtxt9oj+1xscjk4TEgJ8exV/Y+ytj2ok1OcG4R1BhYd6iCJZdsy+XOoh4T84gXWxluTo2x6MJt5OnYSUHyJspywPBZvKJd4WE/A7uWeKTLDtmmH9pZLayihWs/UWhxePyVte43VBXpSRLldnMs2oC1x3V6sWfV/R9/1yh1iqI1wDO8OFEOl47mbDUK547xb4wi4ITvVzMHi/3hEX2jLKWeV4+9uip7OTrerrmpp6AN490lwHxKb4ildC4AeQ9KgQPXnWb+eC91L374UL5QK9FjuEsnqbFt5DaIMIWrbO6DQ9Nyosv9hWyAjS83NgGg3UKLUhJdA+FgoT0IV3CPf71Aemnj1mukzpn3e3KM7nvD5nXMHTOnrjscaxg50NYzgc40MpR6IhOCr4bJfL+Qk/xu8LcDh8+KwG1zOXqBMln2oMZQ2KPDbeVMKLUsVCW+uIiO/SAaYwWtTrnNfQp+f/jgWUklVIfYKWlx4YbZX6mEvh+JkWWe3vsgtMPEWcQuQo+SfTnh0OZXD9cZHu+Q7gw5jYhCIKpFYvDXJyigKSd3CenGZ1bfnxJCleVEXvxa4qEX+oMZzmJL896kj0EUKChRJU72RGvsg/60btnIfDO9i0Wr5KwnORyssTZlRAp9TF3R+2b2meBBzV9lGMJXD873+Z2p0V7xhGC0LR3q/NdHN1XofhOV1FpG4TbyrlXDtH2WwX2XNqS2k2RbdyiBTw+SeUY2d4HeA4pFv2y3kiF2DClVexG34eXDYA5p/qPl0P6INxwniqXjfhzvxwdWsJKcFaeqOt6/gnXCZTOlhTLh/byM6MG03yUrTvR/S+1pEhdFTVIf+DdR3lONFuG9ZL+/EyQF+bzW4RiCRNIzIu5EoUPatDtigQUVKe7ftPEbDDolg==
  • Organization: X80 Heavy Industries

Abhishek Anand <abhishek.anand.iitg AT gmail.com> writes:

> I hear the word dune thrown around at every build problem. Is there some
> place where this Dune's Coq support is explained, especially what it
> guarantees?

Some pointers are:

-
https://coq.discourse.group/t/a-guide-to-building-your-coq-libraries-and-plugins-with-dune/20
-
https://coq.github.io/doc/master/refman/practical-tools/utilities.html?highlight=dune#building-a-coq-project-with-dune
- https://github.com/ejgallego/coq-plugin-template

and of course Dune's own manual. Documentation needs quite a bit of work
yet, as the support is still evolving. A good place to ask is in this
Zulip stream

https://coq.zulipchat.com/#narrow/stream/240550-Dune-devs.20.26.20users

Not sure what you mean by "guarantees", in terms of how dune works there
are some papers and docs, but no complete specification of the internals
[as it is mostly a declarative build language, so the language is
documented]

In terms of Dune's support for Coq, the implementation is quite
straightforward, basically using Dune's internal API to define the right
build rules, the rest is taken care of by Dune itself.

Among other things, Dune does provide sound incremental builds, a global
cache, etc...

Regarding guarantees w.r.t. Coq support, there is still quite a bit of
work to do before we consider Dune's Coq language "stable", but we are
hoping to push upstream some important remaining bits soon.

E.



Archive powered by MHonArc 2.6.19+.

Top of Page