Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Zarith - compiling Coq 8.13 on Debian stable

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Zarith - compiling Coq 8.13 on Debian stable


Chronological Thread 
  • From: Xavier Leroy <Xavier.Leroy AT inria.fr>
  • To: coq-club AT inria.fr
  • Cc: Benedikt Ahrens <benedikt.ahrens AT gmail.com>
  • Subject: Re: [Coq-Club] Zarith - compiling Coq 8.13 on Debian stable
  • Date: Thu, 25 Feb 2021 19:00:33 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=Xavier.Leroy AT inria.fr; spf=Pass smtp.mailfrom=xavier.leroy AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm1-f49.google.com
  • Ironport-phdr: 9a23:NtWm6RWDjXPLrf/BLonYq8bMpoXV8LGtZVwlr6E/grcLSJyIuqrYbRSFt8tkgFKBZ4jH8fUM07OQ7/mxHzxQqsjc+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAiyoAnLtcQbgoRuJ6cxxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipcCY2+coQPFfIMMulWr4b/p1UAoxiwCxSyCuzz0TJHnGP60Lcg3ug9DQ3L3gotFM8OvnTOq9X1Mb8fXuGvw6nWzDXMcelW0ir75ofWaBAhpvGNVq93fMXQ00YvCQLFgUuKqYD/OT2ayP4Ns2+b7ud7VOKvjXQnqwBrrTS1yMcskJDEi4QIwV/L6St32pw6JcGkSEFle96kFoNduiKZOoZ4Rs4uXn9ltig1xLMGuZC3YCgExZAmyhPQZPKKc4uF7wzjWuqPPzp1h2xpdr27ihi880WtzuLyW8qo3VtMsyFLnN7MtnUX2BzS7MiKUudy/kCn2TaB1gDT5fxEIVoqmqbBLp4hxqY8lpUSsUTfHi/2hV75gLWKeUUj/+il7fnsbLb+ppKEKYN4lgXzPr4tl8G/G+g0LxYCUmuB9emz0LDu+1DyTq9Qgf0siKbZtYjXJcQFqa69BA9YyoMj5Ay+DzeiydgZk3wHIE9cdBKJgIXkP0vCIP//Dfe4jFSslClky+raMb3mB5XBNnnDkLH/crZh80NQ1hY/wNRF659XCrwNOu//VlHyudDCARI0NxS4w+P9B9V80oMeV3iPAqicMK7Kvl6H/PwvI+iSa48Pojr9L+Yq5+TpjX45glIdcqyp0oEWaHC8BPhpP0KZYX/0jtcbDWgKphY+TPDtiFCaTTFTYG+yU7sg6TE/FYKpFpzORputgbyExCe0BIdaZmFAClCWEHfnbZ+IW/kWaHHaHsg0mTsdELOlVoUJ1Be0tQa8xaA0APDT/3govIzi2cI9w+DJkgB6oQx9EcWQySepQntzj0sJQSU31eZxuxoumR+4zaFkjqkARpRo7PRTX1J/bMaElr0oO5XJQgvEO+yxZhOjS9SiDys2S4tokdALakd5Xd6li0Kahnb4M/ouj7WOQacM3OfExXGof5R8zWzH3e8vlQt+G5YdBSidnqd6sjPrKcvJnkGezfv4cK0d2GvS8T7Gwzbf+k5fVwF0XOPOWnVNPkY=



On Thu, Feb 25, 2021 at 4:41 PM Pierre Courtieu <Pierre.Courtieu AT cnam.fr> wrote:
Hi, I tend to do:

opam init 
opam install coq
opam remove coq

This leaves my system with everything needed to compile coq. And indeed zarith 1.11 is installed with opam.

You can save much compilation time:

opam install --deps-only coq

should install only the packages needed  to install Coq, but not Coq itself.

Concerning the original question about minimal ZArith version: I cannot swear ZArith 1.7 is good enough for Coq's purposes, even though the changes between 1.7 and 1.10 seem minor.  If you look at the Github history of Coq's configure.ml script, you'll see that @ejgallego is adamant that 1.10 is required.

- Xavier Leroy



Hope this helps.
Pierre

Le jeu. 25 févr. 2021 à 15:34, Michael Soegtrop <MSoegtrop AT yahoo.de> a écrit :
Hi Benedikt,

did you give the Coq Platform setup scripts a try? For the 8.13.1
version and Linux the instructions are here:

https://github.com/coq/platform/blob/2021.02/README_Linux.md

There is a snap package and an opam based fully automated "compile from
sources" method - the scripts will also setup opam in case it is not yet
there and install system prerequisites as needed.

The scripts did work last time I tried it on Debian (it compiles ZArith
from sources using opam).

Best regards,

Michael



Archive powered by MHonArc 2.6.19+.

Top of Page