Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] how to use coqchk in a stand-alone folder?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] how to use coqchk in a stand-alone folder?


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] how to use coqchk in a stand-alone folder?
  • Date: Tue, 17 May 2016 09:08:29 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qg0-f52.google.com
  • Ironport-phdr: 9a23:ENCMRhDSYCwFcErDcoVNUyQJP3N1i/DPJgcQr6AfoPdwSP74rsbcNUDSrc9gkEXOFd2CrakU2qyM4+u9BCQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTmkbrisMCOKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxeL19RrhFBhwnNXo07Yvlr0rtVwyKs1kbVGwKkhNOSyzI7Q/3WIu55in9sOt+1S2XMOX5SLk1XXKp6KI9G0ygszsOKzNsqDKfscd3lq8O+B8=

Thanks, Jean-Cristophe! I should look more closely at that makefile.

It turns out there is a bug in creating this coqchk rule, as I have -impredicative-set in all of the coqc rules - it is in OTHERFLAGS - but that is not used in the coqchk rule.

-- Jonathan

On 05/17/2016 03:55 AM, Jean-Christophe Léchenet wrote:
Hi Jonathan,

If the Makefile is produced using coq_makefile, there must be a target "validate" that runs coqchk on all the files.

Hope this helps,

Jean-Christophe

Le 13/05/2016 21:12, Jonathan Leivent a écrit :
I am having difficulty getting coqchk to find all .vo files in a folder. The folder has its own _Coq_project file and generated makefile. The folder is stand-alone - it doesn't produce a library used outside of itself, but produces many .vo files used within itself. If I run coqchk in that folder with the args present in _Coq_project, it apparently finds nothing to do, as shown by:

Ordered list:

Modules were successfully checked

CONTEXT SUMMARY
===============

* Theory: Set is impredicative
Theory: Stratified type hierarchy

* Axioms: <none>

There are .vo modules in that folder, and some use axioms. So I know coqchk isn't doing anything. However, because the folder is stand-alone, there really isn't a library path to give coqchk. Is this just a case where coqchk can't be used?

-- Jonathan







Archive powered by MHonArc 2.6.18.

Top of Page