Codebase list coq / e7236048-92ea-4cdf-8ac0-eb3875e0aff8/main dune
e7236048-92ea-4cdf-8ac0-eb3875e0aff8/main

Tree @e7236048-92ea-4cdf-8ac0-eb3875e0aff8/main (Download .tar.gz)

dune @e7236048-92ea-4cdf-8ac0-eb3875e0aff8/mainraw · history · blame

; Default flags for all Coq libraries.
(env
 (dev     (flags :standard -rectypes -w -9-27+40+60 \ -short-paths))
 (release (flags :standard -rectypes)
          (ocamlopt_flags :standard -O3 -unbox-closures))
 (ireport (flags :standard -rectypes -w -9-27-40+60)
          (ocamlopt_flags :standard -O3 -unbox-closures -inlining-report)))

; Information about flags for release mode:
;
; In #9665 we tried to add (c_flags -O3) to the release setup,
; unfortunately the resulting VM seems to be slower [5% slower on
; fourcolor, thus we keep the default C flags for now, which seem to
; be -O2.

; The _ profile could help factoring the above, however it doesn't
; seem to work like we'd expect/like:
;
; (_ (flags :standard -rectypes)))

(install
 (section lib)
 (package coq)
 (files revision))

(rule
 (targets revision)
 (deps (:rev-script dev/tools/make_git_revision.sh))
 (action (with-stdout-to revision (bash %{rev-script}))))

; Use summary.log as the target
(alias
 (name runtest)
 (package coqide-server)
 (deps test-suite/summary.log))

; (dirs (:standard _build_ci))