-
Notifications
You must be signed in to change notification settings - Fork 143
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
Garagedoor opens #1369
Garagedoor opens #1369
Conversation
I just merged the dependencies; this is ready to merge if it passes. |
c9acefa
to
aaa65eb
Compare
|
7567ddd
to
3d9c3dd
Compare
8.14:
|
@JasonGross please consider whether it's worth getting this to build on 8.14 or whether we're likely enough to drop it anyway. My recollection of build discussion:
I'm willing to implement these if you expect you'd find the result acceptable. wdyt? |
I think we're going to drop 8.14, to get adequate Ltac2 support if nothing else, so you should just cherry-pick the first two commits of #1361 I think actually the Makefile already works without .git by falling back to |
@@ -1,23 +0,0 @@ | |||
((coq-mode . ((eval . (let* ((project-root (locate-dominating-file buffer-file-name "_CoqProject")) |
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.
Why delete this?
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's redundant as Makefile
-generated _CoqProject
already passes -Q
with these directories.
Hmmm, I guess we don't fallback to |
3c26bd8
to
2c0aef6
Compare
|
I don't remember inventing or using any hacks for Windows myself, but here's one by @JasonGross that might be relevant: Lines 438 to 442 in 64aa176
|
Yeah, looks possible that it worked before I just broke it when cleaning up the Makefile... |
74159f5
to
01de574
Compare
FORCE_BEDROCK2?= | ||
ifneq (,$(filter 8.11% 8.12% 8.13%,$(COQ_VERSION))) | ||
ifneq ($(SKIP_BEDROCK2),1) | ||
$(warning Coq version $(COQ_VERSION) is older than the minimum bedrock2 Coq version of 8.14) | ||
ifeq ($(FORCE_BEDROCK2),1) | ||
$(warning Building bedrock2 code anyway because FORCE_BEDROCK2=$(FORCE_BEDROCK2)) | ||
else | ||
ifeq ($(SKIP_BEDROCK2),) | ||
SKIP_BEDROCK2=1 | ||
else | ||
$(error Cannot build bedrock2! Pass FORCE_BEDROCK2=1 to override this error and build anyway, or pass SKIP_BEDROCK2=1 (instead of SKIP_BEDROCK2=$(SKIP_BEDROCK2)) to skip bedrock2) | ||
endif | ||
endif | ||
endif | ||
endif | ||
|
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.
Why remove this? It seems useful to be able to easily desync the bedrock2 minimal version from the fiat-crypto minimal version, no?
@@ -580,7 +542,7 @@ endif | |||
|
|||
Makefile.coq: Makefile _CoqProject | |||
$(SHOW)'COQ_MAKEFILE -f _CoqProject > $@' | |||
$(HIDE)$(COQBIN)coq_makefile -f _CoqProject INSTALLDEFAULTROOT = $(INSTALLDEFAULTROOT) -o Makefile-coq && cat Makefile-coq | sed 's/^printenv:/printenv::/g; s/^printenv:::/printenv::/g; s/^all:/all-old:/g; s/^validate:/validate-vo:/g; s/^.PHONY: validate/.PHONY: validate-vo/g' > $@ && rm -f Makefile-coq | |||
$(HIDE)$(COQBIN)coq_makefile -f _CoqProject INSTALLDEFAULTROOT = $(INSTALLDEFAULTROOT) -o $@ |
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.
Note that this will result in duplicated targets for Makefile.coq
. idk how bad this is
This is still an issue. I think the problem is that deps is for some reason not building this .vo file. (What's the reason to update the Makefile logic in the same PR as updating code?) |
01de574
to
f5e0ada
Compare
Mostly lifted from mit-plv#1369 Now that we require Coq >= 8.15, we no longer need to do version-specific nsatz-tactic hacking.
This leads to .Makefile-coq.d containing also dependencies on the files in submodules, so if a file in the rupicola or bedrock2 submodule is modified, fiat-crypto's make knows which files in fiat-crypto it has to recompile because of the submodule changes.
47e05f1
to
4c54515
Compare
Mostly lifted from #1369 Now that we require Coq >= 8.15, we no longer need to do version-specific nsatz-tactic hacking.
Mostly lifted from #1369 Now that we require Coq >= 8.15, we no longer need to do version-specific nsatz-tactic hacking.
No description provided.