Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to virtual libraries #25

Merged
merged 4 commits into from
May 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions META.checkseum.template

This file was deleted.

4 changes: 2 additions & 2 deletions checkseum.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build: [

depends: [
"ocaml" {>= "4.03.0"}
"dune" {build}
"dune" {build & >= "1.9.2"}
"optint"
"base-bytes"
"base-bigarray"
Expand All @@ -41,4 +41,4 @@ depopts: [
conflicts: [
"mirage-xen-posix" {< "3.1.0"}
"ocaml-freestanding" {< "0.4.1"}
]
]
3 changes: 2 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(lang dune 1.0)
(lang dune 1.7)
(using library_variants 0.1)
(name checkseum)
(version dev)
5 changes: 1 addition & 4 deletions src-c/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
(name checkseum_c)
(public_name checkseum.c)
(libraries bigarray optint checkseum.laolao)
(wrapped false)
(flags (:standard -no-keep-locs)))

(rule (copy# %{lib:checkseum:checkseum.mli} checkseum.mli))
(implements checkseum))
6 changes: 2 additions & 4 deletions src-ocaml/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
(name checkseum_ocaml)
(public_name checkseum.ocaml)
(libraries bigarray optint)
(wrapped false)
(flags (:standard -no-keep-locs)))

(rule (copy# %{lib:checkseum:checkseum.mli} checkseum.mli))
(implements checkseum)
(private_modules gin_adler32 gin_crc32 gin_crc32c))
6 changes: 3 additions & 3 deletions src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
(name checkseum)
(public_name checkseum)
(libraries optint)
(wrapped false)
(flags (:standard -no-keep-locs))
(modules_without_implementation checkseum))
(virtual_modules checkseum)
(default_implementation checkseum.c)
(wrapped false))