File: dune

package info (click to toggle)
coq 9.1.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 35,964 kB
  • sloc: ml: 239,908; sh: 4,355; python: 2,985; ansic: 2,644; makefile: 874; lisp: 171; javascript: 63; xml: 24; sed: 2
file content (39 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download
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
(library
 (name config)
 (synopsis "Rocq Configuration Variables")
 (public_name rocq-runtime.config)
 (modules coq_config)
 (wrapped false))

(deprecated_library_name
  (old_public_name coq-core.config)
  (new_public_name rocq-runtime.config))

(library
 (name byte_config)
 (synopsis "Rocq Configuration Variables (for bytecode only)")
 (public_name rocq-runtime.config.byte)
 (modules coq_byte_config)
 (wrapped false)
 (libraries compiler-libs.toplevel)
 (modes byte))

(deprecated_library_name
  (old_public_name coq-core.config.byte)
  (new_public_name rocq-runtime.config.byte))

(executable (name list_plugins) (modules list_plugins))
(rule (targets plugin_list)
  (deps (source_tree %{project_root}/plugins))
  (action (with-stdout-to %{targets} (chdir %{project_root} (run config/list_plugins.exe)))))

; add "-native-compiler yes" to the arguments of configure to enable native
(rule
 (targets coq_config.ml coq_byte_config.ml coq_config.py dune.c_flags)
 (mode fallback)
 (deps
   %{project_root}/dev/ocamldebug-coq.run
   %{project_root}/dev/header.c
   ; Needed to generate include lists for coq_makefile
   plugin_list)
 (action (chdir %{project_root} (run %{project_root}/tools/configure/configure.exe -quiet -relocatable))))