aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPierre Roux2019-11-10 16:12:04 +0100
committerPierre Roux2019-11-11 17:43:23 +0100
commit09b39c339dd3fe21a0808097b5f7d1ab8cb47031 (patch)
tree40eb1aa01c8ffbc4531c5a4227c07d50b8051bdb /kernel
parent69b91851ed5d18f1ca34ef2597f0cf342c10a124 (diff)
Have only one dune rule calling configure
Diffstat (limited to 'kernel')
-rw-r--r--kernel/byterun/dune14
1 files changed, 1 insertions, 13 deletions
diff --git a/kernel/byterun/dune b/kernel/byterun/dune
index d0145176ea..8d8374a603 100644
--- a/kernel/byterun/dune
+++ b/kernel/byterun/dune
@@ -1,20 +1,8 @@
-; Dune doesn't use configure's output, but it is still necessary for
-; some Coq files to work; will be fixed in the future.
-(rule
- (targets dune.c_flags)
- (mode fallback)
- (deps %{project_root}/configure.ml %{project_root}/dev/ocamldebug-coq.run (env_var COQ_CONFIGURE_PREFIX))
- (action (chdir %{project_root} (run %{ocaml} configure.ml -no-ask -native-compiler no))))
-
-(env
- (dev (c_flags (:include dune.c_flags)))
- (release (c_flags (:include dune.c_flags)))
- (ireport (c_flags (:include dune.c_flags))))
-
(library
(name byterun)
(synopsis "Coq's Kernel Abstract Reduction Machine [C implementation]")
(public_name coq.vm)
+ (c_flags (:include %{project_root}/config/dune.c_flags))
(c_names coq_fix_code coq_memory coq_values coq_interp))
(rule