Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Expose flags via files to help Dune and support OCaml 4.08

Compare
Choose a tag to compare
@avsm avsm released this 19 Feb 23:50
· 14 commits to master since this release
  • Add support for OCaml 4.08 (#206 by @anmonteiro)
  • libxenasmrun.a is symlinked in the ocaml directory in order to be able to use ocamlopt's -runtime-variant option.
  • Expose flags through files as well as pkg-config (#205 by @TheLortex). Instead of pkg-config, one can use the following files to get compilation flags:
    • mirage-xen-ocaml/libs
    • mirage-xen-ocaml/cflags
    • mirage-xen-posix/minios-cflags
    • mirage-xen-posix/minios-libs
    • mirage-xen-posix/posix-cflags
    • mirage-xen-posix/posix-libs
      With dune this allows us to write %{lib:mirage-xen-posix:posix-libs} to get the flags instead of having a script invoking pkg-config mirage-xen-posix --libs.