Dune port, split into two opam packages#7
Conversation
there are now Makefile targets for the coverage and benchmarks
|
thanks, why |
|
I just wanted to check the travis results. I've also updated the CHANGES file now, so it should be good for release. You can use |
Or just |
|
This should be good to go @hannesm. The only regression is (I think) the benchmarking trick of copying the other arp implementation from tcpip. But since we're planning on deleting that anyway, just benchmarking this library should be fine. |
|
ok, I tried this PR. Notes: In order to move forward, we need to fix (a) and (c). Is (b) and (d) intentional? I noticed that mirage/mirage-types/mirage-types-lwt/mirage-runtime also no longer have a |
needs ocaml/ocaml-ci-scripts#228 for multiple packages to be fixed properly
there is a proper fix for this being worked on in ocaml/dune#57 review comment from @hannesm in mirage#7 to not depend on bisect runtime unconditionally in production uses of arp
|
a) not sure why travis didn't pick up the bad package name... |
|
thanks @avsm - I'll have to take a second look at this tonight and will merge + transfer to mirage organisation. I think I'll mark the bisect_ppx dependency as |
|
sounds good. I dont think bisect is a with-test dependency, since it will break the build if the environment variable is set and a normal build is done. It shouldn't do any harm to leave as a build depend I think... |
|
I transferred ownership to mirage organisation, and pushed two more commits. plan to merge once CI passes |
CHANGES: * split opam package into two separate ones: a core `arp` package and the `arp-mirage` implementation for MirageOS that has more dependencies. This eliminates the use of depopts that was done previously to build the Mirage layer. (mirage/arp#7 @avsm) * port build system to Dune (mirage/arp#7 @avsm). The `make coverage` and `make bench` targets will do the job of the previous topkg targets for those. * minor fixes to ocamldoc comments to be compatible with odoc. * use mirage-random and mirage-random-test instead of a nocrypto dependency in tests and bench (mirage/arp#7 @hannesm) * import tests from mirage-tcpip (mirage/arp#8 @hannesm) * depend on the ethernet opam package, no longer provided by tcpip >3.7.0 (mirage/arp#9 @hannesm)
This also removes depopts and has a separate arp-mirage opam package.