Skip to content

feature(coq): coq_version variable#5913

Closed
rgrinberg wants to merge 1 commit intomainfrom
ps/rr/feature_coq___coq_version_variable
Closed

feature(coq): coq_version variable#5913
rgrinberg wants to merge 1 commit intomainfrom
ps/rr/feature_coq___coq_version_variable

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

@rgrinberg rgrinberg commented Jun 22, 2022

  • coq_version
  • coq_config macro
  • documentation
  • CHANGES
  • Tests

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

ps-id: 1D3DEAE1-5C8A-4736-B72F-84E30AB1E036
| Corrected_suffix
| Inline_tests
| Toolchain
| Coq_version
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could add a parameter to this to have a %{coq:var} form, WDYT?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ejgallego I am currently working on a coq-config macro that will subsume all of this

let impl bin =
let* _ = Build_system.build_file bin in
let+ line =
Memo.of_non_reproducible_fiber
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that even within a single run we will re-exec?

All Coq config is deterministic, just set a Coq configure time.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And guarantee to change only if the hash changes.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should only run once since it is memoed?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is memoed as non reproducible tho.

@Alizter
Copy link
Copy Markdown
Collaborator

Alizter commented Jun 26, 2022

FTR I am still working on the coq-config thing, but I will be unable to work on it much this week.

@Alizter Alizter mentioned this pull request Jul 13, 2022
2 tasks
@Alizter Alizter mentioned this pull request Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants