mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Ignore inlining warnings
Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
This commit is contained in:
parent
c7c33b9a56
commit
387caf8df7
@ -1,6 +1,6 @@
|
|||||||
FROM ocaml/opam@sha256:a469435632d0cacbceab799d7e48201b727d025fa1805cbbe210d94233b251ad
|
FROM ocaml/opam@sha256:a469435632d0cacbceab799d7e48201b727d025fa1805cbbe210d94233b251ad
|
||||||
#FROM ocaml/opam:debian-9_ocaml-4.04.0
|
#FROM ocaml/opam:debian-9_ocaml-4.04.0
|
||||||
RUN opam pin add -yn capnp 'https://github.com/talex5/capnp-ocaml.git#interfaces'
|
RUN opam pin add -yn capnp 'https://github.com/talex5/capnp-ocaml.git#demo1'
|
||||||
RUN opam pin add -yn capnp-rpc 'https://github.com/talex5/capnp-rpc.git#demo1'
|
RUN opam pin add -yn capnp-rpc 'https://github.com/talex5/capnp-rpc.git#demo1'
|
||||||
RUN opam pin add -yn capnp-rpc-lwt 'https://github.com/talex5/capnp-rpc.git#demo1'
|
RUN opam pin add -yn capnp-rpc-lwt 'https://github.com/talex5/capnp-rpc.git#demo1'
|
||||||
RUN opam depext -i -y jbuilder lwt cohttp astring tls capnp camlzip alcotest cohttp
|
RUN opam depext -i -y jbuilder lwt cohttp astring tls capnp camlzip alcotest cohttp
|
||||||
|
@ -7,19 +7,19 @@ let extra_flags =
|
|||||||
| x -> failwith (Printf.sprintf "JBUILD_STATIC: unknown value %S" x)
|
| x -> failwith (Printf.sprintf "JBUILD_STATIC: unknown value %S" x)
|
||||||
| exception Not_found -> ""
|
| exception Not_found -> ""
|
||||||
|
|
||||||
let sexp = Printf.sprintf "
|
let sexp = Printf.sprintf {|
|
||||||
(jbuild_version 1) \
|
(jbuild_version 1)
|
||||||
\
|
|
||||||
(executables ( \
|
(executables (
|
||||||
(names (main store_main http_main tls_main)) \
|
(names (main store_main http_main tls_main))
|
||||||
(libraries (capnp-rpc-lwt cohttp.lwt irmin-unix cmdliner fmt.tty)) \
|
(libraries (capnp-rpc-lwt cohttp.lwt irmin-unix cmdliner fmt.tty))
|
||||||
(flags (:standard %s)) \
|
(flags (:standard -w -53-55 %s))
|
||||||
)) \
|
))
|
||||||
(rule \
|
(rule
|
||||||
((targets (proto.ml proto.mli)) \
|
((targets (proto.ml proto.mli))
|
||||||
(deps (proto.capnp)) \
|
(deps (proto.capnp))
|
||||||
(action (run capnpc -o ocaml ${<})))) \
|
(action (run capnpc -o ocaml ${<}))))
|
||||||
" extra_flags
|
|} extra_flags
|
||||||
|
|
||||||
let () =
|
let () =
|
||||||
send sexp
|
send sexp
|
||||||
|
Loading…
Reference in New Issue
Block a user