obazl / rules_ocaml

A Bazel Language Support Package for OCaml
https://obazl.github.io/docs_obazl
Apache License 2.0
32 stars 7 forks source link

OCAMLFIND_IGNORE #29

Open mobileink opened 3 years ago

mobileink commented 3 years ago

Evidently warnings like this may not be uncommon:

INFO: From native compiling ocaml_module: tezos//src/lib_store:store:
findlib: [WARNING] Interface bls12_381.cmi occurs in several directories: /Users/gar/.opam/4.10/lib/bls12-381-unix, /Users/gar/.opam/4.10/lib/bls12-381

The rules currently include some hard-coded OCAMLFIND_IGNORE directives that eliminate such errors for a few that showed up in Mina development.

Task: generalize this, so projects can easily parameterize.