Closed mtzguido closed 9 months ago
This may be a stale .depend file, could you run find . -name '*.dep*' -delete
and retry?
That was my first instinct as well, but it didn't help. FWIW I get the error when running:
make verify -C share/steel/examples/pulse/lib/
Ah, thanks, indeed I broke that rule. This fixes it, will get it to main:
commit e167077f740b03377bc6aff09eae7f1703cd663f (HEAD -> main)
Author: Guido Martínez <mtzguido@gmail.com>
Date: Tue Feb 6 13:01:20 2024 -0800
pulse/lib/Makefile: fix include path
diff --git a/share/steel/examples/pulse/lib/Makefile b/share/steel/examples/pulse/lib/Makefile
index 62aa01b2..a1f8556f 100644
--- a/share/steel/examples/pulse/lib/Makefile
+++ b/share/steel/examples/pulse/lib/Makefile
@@ -1,5 +1,6 @@
STEEL_HOME=../../../../..
FSTAR_FILES := $(wildcard *.fst *.fsti)
+INCLUDE_PATHS=pledge
include ../Makefile.pulse.common
%.fst-in,%.fsti-in:
Is there actually a reason we don't build that target by default?
We build the parent directory (share/steel/examples/pulse) which generates a (bigger) .depend file, and checks all the files under lib/
too. This makefile is not hierarchical, it's just separate from this one, so if we were to also make this target we would build everything under lib
twice. I guess this target is more of a convenience feature.. ideally it would reuse the dependency analysis of the parent but just restrict to building files under lib
.
I now get an error when building pulse: