Skip to content
Snippets Groups Projects

Draft: dune build scripts

Closed Paolo G. Giarrusso requested to merge Blaisorblade/stdpp:basic-dune into master
5 unresolved threads

This is part of iris#471 (closed).

Instructions are needed, but with dune 3.4 this already supports dune build, dune coq top.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
theories/dune 0 → 100644
1 (include_subdirs qualified)
  • theories/dune 0 → 100644
    1 (include_subdirs qualified)
    2 (coq.theory
    3 (name stdpp)
    4 (package coq-stdpp)
  • Ralf Jung
    Ralf Jung @jung started a thread on the diff
  • dune-project 0 → 100644
    1 (lang dune 3.3)
    2 ; Basic configuration for the Coq build tool "dune".
  • mentioned in merge request iris!820 (closed)

  • Ralf Jung
    Ralf Jung @jung started a thread on the diff
  • dune-project 0 → 100644
    1 (lang dune 3.3)
    2 ; Basic configuration for the Coq build tool "dune".
    3 ; This file has to stay in this directory to mark it as a dune project.
    4 (using coq 0.4)
    5 (name coq-stdpp)
  • From what I understand, the way we set up stdpp_unstable is a problem for dune

    FWIW, I think dune prefers/demands disjoint logical paths

    so the fact that stdpp.unstable is nested inside stdpp makes dune unhappy.

  • theories/dune 0 → 100644
    1 (include_subdirs qualified)
    2 (coq.theory
    3 (name stdpp)
    4 (package coq-stdpp)
    5
    6 (flags (:standard
    7 ;'Global Hint Rewrite' not supported before Coq 8.14.
    8 -w -deprecated-hint-rewrite-without-locality
    9 ; Fixing this one requires Coq 8.15.
    10 -w -deprecated-typeclasses-transparency-without-locality
    11 ; Fixing this one requires Coq 8.13.
    12 -w -deprecated-syntactic-definition
  • I think to make progress on this we should have a dune meeting where you (@Blaisorblade and @lepigre I guess?) explain to us what this is about and why we should have in the repo and what we should be aware of.

    Basically what I am concerned about is having files in the repo that neither @robbertkrebbers nor me understand at all. I am also concerned that there is no CI that checks that these files make any sense, so things I do in the repo may break dune in ways I cannot predict. Remember that Dune files are basically opaque binary blobs to us, they are not very self-explaining to people that never have and do not plan to use dune themselves. We're fine with having other people maintain this but then (a) that needs to be clear and (b) I think we need CI to at least know when we have to poke you guys about the fact that something is breaking dune.

  • Paolo G. Giarrusso added 108 commits

    added 108 commits

    Compare with previous version

  • added 16 commits

    Compare with previous version

  • Closing for now.

    We might want to follow-up on this and iris!820 (closed), but I'm not sure keeping this MR open for now helps.

  • Please register or sign in to reply
    Loading