rules_ocaml icon indicating copy to clipboard operation
rules_ocaml copied to clipboard

configurable defaults: deps and cc_deps - where needed?

Open mobileink opened this issue 4 years ago • 0 comments

Some rules have global configurable default settings for deps and cc_deps. These can be used to do things like adding jemalloc or bisect_ppx everywhere.

For example, to add jemalloc to all executables: --@ocaml//executable:cc_deps=@ocaml_jemalloc//src:libjemalloc

Design issue: which rules need this capability? Specifically, are they needed for ocaml_interface?

mobileink avatar Jan 04 '21 13:01 mobileink