-
Notifications
You must be signed in to change notification settings - Fork 413
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
feature(coq): coq_version variable #5913
Conversation
Signed-off-by: Rudi Grinberg <me@rgrinberg.com> ps-id: 1D3DEAE1-5C8A-4736-B72F-84E30AB1E036
@@ -46,6 +46,7 @@ module Var = struct | |||
| Corrected_suffix | |||
| Inline_tests | |||
| Toolchain | |||
| Coq_version |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
FTR I am still working on the coq-config thing, but I will be unable to work on it much this week. |
coq_version
coq_config
macro