samoht / assemblage

A collection of tools to manage the configuration of OCaml projects
54 stars 4 forks source link

Distinguish about native toolchain and native code compilation #87

Closed dbuenzli closed 10 years ago

dbuenzli commented 10 years ago

We are currently conflating everything which is wrong (e.g. in a cross-compilation setting). opam has two variables for that ocaml-native and ocaml-toolchain-opt. We should add a Features.native_toolchain and conditionalize the cmdline tool on the latter not on the former.