Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make compilation work for coq <= 8.10 #102

Merged
merged 1 commit into from
Jul 10, 2021
Merged

make compilation work for coq <= 8.10 #102

merged 1 commit into from
Jul 10, 2021

Conversation

larsr
Copy link
Contributor

@larsr larsr commented Jul 9, 2021

On older coqc versions, lia will go into an infinite loop here
if there is confusing stuff in the context. So we clean up
the context a little in order to get backwards compatibility.

With this patch, different coq versions can use the same
version of the math-classes library.
It would for instance make obsolete this suggested patch to the nix-file
NixOS/nixpkgs@fdfbe86

On older coqc versions, lia will go into an infinite loop here
if there is confusing stuff in the context.  So we clean up
the context a little in order to get backwards compatibility.
@larsr larsr mentioned this pull request Jul 9, 2021
13 tasks
@spitters spitters merged commit 767cab7 into coq-community:master Jul 10, 2021
@larsr larsr deleted the backwards-compatible branch July 10, 2021 12:00
larsr referenced this pull request in NixOS/nixpkgs Jul 10, 2021
coqc versions 8.6 - 8.10 seem unable to compile theory/monioid_normalizaition.v
without going into an infinite memory-eating loop.
@Zimmi48
Copy link
Member

Zimmi48 commented Jul 10, 2021

Should we restore compatibility testing with older versions?

@spitters
Copy link
Collaborator

Yes, why not?

@Zimmi48
Copy link
Member

Zimmi48 commented Jul 10, 2021

Yeah, I also think it would be worthwhile, at least until we need to drop compatibility with old versions again. I will take care of this.

See #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants