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 (55 lines) | stat: -rw-r--r-- 1,370 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
54
55
(install
 (section bin)
 (package coq-core)
 (files (coqtop_bin.exe as coqtop)))

(executable
 (name coqtop_bin)
 (public_name coqtop.opt)
 (package coq-core)
 (modules coqtop_bin)
 (libraries coq-core.toplevel findlib.dynload))

(executable
 (name coqtop_byte_bin)
 (public_name coqtop.byte)
 (package coq-core)
 (modules coqtop_byte_bin)
 (libraries compiler-libs.toplevel coq-core.toplevel findlib.top)
 (modes byte))

(executable
 (name coqc_bin)
 (public_name coqc)
 (package coq-core)
 (modules coqc_bin)
 (libraries coq-core.toplevel findlib.dynload)
 (modes native byte))
 ; Adding -ccopt -flto to links options could be interesting, however,
 ; it doesn't work on Windows

(install
 (section bin)
 (package coq-core)
 (files (coqc_bin.bc as coqc.byte)))

(executable
 (name coqnative_bin)
 (public_name coqnative)
 (package coq-core)
 (modules coqnative_bin)
 (libraries coq-core.kernel)
 (link_flags -linkall))

; Workers
(executables
 (names coqqueryworker_bin coqtacticworker_bin coqproofworker_bin)
 (public_names coqqueryworker.opt coqtacticworker.opt coqproofworker.opt)
 (package coq-core)
 (modules :standard \ coqtop_byte_bin coqtop_bin coqc_bin coqnative_bin)
 (libraries coq-core.toplevel findlib.dynload))

; Workers installed targets
(alias
 (name topworkers)
 (deps %{bin:coqqueryworker.opt} %{bin:coqtacticworker.opt} %{bin:coqproofworker.opt}))