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

Delete bindings #152

Merged
merged 2 commits into from
Sep 15, 2023
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
6 changes: 3 additions & 3 deletions bench/densld.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let d =
Arg.(value & flag & info ["d"] ~doc)

let cmd =
( Term.(const inflate $ file $ d)
, Term.info "bench" ~doc:"Run benchmarks for ns implementation" )
let info = Cmd.info "bench" ~doc:"Run benchmarks for ns implementation" in
Cmd.v info Term.(const inflate $ file $ d)

let () = Term.(exit @@ eval cmd)
let () = Cmd.(exit @@ eval cmd)
10 changes: 4 additions & 6 deletions bench/dune
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
decompress.de
decompress.zl
cmdliner
yojson
ppx_deriving_yojson))
ppx_deriving_yojson.runtime
yojson))

(executable
(name run)
Expand Down Expand Up @@ -46,13 +46,12 @@

(library
(name lz_landmarks)
(optional)
(modules lz_landmarks)
(enabled_if
(= %{profile} benchmark))
(libraries checkseum optint landmarks de)
(preprocess
(pps landmarks.ppx --auto)))
(pps landmarks-ppx --auto)))

(rule
(copy ../lib/lz.ml lz_landmarks.ml))
Expand All @@ -69,15 +68,14 @@

(library
(name de_landmarks)
(optional)
(modules de_landmarks)
(enabled_if
(= %{profile} benchmark))
(libraries checkseum optint landmarks de)
(flags
(:standard -w -55))
(preprocess
(pps landmarks.ppx --auto)))
(pps landmarks-ppx --auto)))

(rule
(copy ../lib/de.ml de_landmarks.ml))
Expand Down
3 changes: 0 additions & 3 deletions bindings/generator/dune

This file was deleted.

33 changes: 0 additions & 33 deletions bindings/generator/generate.ml

This file was deleted.

1 change: 0 additions & 1 deletion bindings/stubs/apply_bindings.ml

This file was deleted.

1 change: 0 additions & 1 deletion bindings/stubs/decompress.ml

This file was deleted.

31 changes: 0 additions & 31 deletions bindings/stubs/dune

This file was deleted.

82 changes: 0 additions & 82 deletions bindings/stubs/gen_decompress_bindings.ml

This file was deleted.

9 changes: 0 additions & 9 deletions bindings/stubs/init.c

This file was deleted.

1 change: 0 additions & 1 deletion decompress.opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ depends: [
"checkseum" {>= "0.2.0"}
"bigstringaf" {with-test}
"alcotest" {with-test}
"ctypes" {with-test & >= "0.18.0"}
"fmt" {with-test & >= "0.8.7"}
"camlzip" {>= "1.10" & with-test}
"base64" {>= "3.0.0" & with-test}
Expand Down
30 changes: 0 additions & 30 deletions test/bin/bindings.t

This file was deleted.

13 changes: 1 addition & 12 deletions test/bin/dune
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
(cram
(package decompress)
(deps
../corpus/news
../corpus/bib
../../bindings/stubs/libdecompress.a
../../bindings/stubs/decompress.h
zpipe.c
%{bin:decompress}
native_c_libraries.exe))

(executable
(name native_c_libraries)
(libraries rresult bos astring))
(deps ../corpus/news ../corpus/bib zpipe.c %{bin:decompress}))
32 changes: 0 additions & 32 deletions test/bin/native_c_libraries.ml

This file was deleted.