From 1ce5eb8033d1a0516c1a7dd80c78c77a265e82b3 Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Mon, 23 Mar 2020 06:19:25 -0700 Subject: [PATCH] [sledge] Suppress warning on dune build_info compilation Summary: Previously building would spew: ``` Warning 58: no cmx file was found in path for module Build_info__Build_info_data, and its interface was not compiled with -opaque ``` This is from compilation of the generated `build_info_data.ml-gen`. It does not have an interface, so I don't how to resolve this other than disabling the warning. See also https://github.com/ocaml/dune/issues/3277 . Reviewed By: jvillard Differential Revision: D20589879 fbshipit-source-id: fcd86fb3b --- sledge/bin/dune | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sledge/bin/dune b/sledge/bin/dune index 8b74c6dea..b8ed12df3 100644 --- a/sledge/bin/dune +++ b/sledge/bin/dune @@ -11,6 +11,6 @@ llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo llvm.linker shexp.process yojson trace import sledge model) (flags - (:standard -open Import -open Sledge -open Model)) + (:standard -w -58 -open Import -open Sledge -open Model)) (preprocess (pps ppx_sledge)))