File: dune

package info (click to toggle)
coq 8.16.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 40,596 kB
  • sloc: ml: 219,376; sh: 3,545; python: 3,231; ansic: 2,529; makefile: 767; lisp: 279; javascript: 63; xml: 24; sed: 2
file content (53 lines) | stat: -rw-r--r-- 1,373 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
; Default flags for all Coq libraries.
(env
 (dev     (flags :standard -rectypes -w -9-27@40@60-70 \ -short-paths))
 (release (flags :standard -rectypes)
          (ocamlopt_flags :standard -O3 -unbox-closures))
 (ireport (flags :standard -rectypes -w -9-27-40+60-70)
          (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)))

(alias
 (name default)
 (deps coq-core.install coq-stdlib.install coqide-server.install coqide.install))

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

(rule
 (targets revision)
 (mode fallback)
 (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))

; For make compat
(alias
 (name all-src)
 (deps
  (source_tree user-contrib)
  (source_tree theories)
  (source_tree plugins)))

; (dirs (:standard _build_ci))

(documentation
 (package coq))