Skip to content

Commit

Permalink
Merge pull request #3332 from SkySkimmer/stdlib-makefile
Browse files Browse the repository at this point in the history
Use rocq makefile for stdlib.dev
  • Loading branch information
proux01 authored Feb 5, 2025
2 parents 976affd + e36a4ac commit 1cde0a5
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions core-dev/packages/rocq-stdlib/rocq-stdlib.dev/opam
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,14 @@ depopts: ["coq-native"]
dev-repo: "git+https://github.com/coq/stdlib.git"
build: [
["dune" "subst"] {dev}
[
"dev/with-rocq-wrap.sh"
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
[ "find" "theories" "-name" "_*" "-prune" "-exec" "rm" "-rf" "{}" "+" ]
# without rocq-wrap dune will complain about missing coqc even though it shouldn't be needed
[ "dev/with-rocq-wrap.sh" "dune" "build" "--root" "." "theories/All.v" ]
[ "cp" "_build/default/theories/All.v" "theories/All.v" ]
[ "find" "theories" "-name" "*.v" "-fprint" "_CoqProject" ]
[ "sh" "-c" "echo '-Q theories Stdlib' >> _CoqProject" ]
[ "rocq" "makefile" "-f" "_CoqProject" "-o" "Makefile" ]
[ make "-j%{jobs}%" ]
]

url {
Expand Down

0 comments on commit 1cde0a5

Please sign in to comment.