build-list.py: implicitly add _RocqProject targets corresponding to each file in the list - #180
simon-skylabs wants to merge 1 commit into
Conversation
… each file in the list
CI summary (Details)Active Repos
|
| Repo | Job Branch | Job Commit |
|---|---|---|
| fmdeps/BRiCk/ | main | e819c36 |
| fmdeps/auto/ | main | 4712f6c |
| fmdeps/auto-docs/ | main | 6490c5f |
| bluerock/NOVA/ | skylabs-proof | f3533d2 |
| bluerock/bhv/ | skylabs-main | e37df58 |
| fmdeps/brick-libcpp/ | main | be863c8 |
| fmdeps/ci/ | main | e1ec839 |
| vendored/elpi/ | skylabs-master | c0b9653 |
| vendored/flocq/ | skylabs-master | cf9cc84 |
| vendored/rocq/ | skylabs-master | bef7df5 |
| fmdeps/rocq-agent-toolkit/ | main | 227bb83 |
| vendored/rocq-elpi/ | skylabs-master | 7dee592 |
| vendored/rocq-equations/ | skylabs-main | 9cf8471 |
| vendored/rocq-iris/ | skylabs-master | a7af9f7 |
| vendored/rocq-lsp/ | skylabs-main | 64ef78a |
| vendored/rocq-stdlib/ | skylabs-master | 00897b3 |
| vendored/rocq-stdpp/ | skylabs-master | 0c5e505 |
| fmdeps/skylabs-fm/ | main | 5c3d0ab |
| vendored/vsrocq/ | skylabs-main | ee79e7a |
No Changes in Warnings or Errors
| Before | New | Fixed | After | |
|---|---|---|---|---|
| Errors | 0 | 0 | 0 | 0 |
| Warnings | 91 | 0 | 0 | 91 |
Performance
| Relative | Master | MR | Change | Filename |
|---|---|---|---|---|
| -0.00% | 198166.7 | 198166.7 | -0.0 | total |
| -0.00% | 53108.6 | 53108.6 | -0.0 | ├ translation units |
| +0.00% | 145058.2 | 145058.2 | +0.0 | └ proofs and tests |
Full Results
| Relative | Master | MR | Change | Filename |
|---|---|---|---|---|
| -0.00% | 198166.7 | 198166.7 | -0.0 | total |
| -0.00% | 53108.6 | 53108.6 | -0.0 | ├ translation units |
| +0.00% | 145058.2 | 145058.2 | +0.0 | └ proofs and tests |
|
What does that _RocqProject target do? |
I assume it builds the
I don't think I understand your reply. Adding explicit |
|
I think we can solve this problem in a much simpler way: diff --git a/dune b/dune
index c12240a..2edf95b 100644
--- a/dune
+++ b/dune
@@ -8,3 +8,8 @@
(deps (:yml (glob_files *.yml)) (:script build-list.py))
(action
(system "./%{script} -o %{target} %{yml} --relative-to='../../dyn' --root=../.."))))
+
+(rule
+ (alias rocqproject)
+ (deps (glob_files_rec _RocqProject))
+ (action (progn)))With this, This is not perfect though, since the alias only works from the workspace root. But at least it can be part of what happens in |
|
Ah, I thought |
|
Let me rephrase: the PR has no testcases, I don't understand the PR code or description. Your comment helps!
The current PR text gives instead the implementation strategy. |
Not sure I'm following this discussion, but if the generation of a |
|
I see. I was probably thinking of |
|
Then, maybe Or we just do nothing since _RocqProject files don't change that much, and close this PR? |
This changes
build-list.pyso that, when creating adune.incfile, for each target it adds to the file, it looks up all thedunefiles that dominates that target and for eachdunefile that specifies a Rocq project, add a corresponding_RocqProjecttarget todune.inc.